Simple Outlet Question
I am attempting to execute a simple test case using the icoFoam solver and have encountered a presumably easy problem that I cannot figure out. The mesh of the test case is a cylinder with a L-W ratio of 10:1. The inlet and outlet are on opposite faces of the cylinder. The inlet is given a relatively small initial velocity.
What should the boundary field conditions of the outlet be? I have attempted setting the velocity as zero and zeroGradient, and pressure as zeroGradient; however, those conditions return the following error:
The basic setup is to define the velocity value at the inlet (i.e. type fixedValue; value uniform (2 0 0);) and set velocity as zeroGradient at the outlet. For pressure, use zeroGradient at the inlet and a constant value of 'type fixedValue; value uniform 0;' at the outlet. For a good example, look in the pitzDaily tutorial (tutorials/incompressible/simpleFoam/pitzDaily). The airFoil2D and pitzDailyExptInlet tutorials have similar setups - the last one has an inlet velocity profile. I hope this helps,
Thank you very much for you response. My issue was the pressure at the outlet.
I will also look at the tutorials that you mentioned.
Just a quick question.
When setting inlet velocity as fixed value. you have to type
value uniform (0 0 0);
What im curious about is the uniform part. If i put (2 0 0) does that mean 2m/s in x?
So if i have an angled inlet, should I use the components of the XY velocity?
Also one can choose to use inletflowRateVelcoityInlet correct? so when i type the flow rate. that does not have to be the components right?
What are the differences between those two?!
Thanks in advance!
|All times are GMT -4. The time now is 02:49.|