CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Stratified flow with interFoam (https://www.cfd-online.com/Forums/openfoam-solving/75457-stratified-flow-interfoam.html)

 sabin.ceuca April 26, 2010 12:16

Stratified flow with interFoam

Hello everyone,
I am a rookie in OpenFOAM and I try to simulate a stratified two-phase flow in a rectangular channel (slice), a pretty easy setup 0.99 x 0.131 x 0.001 m3 where there water is up to the height of 0.031m, the sides in the z-direction are symmetryPlanes, while the top and the bottom of the channel are walls. The fluids are entering the domain in x direction both with the same velocity.
The BC’s are:
inletWater (x<=0.99 && y<=0.031 && z<=0.001):alpha1-fixedValue uniform 1; epsilon - fixedValue uniform 0.04996; k - fixedValue uniform 0.003; p-zeroGradient; U-fixedValue (0.28 0 0)

inletSteam (x<=0.99 && y>=0.031 && z<=0.001): alpha1-fixedValue uniform 0; epsilon - fixedValue uniform 0.04996; k - fixedValue uniform 0.001; p-zeroGradient; U-fixedValue (0.28 0 0)

sides:alpha1 - symmetryPlane; epsilon - symmetryPlane; k - symmetryPlane; p - symmetryPlane; U – symmetryPlane;

maxCo=0.5

OpenFoam stops with following error:
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/products/farm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib/libc.so.6"