CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   MRFInterFoam: Trouble with direction of gravity / Continuity error cannot be removed (http://www.cfd-online.com/Forums/openfoam-solving/76557-mrfinterfoam-trouble-direction-gravity-continuity-error-cannot-removed.html)

bengt May 28, 2010 11:15

MRFInterFoam: Trouble with direction of gravity / Continuity error cannot be removed
 
Dear Foamers,

I've modified the mixerVessel2D in order to simulate a rotating shaft (cylinder) within a circular housing using MRFInterFoam. The housing is filled with oil up to the centre (fluid fraction 50%), and, accordingly, gravity is set to the -y direction.
The problem I'm facing now is that I can't get the solver running due to the following error: FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow.
Without gravity or with gravity acting in -z-direction (parallel to the rotational axis), there is no problem. Boundary conditions are set according to the tutorial case. Changing the pressure bc to buoyantPressure doesn't have any effect.

What am I doing wrong???:(
Any ideas or help are greatly appreciated!!
Kind regards, have a nice weekend
Bengt

nimasam May 28, 2010 14:23

hi friend
i suggest change mesh size or time step , some times its helpful.

bengt May 28, 2010 14:45

problem persists
 
Hi nima,

thanks a lot for your reply!! Indeed, reducing the timestep/maxCo gets the solver working with the fluid fraction remaining constant - however, after 2 seconds it crashes giving the same error message...do you have any recommendations regarding the boundary conditions and discretization schemes / solver controls for such a case?

Kind regards
bengt


All times are GMT -4. The time now is 23:55.