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

Negative pressures

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 28, 2013, 07:15
Default Negative pressures
  #1
New Member
 
Elio Bufi
Join Date: Jan 2013
Posts: 5
Rep Power: 4
legione is on a distinguished road
Hi foamers,

I have to simulate the flow in a cylindrical duct (diameter=0.24 mm) . The flow is made by liquid (e.g. water) that is injected in the duct from a cubic capacity at 160 bar and arrives in another cubic capacity at 1.5 bar. The geometry is pretty simple and is shown in the attached image "GEOMETRY". So, I simulate the case with InterPhaseChangeFoam because I want to study the cavitation occurring in the duct. However I obtain high negative pressures , as shown in the figure "p_results". I don't konw how to interpret these values. Are these values relative to a pressure reference value or are they absolute values? In the latter case: how is it possible to obtain negative absolute pressure without a solver crash?

I attach the p_rgh boundary condition in the 0 folder:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0];

internalField uniform 160e5;

boundaryField
{
inlet
{
type fixedValue;
value uniform 160e5;
U U;
rho rho;
psi none;
gamma 1;


}

outlet
{
type fixedValue;
value uniform 1.5e5;
}

wall
{
type zeroGradient;
}

cyl
{
type zeroGradient;
}

frontBack
{
type empty;
}
}

// ************************************************** *********************** //

Thank you in advance for your attention.
Attached Images
File Type: jpg GEOMETRY.jpg (100.4 KB, 13 views)
File Type: jpg p_results.jpg (97.3 KB, 16 views)
legione is offline   Reply With Quote

Old   January 28, 2013, 12:04
Default
  #2
Member
 
Eric R
Join Date: Jul 2012
Location: Mississippi State University
Posts: 73
Rep Power: 4
msuaeronautics is on a distinguished road
Your output in Paraview are always relative pressures with the datum being atmospheric (I suppose unless otherwise specified).
msuaeronautics is offline   Reply With Quote

Old   January 29, 2013, 04:08
Default
  #3
New Member
 
Elio Bufi
Join Date: Jan 2013
Posts: 5
Rep Power: 4
legione is on a distinguished road
Thank you for tour reply msuaeronautics.
Can you explain me how to set the reference pressure in OpenFoam or Paraview in order to get only positive relative pressures?
legione is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


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