CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   interPhaseChangeFoam source terms (http://www.cfd-online.com/Forums/openfoam-programming-development/119981-interphasechangefoam-source-terms.html)

luftraudi June 27, 2013 16:58

interPhaseChangeFoam source terms
 
Hi,

I tried to understand the implementation of the cavitation models using interPhaseChangeFoam in OpenFOAM. The (uncomplete) source terms for the volume fraction equation are stored in the field mDotAlpha in each model. Then the field vDotAlphal is computed in phaseChangeTwoPhaseMixture.C. This field is conform to the source term of the volume fraction transport equation except of the factor (1 - alphal) for the condensation term and alphal for vaporisation term. Then in alphaEqn.H vDotAlphal is used without the factors. I guess this is not correct.

Did I misunderstood something in the code?

Furhtermore, I am wondering about the fact, that in alphaEqn.H the condensation source term (vDotcAlphal) is used twice, as implicit source term (sp) and as explicit source term (su).

Thanks in advance,
Michel


All times are GMT -4. The time now is 04:13.