|September 29, 2010, 09:22||
mass source term in buoyantSimpleFoam
Join Date: Jun 2010
Posts: 12Rep Power: 5
I would like to add a mass source term in buoyantSimpleFoam. I define msource in a dictionary.
The continuity equation looks like this in that case:
div(rho*U) = msource
And I have added source terms in
1) the momentum equation: + fvm::Sp(msource, U) on the RHS
2) the energy equation: +fvm::Sp(msource, h) on the RHS
Is it enough to modify the definition of p_rghEqn() in the pEqn.H file by adding the term -msource on the RHS?
Any help would be greatly appreciated.
|buoyantsimplefoam, mass source term, source terms|
|Thread||Thread Starter||Forum||Replies||Last Post|
|source terms-convergence problem||alanlove||FLUENT||0||March 28, 2010 07:47|
|OpenFOAM on MinGW crosscompiler hosted on Linux||allenzhao||OpenFOAM Installation||127||January 30, 2009 20:08|
|DecomposePar links against liblamso0 with OpenMPI||jens_klostermann||OpenFOAM Bugs||11||June 28, 2007 18:51|
|mass transfer by source||panneerselvam.R||CFX||0||July 8, 2005 09:31|
|UDFs for Scalar Eqn - Fluid/Solid HT||Greg Perkins||FLUENT||0||October 11, 2000 04:43|