CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Boundary condition "flow over a cylinder" (http://www.cfd-online.com/Forums/openfoam/67785-boundary-condition-flow-over-cylinder.html)

ronaldo August 26, 2009 10:05

Boundary condition "flow over a cylinder"
 
1 Attachment(s)
Hi,

In this example the flow over a cylinder is modeled . The domain is 2 dimensional. The cylinder, which is perpendicular to the flow, is modeled as a circle and a rectangular flow domain is created around the cylinder. For this example, we will consider Air as the fluid medium.

1. Which solver is adequate in this case (tubForm, icoForm or simpleFoam)?
2. How could i chose an adaquate Time-Step to get resonnable Courant-Number during the Simulation



My boundary conditions in 0/U looks like(IcoFoam)

dimensions [0 1 -1 0 0 0 0];
internalField uniform (1 0 0);
boundaryField

inlet
{

type fixedValue;
value uniform (1 0 0);

{
outlet
{

type zeroGradient;

}
inlet
{

type fixedValue;
value uniform (1.5 0 0);

}
cyl_wall
{

type fixedValue;
value uniform (0 0 0);

}
wall
{

type symmetry; // I donīt no (no-Slip)

}
frontAndBackPlanes
{

type empty;

}

p/U looks like

inlet
{

type fixedValue;
value uniform (0 0 0);

{
outlet
{

type fixedValue;
value uniform 0;

}
inlet
{

type zeroGradient;

}
cyl_wall
{

type ............; // I donīt no


}
wall
{

type ............; // I donīt no

}
frontAndBackPlanes
{

type empty;

}

3. What about fvScheme, fvSolution ?

Please just help me to solve this Problem!
Thanks

lyes43 February 8, 2011 05:11

Quote:

Originally Posted by ronaldo (Post 227556)
Hi,

In this example the flow over a cylinder is modeled . The domain is 2 dimensional. The cylinder, which is perpendicular to the flow, is modeled as a circle and a rectangular flow domain is created around the cylinder. For this example, we will consider Air as the fluid medium.

1. Which solver is adequate in this case (tubForm, icoForm or simpleFoam)?
2. How could i chose an adaquate Time-Step to get resonnable Courant-Number during the Simulation



My boundary conditions in 0/U looks like(IcoFoam)

dimensions [0 1 -1 0 0 0 0];
internalField uniform (1 0 0);
boundaryField

inlet
{

type fixedValue;
value uniform (1 0 0);

{
outlet
{

type zeroGradient;

}
inlet
{

type fixedValue;
value uniform (1.5 0 0);

}
cyl_wall
{

type fixedValue;
value uniform (0 0 0);

}
wall
{

type symmetry; // I donīt no (no-Slip)

}
frontAndBackPlanes
{

type empty;

}

p/U looks like

inlet
{

type fixedValue;
value uniform (0 0 0);

{
outlet
{

type fixedValue;
value uniform 0;

}
inlet
{

type zeroGradient;

}
cyl_wall
{

type ............; // I donīt no


}
wall
{

type ............; // I donīt no

}
frontAndBackPlanes
{

type empty;

}

3. What about fvScheme, fvSolution ?

Please just help me to solve this Problem!
Thanks

hey I'm begineer in fluent and i 'm working on simulation of flow and heat transfer in a horizontal rectangular channel were i have heat souces mayb u help me to simulate that problem i have experimental results to valid the numerical result lyes43@yahoo.com


All times are GMT -4. The time now is 19:01.