# SimpleFoam setting with total pressure at inlet

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

 May 10, 2015, 16:23 SimpleFoam setting with total pressure at inlet #1 New Member   Join Date: Nov 2012 Posts: 27 Rep Power: 6 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; }

 June 16, 2016, 13:23 #2 Senior Member   Vino Join Date: Mar 2013 Location: India Posts: 115 Rep Power: 6 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.

 June 24, 2016, 10:17 #3 Member   Jack Join Date: May 2015 Posts: 92 Rep Power: 4 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!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post auf dem feld FLUENT 17 February 26, 2016 14:04 CFDnewbie147 OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 22, 2013 09:53 zoeburton1987 FLUENT 0 May 15, 2012 09:20 c0384 CD-adapco 3 April 21, 2008 07:50 ff FLUENT 1 May 28, 2003 21:24

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