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

Supersonic tube inlet&outlet boundary conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 29, 2017, 02:17
Post Supersonic tube inlet&outlet boundary conditions
  #1
New Member
 
LYU XING
Join Date: Jun 2017
Posts: 7
Rep Power: 8
Ryokou is on a distinguished road
Hello everyone,I'm a new OpenFOAM,and after searched CFD Online forum and OpenFOAM WIKI for a long time but I also can't solve the problem.So I hope someone can give me some advices ,I will appreciate a lot!

Ok now I'm doing a simulation about supersonic(M=2) created from a tube.I have done mesh by Gmsh,and that is no problem when I use it to do low velocity water simulation.But when I change to compressible M=2 air condition the calculated result is totally wrong(with the time elapsed there is almost no velocity and pressure change), I thought problem come out from the boundary conditions, but I already tried over 100 times that is also incorrect.

I set the p dictionary like this
dimensions [1 -1 -2 0 0 0 0];

internalField uniform 19600;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type waveTransmissive;
field p;
psi thermosi;
gamma 1.4;
fieldInf 19600;
lInf 19600;
value 19600;
}
wall
{
type zeroGradient;
}
}

And the u dictionary like this
dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type supersonicFreestream;
pInf 19600;
TInf 300;
UInf (600 0 0);
gamma 1.4;
value (600 0 0);
}

outlet
{
type zeroGradient;
}
wall
{
type noSlip;
}
}

The controlDic like this
application sonicFoam;

startFrom latestTime;

startTime 0;

stopAt endTime;

endTime 1e-6;

deltaT 1e-7;

writeControl timeStep;

writeInterval 1;

purgeWrite 0;

writeFormat ascii;

writePrecision 6; //was 6

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

I hope somebody tell me where is wrong, thank you very very much!!
Ryokou is offline   Reply With Quote

 


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 17:19
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49


All times are GMT -4. The time now is 00:29.