How to correctly discretize terms with many factors
Hi,
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: http://rogercortesi.com/eqn/tempimagedir/eqn3415.png I was thinking that I could create some new fields, such as rhoAlpha and rhoAlphaPhi (alphaPhi already exists), and implement the equation as following Code:
fvm::ddt(rhoAlpha1, Yi) Does anyone know of any pros or cons with these approaches, maybe there exists other approaches that are better? Kasper |
All times are GMT -4. The time now is 05:08. |