Adding volumetric body force term to compressibleInterFoam
I would like to add a volumetric body force term (F) to compressibleInterFoam. Is it done by just adding F to UEqn in UEqn.H file? Like this:
Code:
fvVectorMatrix UEqn |
Of course, I have already defined and calculated F. The issue is just including it in momentum equation.
|
You should read this:
http://www.cfd-online.com/Forums/ope...ody-force.html http://www.cfd-online.com/Forums/ope...-pressure.html http://www.tfd.chalmers.se/~hani/kur...7/rhiechow.pdf https://openfoamwiki.net/index.php/B...sinesqPisoFoam http://openfoamwiki.net/index.php/BubbleFoam ... Hope this helps! Best, Pascal |
Thanks pascal! It helped me very much!
|
All times are GMT -4. The time now is 13:06. |