CFD Online URL
[Sponsors]
Home > Forums > CFX

Custom field function in CFX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 9, 2013, 08:03
Default Custom field function in CFX
  #1
New Member
 
praveej
Join Date: Jul 2012
Posts: 5
Rep Power: 4
Hunk@cfd is on a distinguished road
Hello..I need to calculate the swirl ratio for incylinder motions in CFX. Can anyone help me how to use custom field function in CFX. or Is there any option in CFX like that in FLUENT..Need to submit the project. Kindly help.
Hunk@cfd is offline   Reply With Quote

Old   August 9, 2013, 08:22
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,862
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You can easily write this in CEL, so no need for anything fancy. Use functions like volumeInt() to integrate it over the domain.
ghorrocks is offline   Reply With Quote

Old   August 13, 2013, 17:40
Default swirl ratio
  #3
New Member
 
praveej
Join Date: Jul 2012
Posts: 5
Rep Power: 4
Hunk@cfd is on a distinguished road
But the formulae for swirl ratio is attached with the post. How do I convert this to CEL format..?..Please help..
Attached Images
File Type: jpg swirl.JPG (11.0 KB, 11 views)
Hunk@cfd is offline   Reply With Quote

Old   August 13, 2013, 20:26
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,862
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Your equation for swirl does not look right. If dA means the area integral then it is definitely wrong - swirl is a volume integral thing.

For a correct definition of swirl ratio look at my thesis: http://hdl.handle.net/2100/248, page 74 I think.

This can be implemented as volumeInt(density*r*U)@domain where r and U are displacements and velocities in a cylindrical coord frame around the central axis. You can either calculate these yourself or use a cylidrical frame of reference to get these. I will leave the denominator as an exercise for the reader .
ghorrocks is offline   Reply With Quote

Old   August 14, 2013, 15:55
Default swirl ratio
  #5
New Member
 
praveej
Join Date: Jul 2012
Posts: 5
Rep Power: 4
Hunk@cfd is on a distinguished road
If I want to analyse, say the inlet valve is at 2.5mm from TDC, and I want the swirl flow cross sectional view..then area is the required parameter right..? why should I go for volume integral...

Please check the journal prescribed here..

Proceedings of COBEM 2009 20th International Congress of Mechanical Engineering
Copyright © 2009 by ABCM November 15-20, 2009, Gramado, RS, Brazil
DESIGN OF AN INLET TRACK OF A SMALL I. C. ENGINE FOR SWIRL
ENHANCEMENT
Jorge MARTINS, jmartins@dem.uminho.pt
Senhorinha TEIXEIRA, st@dps.uminho.pt
Stijn COENE, stijnxcoene@hotmail.com
Universidade do Minho, Escola de Engenharia, Guimar„es, Portugal
Attached Images
File Type: jpg swirl.jpg (50.3 KB, 8 views)
Hunk@cfd is offline   Reply With Quote

Old   August 14, 2013, 18:50
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,862
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
First of all - there is no universal definition of swirl. People use different definitions. So make sure the definition you intend to use is correct for your application, and when you compare against other people's work ensure they used the same definition of swirl.

Second - I do not have time to read a journal article for you. That is your task, not mine.

Finally - In the page you sent it does not define the dA term. So it is not clear whether it is an area or volume integral. But I would strongly argue against using an area integral as that only gives a swirl number for a single cross section of the flow, not the entire flow.
ghorrocks is offline   Reply With Quote

Old   August 15, 2013, 01:06
Default Swirl flow
  #7
New Member
 
praveej
Join Date: Jul 2012
Posts: 5
Rep Power: 4
Hunk@cfd is on a distinguished road
Thanks..ghorrocks for your help and valuable comments. I look forward for your help consistently.Thanks a lot..
Hunk@cfd is offline   Reply With Quote

Reply

Tags
cfx, cuwstom field function, swirl ratio

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Mass concentration (custom field function) Amarant FLUENT 0 December 12, 2011 11:50
Custom field function file extension Ed Kay FLUENT 2 November 10, 2008 11:24
Custom Field function...>>>Please HELP..! sushii FLUENT 2 October 11, 2007 02:04
Turbulence Intensity as custom field function? student FLUENT 1 February 1, 2006 04:06


All times are GMT -4. The time now is 16:14.