|
[Sponsors] |
April 22, 2009, 12:50 |
pressure decomposition
|
#21 |
Member
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 64
Rep Power: 17 |
Hi Kyian,
As always, you should go to the sources. In this case: OpenFOAM-1.5.x/applications/solvers/heatTransfer/buoyantSimpleFoam/UEqn.H there, you would see that both the pressure gradient term and the body force term, which in its most general form are: -grad(p) + rho*gbecome -fvc::grad(pd) - fvc::grad(rho)*ghthis transformation is straight forward if you consider p=pd+rho*g*h+pref In this case, rho is obtained from the "basicThermo" object (see createFields.H), and hence, depends on the equation of state defined there. You should go to basicThermo sources to know more about it. Good luck, elisabet |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About the gammaEqn in interFoam | sandy | OpenFOAM Running, Solving & CFD | 14 | March 19, 2014 10:30 |
GammaEqn and UEqn in interFoam | adekian | OpenFOAM Running, Solving & CFD | 1 | April 11, 2007 03:03 |
about the nonconservative equation and FVM | maximus | Main CFD Forum | 3 | March 4, 2006 16:45 |