|September 29, 2010, 08:22||
mass source term in buoyantSimpleFoam
Join Date: Jun 2010
Posts: 12Rep Power: 7
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.
|April 30, 2014, 06:49||
Join Date: Feb 2014
Location: Vienna, Austria
Posts: 17Rep Power: 3
I have the same question, did you found the answer to your question?
|buoyantsimplefoam, mass source term, source terms|
|Thread||Thread Starter||Forum||Replies||Last Post|
|source terms-convergence problem||alanlove||FLUENT||0||March 28, 2010 06: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 17:51|
|mass transfer by source||panneerselvam.R||CFX||0||July 8, 2005 08:31|
|UDFs for Scalar Eqn - Fluid/Solid HT||Greg Perkins||FLUENT||0||October 11, 2000 03:43|