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

Pipe flow using rhoSimpleFoam mot converging

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 9, 2015, 11:04
Default Pipe flow using rhoSimpleFoam mot converging
  #1
New Member
 
Aude
Join Date: May 2015
Posts: 5
Rep Power: 10
al0909 is on a distinguished road
Hello Foamers!!

I'm a newbie to OpenFOAM and i'm struggling a bit with a case I have to run for my PhD.

The idea is the following:
We are dealing with half a pipe (Diameter: 0.05m - Lenght: 0.4m) and we want to simulate the flow passing inside it and compare it with experimental data.

We are using air (which we consider to be following the perfect gas law), the exit Mach number should be 0.65 (so we go for a compressible solver --> rhoSimpleFoam), and the static pressure at the outlet should be the ambient pressure (98916Pa).
The walls of the pipe are considered adiabatic.

I measure a total pressure at the inlet as well as a total temperature.


Therefore: I am setting up the following files for my case:

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

internalField uniform 98916;

boundaryField
{
inlet
{
type totalPressure;
p0 uniform 131392;
gamma 1.4;
}
lateralwall
{
type zeroGradient;
}
symmetrywall
{
type symmetryPlane;
}
outlet
{
type fixedValue;
value uniform 98916;
}

0/U
----------------------------------------------
dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 -217);

boundaryField
{
inlet
{
type fixedValue;
value uniform (0 0 -217);
}
lateralwall
{
type fixedValue;
value uniform (0 0 0);
}
symmetrywall
{
type symmetryPlane;
}
outlet
{
type zeroGradient;
}
}

0/T
----------------------------------------------
dimensions [0 0 0 1 0 0 0];

internalField uniform 277;

boundaryField
{
inlet
{
type totalTemperature;
T0 uniform 300;
gamma 1.4;
}
lateralwall
{
type zeroGradient;
}
symmetrywall
{
type symmetryPlane;
}
outlet
{
type zeroGradient;
}
}


I'm using a k-omega SST turbulence model, and running with rhosimpleFoam solver.
I don't get any error messages, but I cannot manage to make this computation converge.
My pressure distribution after some iterations increases and makes no sense (values close to 1.3e5 Pa) and neither does the velocity.
Is something wrong with my boundary conditions? Am I over-constraining or under-constrainig the problem?

Any help would be much appreciated.
Thanks in advance
Attached Images
File Type: jpg Screenshot.jpg (43.8 KB, 71 views)
File Type: jpg Screenshot-1.jpg (43.6 KB, 55 views)
al0909 is offline   Reply With Quote

 

Tags
compressible flow, openfoam 2.1.x, pipe flow


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
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 11:34
High values of heat transfer coefficient for laminar flow in pipe Allankey CFX 2 May 28, 2014 12:44
Pipe Flow Saima CFX 1 January 10, 2011 16:41
Turbulence in a pipe flow JM Main CFD Forum 4 December 21, 2006 04:04


All times are GMT -4. The time now is 17:03.