CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Pressure driven flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 7, 2016, 03:07
Default Pressure driven flow
  #1
New Member
 
Taataa
Join Date: Nov 2014
Posts: 15
Rep Power: 4
Taataa is on a distinguished road
Hi all,

I am modeling a two phase (air and water) flow in a container with compressed air at the bottom and a column of water on top. The top boundary is open to atmosphere and the rest are walls. I set the initial condition for the pressure field using setFields as follows (two times atmospheric pressure):
Code:
boxToCell
    {
        box (0 0 -1) (0.1 0.5 1);
        fieldValues
        (
    		volScalarFieldValue p_rgh 303975
        );
    }
I am using multiphaseEulerFoam solver and set the top boundary conditions for U and p_rgh as follows:

Code:
p_rgh:
    atmosphere
    {
        type            totalPressure;
        p0              $internalField;
        U               U.air;
        phi             phi.air;
        value           $internalField;
    }

U:
    atmosphere
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
The problem is that no matter what value I set for the initial pressure the results are the same. A bubble will form and rises. The water column should move upward due to effect of compressed air at the bottom. Any suggestions is appreciated.
Taataa is offline   Reply With Quote

Reply

Tags
multiphaseeulerfoam

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure driven cd nozzle flow srikanthcs93 OpenFOAM Running, Solving & CFD 4 April 17, 2015 15:40
Divergence (pressure correction) for axysymmetric density driven flow Sxq FLUENT 3 November 30, 2013 19:39
pressure BC in buoynacy driven flow Sasha FLUENT 3 October 11, 2006 10:08
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 14:19


All times are GMT -4. The time now is 14:04.