CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   open channel (https://www.cfd-online.com/Forums/openfoam/115144-open-channel.html)

abdollahi March 25, 2013 03:18

open channel
 
hi
there is an open channel with 8*0.6*0.4 m dimentions.which has two outle, one of them at the end of channel and another is at the side wall in 4.5 meter from entrance of channel., inlet flow is assumed 35 lit/s,but outlet flow from end of channel is 30 lit/s and outlet from side wall is near 3 lit/s and continuity principal can not supported this model. 35 ? 30+3
I want to guide me .
U

inlet air
type fixedValue;
value uniform(0.0004 0 0);

inlet water
type flowRateInletVelocity;
flowRate 0.035;

outlet
type zeroGradient;

outlet side wall
type inletOutletVelocity;
inletValue uniform (0 0 0);
value uniform(0 0 0);

atmosphere
type pressureInletoutletVelocity;
value uniform (0 0 0);

walls
type fixedValue;
value uniform(0 0 0);

-----------------------------------------------------
P-rgh


inlet air
type zeroGradient;



inlet water
type zeroGradient;;



outlet
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

outlet side wall
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;


atmosphere
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;



walls
type buoyantPressure;
value uniform 0;

--------------------------------------------------------------
alpha1

inlet air
type fixedValue;
value uniform 0;


inlet water
type fixedValue;
value uniform 1;


outlet
type zeroGradient;


outlet side wall
type zeroGradient;


atmosphere
type inletOutlet;
inletValue uniform 0;
value uniform 0;


walls
type zeroGradient;

abdollahi March 25, 2013 06:19

of course , I used interfoam and K-epsilon model

nimasam March 25, 2013 09:36

i prefer to test with fixedValue for pressure at outlets, and disable k-epsilon model for now ;)


All times are GMT -4. The time now is 02:31.