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

SimpleFoam setting with total pressure at inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2015, 16:23
Default SimpleFoam setting with total pressure at inlet
  #1
New Member
 
Join Date: Nov 2012
Posts: 27
Rep Power: 13
dmaz is on a distinguished road
I'm running a simulation of an airplane and I usually use the solver for compressible, rhoSimplecFoam.
Now I'm setting the simulation for incompressibile solver simpleFoam. In the incompressibile solvers the pressure definition change, I have to define p/rho. So I set the problem using the same condition of the compressibile problem, dividing the pressure with the density. Is it correct to define the total pressure condition in the same way as reported?
Thanks in advance,
Dmaz


pressure:
internalField uniform 97956/1.16;
inlet
{
type totalPressure;
p0 uniform 99127.7/1.16;
gamma 1.4;
U U;
phi phi;
value $internalField;
}
outflow
{
type fixedValue;
value $internalField;
}

velocity
internalField uniform (5 0 0);
inlet
{
type pressureInletVelocity;
value uniform (44.85 0 0);
}

outlet
{
type pressureInletOutletVelocity;
inletValue $internalField;
value $internalField;
}
dmaz is offline   Reply With Quote

Old   June 16, 2016, 13:23
Default
  #2
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Hi Damz,

As far as I know, this is not correct. Are you getting the results as expected?

You can refer to any Incompressible simpleFoam tutorial. The absolute pressure value does not matter in Incompressible solver. The general guideline is that you can set the reference pressure (p/rho) as zero and see the relative pressure change in your computational domain.
Vino is offline   Reply With Quote

Old   June 24, 2016, 10:17
Default
  #3
Member
 
Jack
Join Date: May 2015
Posts: 98
Rep Power: 10
Jack001 is on a distinguished road
Hi all,

I understand that the reference pressure is irrelevant in an incompressible solver such as simpleFoam. However how do I prescribe the correct density? As far as I know, the only control I have is over the kinematic viscosity (nu) defined inside constant/transportProperties, but nu is a function of both pressure and temperature, so how do I independently specify the density and viscosity?

thanks!
Jack001 is offline   Reply With Quote

Reply


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
static vs. total pressure auf dem feld FLUENT 17 February 26, 2016 13:04
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
Pressure Inlet Boundary Condition Issue zoeburton1987 FLUENT 0 May 15, 2012 09:20
inlet total pressure c0384 Siemens 3 April 21, 2008 07:50
Total pressure and velocity inlet BC ff FLUENT 1 May 28, 2003 21:24


All times are GMT -4. The time now is 21:05.