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

Pressure driven plug nozzle flow

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2015, 03:54
Default Pressure driven plug nozzle flow
  #1
New Member
 
mohammad javad
Join Date: Jul 2015
Posts: 9
Rep Power: 10
rafigh is on a distinguished road
Dear FOAMers
I'm new in OpenFoam and would like to model a pressure driven flow through a plug nozzle using sonicfoam.
geometry, grid and velocity plot for nozzle pressure 4 bar and ambient pressure 3.5 bar , attached. when i decrease ambient pressure to 3 bar solver diverging.
1.png

2.png

3.png

BC

for pdimensions [1 -1 -2 0 0 0 0];

internalField uniform 350000;

boundaryField
{
gasInlet
{

type totalPressure;
p0 uniform 400000;
U U;
phi phi;
rho none;
psi none;
gamma 1.3;
value uniform 400000;
}

airInlet
{

type totalPressure;
p0 uniform 350000;
U U;
phi phi;
rho none;
psi none;
gamma 1.3;
value uniform 350000;
}

outlet
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermosi;
gamma 1.3;
fieldInf 350000;
lInf 1;
value uniform 350000;
}

symPlane
{
type symmetry;
}

freestreem
{
type zeroGradient;
}

spikeWall
{
type zeroGradient;
}

frontAndBack
{
type empty;
}
}
///////////////////////////////
for U

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
gasInlet
{

type pressureInletOutletVelocity;
phi phi;
rho rho;
value uniform (0 0 0);
}

airInlet
{

type pressureInletOutletVelocity;
phi phi;
rho rho;
value uniform (0 0 0);
}

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);

}



symPlane
{
type symmetry;
}

freestreem
{
type supersonicFreestream;
pInf 350000;
TInf 300;
UInf (650 0 0);
gamma 1.3;
value uniform (0 0 0);
}

spikeWall
{
type fixedValue;
value uniform (0 0 0);
}

frontAndBack
{
type empty;
}
}



Many thanks for your help.
regards
rafigh is offline   Reply With Quote

Old   May 2, 2016, 03:59
Default
  #2
New Member
 
史小康
Join Date: Jan 2016
Posts: 2
Rep Power: 0
ksfbangbangda is on a distinguished road
Hello, I want to use waveTransmissive BC, but I don't konw how to use it? can you give me a case? 1125449167@qq.com
ksfbangbangda is offline   Reply With Quote

Old   June 12, 2018, 08:42
Default
  #3
New Member
 
Join Date: Jun 2018
Posts: 11
Rep Power: 8
xshmuel is on a distinguished road
Hi I am quite new to OpenFOAM and I was wonderign how you got your geometry of the plug nozzle so nice? i just learned how to use the blockmesh tool butthis seems like quite a cumbersome job to get such a nice gemetry as you got. so how did you manage?
xshmuel is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 Pressure Driven Flow mateiu2003k OpenFOAM Running, Solving & CFD 1 August 24, 2016 06:00
sonicFoam - pressure driven pipe: flow continuity violation and waveTransmissive BC Endel OpenFOAM Running, Solving & CFD 3 September 11, 2014 16:29
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 02:07
pressure BC in buoynacy driven flow Sasha FLUENT 3 October 11, 2006 10:08


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