54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class volVectorField;
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type turbulentInlet;
|
|
referenceField uniform (10 0 0);
|
|
fluctuationScale (0.02 0.01 0.01);
|
|
value uniform (10 0 0);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
inletValue uniform (0 0 0);
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
upperWall
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
lowerWall
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|