What does ghf mean in interFoam?
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!
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).
|All times are GMT -4. The time now is 02:40.|