CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   syntax for velocity profile (https://www.cfd-online.com/Forums/openfoam-pre-processing/205263-syntax-velocity-profile.html)

zizou1 August 13, 2018 10:26

syntax for velocity profile
 
Hi all,
i want to modify the inlet velocity in a 3D pipe (cylinder).
This is the U file:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{


inlet
{
type fixedValue;
value uniform (0 0 1);
}

outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}

"(walls|bfV_zone0)"
{
type fixedValue;
value uniform (0 0 0);
}
}

I want to change it from a uniform field to a parabolic profile.
If the z axis is the direction of the flow in the pipe, which is the correct way to express the velocity profile of the circular section (z= cost.) corresponding to the inlet?

Thanks


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