|
[Sponsors] |
Supersonic tube inlet&outlet boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 29, 2017, 02:17 |
Supersonic tube inlet&outlet boundary conditions
|
#1 |
New Member
LYU XING
Join Date: Jun 2017
Posts: 7
Rep Power: 8 |
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!! |
|
|
|
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 |