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

Gas flow through a pipe

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 3, 2021, 16:55
Default Gas flow through a pipe
  #1
New Member
 
prab
Join Date: Jun 2021
Posts: 4
Rep Power: 4
aneps is on a distinguished road
Hello everyone, I am a newbie to Openfoam. Rather than just following lessons, I am right away into making the models I am interested. I made a simple pipe geometry with air flow. I know the pressure at the entrace (2.5 mbar) and at the exit (0 mbar).

After making geometry and meshing with salome, I imported the UNV mesh file to openfoam. I am using icoFOAM solver from the example (cavity).I modified the 'p' file as

boundaryField
{
Inlet
{
type fixedValue;
value uniform 8194.8;
}
Outlet
{
type fixedValue;
value 0;
}
Walls
{
type zeroGradient;
}
}

I am wondering if this is the right way to apply fixed pressure at the inlet and outlet. 2.5 mbar means 25.49 Kg/m^2. This divided by density at this pressure will give 8194.8.

The result I get is quite strange. Obviously wrong!. Can anyone tell me is this correct way to simulate if we know only the inlet and outlet pressure (no velocity information). This is more practical case, because we measure only pressure with a gauge at the both ends.

Is it correct to use icoFoam for this example?
aneps is offline   Reply With Quote

 


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Two-phase flow in a circular horizontal pipe DmitryS Fluent Multiphase 0 May 17, 2014 16:22
Gas solid flow in a pipe with 90 bend pandaba FLUENT 0 September 14, 2010 01:43
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 22:02
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19


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