CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

multiphaseEulerFoam - the velocity fields of phases blows up

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2017, 06:32
Default multiphaseEulerFoam - the velocity fields of phases blows up
  #1
mk1
New Member
 
Join Date: Jul 2014
Posts: 2
Rep Power: 0
mk1 is on a distinguished road
Hello everyone,

I'm trying to simulate a system which consists of three (immiscible) fluids
using OpenFOAM 4.0 and the multiphaseEulerFoam solver.
The phases are air, "particles" and water. The air and particles are dispersed in the water.

The geometry is a rectangle (2D-problem), which contains 2 walls and an inlet and an outlet. The region near the inlet is filled solely by air, while
the region near the outlet is occupied by both particles and water, with phase fractions 0.5 and 0.5, respectively.

What I'd like to do is as follows:
A flow is induced by setting a pressure difference between the inlet and the outlet (pres. diff. ~ 50kPa). The particle phase should not flow through the outlet at all (semi-permeable wall). Hence, only the water phase exits through the outlet and only air should flow in through the inlet to conserve the volume. Intuitively, the phase fraction of the particles should reach 1 at the outlet at some point, and water can no longer exit (the outlet becomes clogged).

For some reason though, my velocity fields of all the phases near the phase interface start to blow up after around 0.05 seconds. I've tried
various drag force models to no avail, which makes me think my BCs might be incorrect.

BCs:

p_rgh:

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 1e5;

boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}

outlet
{
type prghPressure;
p uniform 5.0e4;
value uniform 5.0e4;
}

walls
{
type fixedFluxPressure;
value $internalField;
}

frontAndBackPlanes
{
type empty;
}
}

and U.air and U.water:

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U.air;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type pressureInletOutletVelocity;
value $internalField;
}

outlet
{
type pressureInletOutletVelocity;
value $internalField;
}

walls
{
type noSlip;
}

frontAndBackPlanes
{
type empty;
}
}

and U.particles:

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U.particles;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform (0 0 0);
}

walls
{
type fixedValue;
value uniform (0 0 0);
}

frontAndBackPlanes
{
type empty;
}
}

Are these BCs correct for what I'm trying to accomplish? Any other ideas
on why the simulation blows up? I'm attaching a minimal case for testing.

Any help is greatly appreciated!
Attached Files
File Type: zip PressureDrivenDrying.zip (163.6 KB, 8 views)
mk1 is offline   Reply With Quote

Reply


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
VoF model, two phases, but only able to show velocity of the phase "mixture"? yulu FLUENT 7 December 25, 2021 09:35
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
conservative form twoPhaseEulerFoam23x gives an unsatisfactory velocity result. sharonyue OpenFOAM Running, Solving & CFD 12 April 10, 2016 00:30
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 13:41.