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

a little confused with the implementation of compressibleInterFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By su_junwei

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 7, 2012, 07:28
Default a little confused with the implementation of compressibleInterFoam
  #1
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
Hi Foamers
The following thread discussed the implementation of compressibleInterFoam.
http://www.cfd-online.com/Forums/ope...interfoam.html

I am confused with the implementation of dgdt in the file pEqn.H
In this thread, we can get.
dgdt = { ( psi2 / rho2) - (psi1 / rho1) } DpDt
However, in the implementation, it gives

dgdt = (pos(alpha2)*psi2/rho2 - pos(alpha1)*(psi1/rho1))*(p_rghEqnComp & p_rgh);

Is this right? shoud it be
dgdt = (psi2/rho2 - psi1/rho1))*(p_rghEqnComp & p_rgh);

where are alpha1 and alpha2 from?

would you please give me some tips?

Best Regards, Junwei
su_junwei is offline   Reply With Quote

 


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
Improved implementation of dynamic Smagorinsky alberto OpenFOAM Running, Solving & CFD 100 February 20, 2021 02:57
locDynOneEqEddy implementation and references alberto OpenFOAM Running, Solving & CFD 9 June 20, 2011 17:17
easy educational compressible navier stokes implementation anywhere? Boogiwoogie Main CFD Forum 0 December 19, 2010 06:32
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10
Please explain the implementation of species transport Eqn in reactingFoam kallipygian OpenFOAM Running, Solving & CFD 0 October 13, 2008 07:29


All times are GMT -4. The time now is 04:32.