openfoam/tutorials/incompressible/overPimpleDyMFoam/rotatingSquare/0.orig/k
2024-12-24 11:17:31 +00:00

51 lines
1.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2412 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.2;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
"(walls|hole)"
{
type kqRWallFunction;
value uniform 0;
}
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05; // 5% turbulent intensity
value $internalField;
}
outlet
{
type zeroGradient;
}
overset
{
type overset;
}
}
// ************************************************************************* //