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

Negative pressures

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2013, 07:15
Default Negative pressures
  #1
New Member
 
Elio Bufi
Join Date: Jan 2013
Posts: 5
Rep Power: 13
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, 18 views)
File Type: jpg p_results.jpg (97.3 KB, 25 views)
legione is offline   Reply With Quote

Old   January 28, 2013, 12:04
Default
  #2
Member
 
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15
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: 13
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


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


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