CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Understand a CEL expression

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2018, 16:11
Default Understand a CEL expression
New Member
ofer d
Join Date: Dec 2017
Posts: 2
Rep Power: 0
ofer is on a distinguished road
I am trying to understand how this fire combustion expression works:

if(x<20[m]*0.04689*t^2/20000[s^2],0.02 [kg m^-3 s^-1],0 [kg m^-3 s^-1])

So far i only understood that
alpha*t^2=Q is the fire growth rate, (not sure why we divide by Q?)
And that 0.02 is mass burn rate over a fire domain of 20mX2mX0.5m.
How does the if condition works?

ofer is offline   Reply With Quote

Old   February 26, 2018, 16:45
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In english, the expression says:

If node x location is less than 20 metres*0.04689*time (in seconds)^2/20000[seconds^2] (so a quadratic in time in x direction), then return 0.02 kg/m^3 per second (so that sounds like some mass per unit volume being generated), otherwise do nothing.

Read the CFX reference guide for more details on the if statement.
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlet boundary condition in interFoam Andrea_85 OpenFOAM Running, Solving & CFD 51 July 20, 2017 13:31
CEL expression in CFX pre Jane92 Main CFD Forum 1 June 3, 2016 02:48
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25

All times are GMT -4. The time now is 22:46.