CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   MRFTwoPhaseEulerFoam (

chemeng April 7, 2010 01:33

1 Attachment(s)
I have implemented this solver (MRF + twoPhaseEulerFoam). I think this solver is very important for aerated stirred tanks. I took the idea from MRFInterFoam. The compilation is ok, but I have tried in my example (two Phase mixing tank) and it doesn't work. The solver give me alpha higher than 1 and lower than 0, also it crashes.
I would like if somebody could check the code because I am not so good at C++ programming.
I attach the basic files. I have only modified the UEqns.H, pEqn.H and twoPhaseEulerFoam.C.
Thanks for helping me.

All times are GMT -4. The time now is 16:37.