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

What does ghf mean in interFoam?

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

Like Tree3Likes
  • 3 Post By Lieven

LinkBack Thread Tools Display Modes
Old   December 16, 2012, 01:51
Default What does ghf mean in interFoam?
New Member
Join Date: Apr 2010
Posts: 14
Rep Power: 9
shchao is on a distinguished road
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!
shchao is offline   Reply With Quote

Old   December 16, 2012, 16:51
Senior Member
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 297
Rep Power: 16
Lieven will become famous soon enough
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,

shchao, Mahdi2010 and stingph like this.
Lieven 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
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 8 July 31, 2013 02:29
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21
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 21:58
SurfaceScalarField ghf in interFoam how does it look like mcchouffe OpenFOAM Running, Solving & CFD 11 July 3, 2007 10:33

All times are GMT -4. The time now is 19:49.