|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
ofer d
Join Date: Dec 2017
Posts: 2
Rep Power: 0 ![]() |
Hello,
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? Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,916
Rep Power: 145 ![]() ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlet boundary condition in interFoam | Andrea_85 | OpenFOAM Running, Solving & CFD | 51 | July 20, 2017 14:31 |
CEL expression in CFX pre | Jane92 | Main CFD Forum | 1 | June 3, 2016 03:48 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |