CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Difficulty in simulating pressure driven flow using pimpleFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2021, 00:47
Post Difficulty in simulating pressure driven flow using pimpleFoam
  #1
New Member
 
parth
Join Date: Feb 2020
Posts: 14
Rep Power: 3
parthigcar is on a distinguished road
Dear community,

I am very new to OpenFOAM as well as to CFD. I am trying to simulate pressure-driven flow (geometry is similar to an inverted L shape, where the inlet is at the bottom), where we apply time-dependent pressure at the inlet and measuring the mass flow rate at the outlet. While I am able to run the simulation without any error. However, the outlet mass flow rate is 2 orders lower than lumped simulation. Here, I have taken sodium as working fluid (however I assume that wont make any difference, since I have divided the pressure with the sodium density, and provided appropriate viscocity in transport properties.)

I would be grateful if any of you can point out where I am doing wrong. My velocity and pressure boundary is as follows:
Velocity boundary conditions:
Code:
dimensions      [0 1 -1 0 0 0 0];


internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            pressureDirectedInletOutletVelocity;
        inletDirection  uniform (0 0 1);
        value           uniform (0 0 0);
    }
    walls
    {
        type            noSlip;
    }
    wedge1
    {
        type            symmetry;
    }
    wedge2
    {
        type            symmetry;
    }
    top_walls
    {
        type            noSlip;
    }
    outlet
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    interface3
    {
        type            empty;
    }
    interface4
    {
        type            empty;
    }
}
Pressure boundary conditions:
Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{

    inlet

    {
        type            uniformTotalPressure;

        p0 table
        (
        );
    }


    outlet
    {
        type            totalPressure;
        p0              uniform 0;
        value           uniform 0;
    }

    walls
    {
        type            zeroGradient;
//          type            fixedFluxPressure;
//          value           uniform 0;
    }
    top_walls
    {
        type            zeroGradient;
//          type            fixedFluxPressure;
//          value           uniform 0;
    }
        wedge1
    {
        type            symmetry;

    }
        wedge2
    {
        type            symmetry;

    }
		defaultFaces
		{
		  type empty;
		}
		interface3
		{
		  type empty;
		}
		interface4
		{
		  type empty;
		}
}
Transport properties:
Code:
transportModel Newtonian;

// Laminar viscosity
nu              2.16e-04;

// Thermal expansion coefficient
beta           3.0164e-4; 

// Reference temperature
TRef            873;

// Laminar Prandtl number
Pr              0.0044;

// Turbulent Prandtl number
Prt             0.85;
parthigcar is offline   Reply With Quote

Reply

Tags
mass flow rate, pimplefoam, pressure driven 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
pisoFOAM (LES) - internal pipe flow - convergence gu1 OpenFOAM Running, Solving & CFD 0 January 11, 2018 16:39
Compressible Pressure Driven Flow mateiu2003k OpenFOAM Running, Solving & CFD 1 August 24, 2016 06:00
Discrepancy in Pressure Driven Flow Behaviour in 211 vs 221 cdm OpenFOAM Running, Solving & CFD 5 December 17, 2013 07:48
Boudaries for bouynat driven flow with additional mass flux at inlet Charon CFX 2 April 27, 2013 08:02
steam flow in a pipe driven by a pressure gradient between inlet and outlet SalvoCalvo Main CFD Forum 0 March 11, 2010 06:52


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