CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Stratified flow with interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2010, 12:16
Exclamation Stratified flow with interFoam
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
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)

outlet:alpha1 - zeroGradient; epsilon - zeroGradient; k - zeroGradient; p- fixedValue uniform 7e5; U- zeroGradient;

walls:alpha1 - zeroGradient; epsilon - zeroGradient; k - zeroGradient; p-zeroGradient; U-fixedValue (0 0 0)

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


OpenFoam stops with following error:
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/products/farm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/"
#2 ?? in "/lib/"
#3 Foam::Time::adjustDeltaT() in "/opt/products/farm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/"
#4 main in "/opt/products/farm/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/interFoam"
#5 __libc_start_main in "/lib/"
#6 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/opt/products/farm/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/interFoam"

Hope you can help me,

PROBLEM SOLVED: The initial velocities of the two phases where to high. Slowly increasing the inlet values did the trick!

Last edited by sabin.ceuca; May 26, 2010 at 07:08. Reason: Problem solved
sabin.ceuca is offline   Reply With Quote


interfoam, openfoam 1.6, stratified flow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 13:00
gas-liquid stratified flow (two phase) farshad pargar FLUENT 6 July 22, 2009 14:46
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58
transform navier-stokes eq. to euler-eq. pxyz Main CFD Forum 37 July 7, 2006 08:42
Stratified particle-laden turbulent flow Erik Toorman Main CFD Forum 0 March 10, 2000 04:48

All times are GMT -4. The time now is 09:57.