#includeEtc "caseDicts/setConstraintTypes" vs. #include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
48 lines
1.3 KiB
C++
48 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object k;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform 0.06;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type inletOutlet;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
|
|
wall
|
|
{
|
|
type kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|