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

2.3.0 interFoam pipe flow with horizontal gravitational field

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2014, 07:49
Question 2.3.0 interFoam pipe flow with horizontal gravitational field
  #1
Member
 
Davide D.
Join Date: Oct 2012
Location: Birmingham (UK)
Posts: 44
Rep Power: 14
dav.dap83 is on a distinguished road
Hi everyone,

I am running this case to understand how interFoam manages gravity. It consists of a horizontal pipe with Newtonian laminar flow, with a vertical gravitational field. The pipe length is chosen so that the flow is fully developed at the outlet.

You can see from the attached image that the flow at the outlet seems not to be affected by the gravity, as it depicts a typical pipe flow profile without gravity.

I cannot explain the this behaviour. Perhaps did I make something wrong at the boundary conditions?

0/p_rgh
Code:
dimensions      [1 -1 -2 0 0 0 0];

internalField   1e5;

boundaryField
{
    inlet
    {
        type            fixedFluxPressure;
    }

    outlet
    {
        type            totalPressure;
        p0              uniform 0;
        phi             phi;
        U               U;
        rho             rho;
        psi             none;
        gamma       0;
        value           uniform $internalField;
    }

    fixedWalls
    {
        type            fixedFluxPressure;
    }

}
0/U
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform (0 0 0.5);
    }

    outlet
    {
        type            zeroGradient;
    }

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

}
Thank you in advance
Attached Images
File Type: jpg outlet.jpg (22.0 KB, 137 views)
Attached Files
File Type: gz case.tar.gz (4.1 KB, 63 views)
dav.dap83 is offline   Reply With Quote

Old   August 9, 2014, 23:15
Default
  #2
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24
santiagomarquezd will become famous soon enough
The solution is correct.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Reply

Tags
gravity, interfoam, pipe 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Pipe flow with obstacle - HELP Min FLUENT 6 January 31, 2017 15:28
sonicFoam - pressure driven pipe: flow continuity violation and waveTransmissive BC Endel OpenFOAM Running, Solving & CFD 3 September 11, 2014 17:29
Laminar field as initial state for turbulent two phase pipe flow kjetil OpenFOAM Running, Solving & CFD 3 July 21, 2009 10:15
About Turbulence Intensity (Pipe flow assimilated) gRomK13 Main CFD Forum 1 July 10, 2009 04:11


All times are GMT -4. The time now is 07:32.