53 lines
1.5 KiB
C++
53 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object k;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform 5;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type turbulentIntensityKineticEnergyInlet;
|
|
intensity 0.01;
|
|
U U;
|
|
phi phi;
|
|
value uniform 5;
|
|
}
|
|
outlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
upperWall
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value uniform 5;
|
|
}
|
|
lowerWall
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value uniform 5;
|
|
}
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|