|
[Sponsors] |
August 16, 2018, 17:46 |
boudary condition for 2 inlets 2 outlets
|
#1 |
New Member
Join Date: Aug 2018
Posts: 12
Rep Power: 8 |
Hello, i am having a difficulty trying to run a simulation of an open test section, so i have two inlets and two outlets, the first one flows directly into its outlets with a velocity of 22m/s and the second located right below it that is considered the atmosphere and it has an outlet too so they are both 0m/s since they are outside the test section, did that just to see how thick is the shear layer outside the test section, but for days now it is giving me errors first because of the time setting in controlDict but just to make sure that it is a boudary condition problem because i see some weird outputs in the animation;
u file internalField uniform (0 0 0); boundaryField { farfield { type zeroGradient; } inlet { type fixedValue; value uniform (22 0 0); } outlet { type inletOutlet; inletValue uniform (22 0 0); value uniform (0 0 0); } symmetry { type symmetryPlane; } rightside { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } leftside { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } } p file internalField uniform 0; boundaryField { farfield { type zeroGradient; } inlet { type fixedFluxPressure; value uniform 0; gradient uniform 0; } outlet { type totalPressure; rho rho; psi none; p0 uniform 0; value uniform 0; } symmetry { type symmetryPlane; } rightside { type totalPressure; rho rho; psi none; p0 uniform 0; value uniform 0; } leftside { type fixedFluxPressure; value uniform 0; gradient uniform 0; } frontAndBack { type empty; } } and the time application icoFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 0.05; deltaT 0.00005; writeControl timeStep; writeInterval 100; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; it is running in asmall short period but at least showing me something cuz i couldn t figure out how to set the time. so this is the image of animation it doesn t make sense because i see the red color outside the test section where there is no velocity! your help is very much appreciated |
|
August 17, 2018, 05:08 |
|
#2 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
There is a pimpleFoam tutorial called channel395 the has a box similar to yours. Maybe that can guide you in setting up your case.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
August 17, 2018, 13:48 |
|
#3 |
New Member
Join Date: Aug 2018
Posts: 12
Rep Power: 8 |
thank you so much
|
|
Tags |
#boundary;#inlet, #timestep |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference solution of boudary layer: how to set the initial condition | wyj216 | Main CFD Forum | 1 | June 4, 2015 06:50 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 12:32 |
CFX Solver : Sudden crash | Hervé | CFX | 2 | June 16, 2008 07:40 |
Outlet Boudary Condition for Fully Developed Flow | Saad | Main CFD Forum | 5 | November 19, 2004 14:22 |