CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Nonconservative gammaEqn

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

Like Tree1Likes

LinkBack Thread Tools Display Modes
Old   April 22, 2009, 11:50
Default pressure decomposition
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 61
Rep Power: 8
elisabet is on a distinguished road
Hi Kyian,

As always, you should go to the sources. In this case:

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*g
-fvc::grad(pd) - fvc::grad(rho)*gh
this 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 is offline   Reply With Quote


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
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 02:03
about the nonconservative equation and FVM maximus Main CFD Forum 3 March 4, 2006 16:45

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