|
[Sponsors] |
December 16, 2012, 01:51 |
What does ghf mean in interFoam?
|
#1 |
New Member
anonymous
Join Date: Apr 2010
Posts: 14
Rep Power: 16 |
I'm using interFoam,now i have a problem about momentum equation in Ueqn.H.There is a "- ghf*fvc::snGrad(rho)" ,but i can't find the definition of the variable ghf.
by the way,is anybody know which file defines the continuity equation? Thank you sincerely! |
|
December 16, 2012, 16:51 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Variable ghf is defined in createFields.H (of the interfoam solver). It is equal to the inner product of the gravitational acceleration with the location of the face centres.
Continuity is enforced by solving the pressure equation (pEqn.H). Kind regards, L |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 07:36 |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
Slow interFoam compared with other CFD tools? | Ralph M | OpenFOAM Programming & Development | 1 | November 17, 2010 07:46 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 22:58 |
SurfaceScalarField ghf in interFoam how does it look like | mcchouffe | OpenFOAM Running, Solving & CFD | 11 | July 3, 2007 11:33 |