|
[Sponsors] |
May 30, 2019, 08:59 |
BC Pressure Driven Flow
|
#1 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
Hey guys,
I'm trying to simulate the flow in a T-Pipe, with two Inlet (upper and left) and 1 Outlet. In the Inlet_up flows a fixed massFlowRate In the Inlet_sx the flow is coming inside due to a difference of pressure In the Outlet, the flow is going out. I have some problems in the BC, in particolar in the Inlet_sx. I'm not sure if is better to use TotalPressure or fixed value for p and pressureInletOutletVelocity for U. In the Inlet_up: U=massFlowRate p=zeroGradient In the Outlet: U= zeroGrazdient p= fixed value0 In the Inlet_sx: U= zeroGradient or pressureInletOutletVelocity? p=totalPressure or fixedValue? Thanks for any suggestion! Code:
FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { /*Inlet_up { type fixedValue; value uniform (0 -5 0); }*/ /*{ type flowRateInletVelocity; massFlowRate constant 0.000019; rhoInlet 1.22; }*/ #include "include/fixedInlet" Inlet_sx { type zeroGradient; } Outlet { type zeroGradient; } Sym { type symmetry; } Body { type noSlip; } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.0; boundaryField { Inlet_sx { type fixedValue; value uniform 0; } Outlet { type fixedValue; value uniform 0; } Inlet_up { type zeroGradient; } Sym { type symmetry; } Body { type zeroGradient; } } |
|
Tags |
simplefoam pressure bc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
static vs. total pressure | auf dem feld | FLUENT | 17 | February 26, 2016 14:04 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |