|July 15, 2014, 07:53||
How to correctly discretize terms with many factors
Join Date: Jun 2014
Posts: 8Rep Power: 3
I am trying to implement an equation for chemical components in twoPhaseEulerFoam and I am wondering how to discretize each term in OpenFOAM.
The transport equation:
I was thinking that I could create some new fields, such as rhoAlpha and rhoAlphaPhi (alphaPhi already exists), and implement the equation as following
fvm::ddt(rhoAlpha1, Yi) + fvm:div(rhoAlphaPhi1, Yi) - fvm::laplacian(turbulence->muEff(), Yi) == 0
Does anyone know of any pros or cons with these approaches, maybe there exists other approaches that are better?
|discretization, equation, fvc, fvm, twophaseeulerfoam|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Using source terms||jsm||Main CFD Forum||4||August 20, 2009 06:44|
|Source Terms in Momentum Balance||vidyaraja||Main CFD Forum||0||May 25, 2009 15:24|
|Source Terms in momentum Balance||vidyaraja||FLUENT||0||May 25, 2009 13:16|
|Question in definition of terms in solve||titio||OpenFOAM Running, Solving & CFD||0||March 19, 2009 17:02|
|K-Epsilon model?||Brindaban Ghosh||Main CFD Forum||2||June 24, 2000 04:22|