- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **interPhaseChangeFoam source terms**
(*https://www.cfd-online.com/Forums/openfoam-solving/120222-interphasechangefoam-source-terms.html*)

interPhaseChangeFoam source termsHi,
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 07:05. |