CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

What does ghf mean in interFoam?

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

Like Tree7Likes
  • 1 Post By shchao
  • 6 Post By Lieven

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2012, 01:51
Default What does ghf mean in interFoam?
  #1
New Member
 
anonymous
Join Date: Apr 2010
Posts: 14
Rep Power: 16
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!
nepomnyi likes this.
shchao is offline   Reply With Quote

Old   December 16, 2012, 16:51
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
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,


L
shchao, Mahdi2010, stingph and 3 others like this.
Lieven is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 01:18.