|
[Sponsors] |
November 12, 2012, 15:07 |
Initial conditions for uniform flow
|
#1 |
New Member
Join Date: Oct 2012
Posts: 14
Rep Power: 13 |
Hello,
I'm new in CFD and would like to know how to write the initial conditions for an incompressible fluid between two plane surfaces. I used channelFlow for the mesh, but have to change the 0 folder. My initial conditions are: p_inlet = p_outlet V_initial = 5 m/s As you imagine, the fluid will slow down untill it stops since there is no pressure gradient. My initial pressure conditions are: Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 1; boundaryField { inlet { type fixedValue; value uniform 1; } outlet { type fixedValue; value uniform 1; } upAndDown { type zeroGradient; } frontAndBack { type empty; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (5 0 0); boundaryField { inlet { type cyclic; } outlet { type cyclic; } TopAndBottom { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } } Thanks for your help, Andreas Last edited by andreas; November 12, 2012 at 18:39. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interfoam blows on parallel run | danvica | OpenFOAM Running, Solving & CFD | 16 | December 22, 2012 02:09 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 05:24 |
MRFSimpleFOAM goes divergenced! | renyun0511 | OpenFOAM Running, Solving & CFD | 0 | November 19, 2009 02:11 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |