Go to the documentation of this file.
51 template<
class TurbulenceModel>
60 volScalarField::GeometricBoundaryField d = nearWallDist(
mesh).y();
62 const volScalarField::GeometricBoundaryField nutBf =
65 const volScalarField::GeometricBoundaryField nuEffBf =
68 const volScalarField::GeometricBoundaryField nuBf =
77 if (isA<nutWallFunctionFvPatchScalarField>(nutBf[
patchi]))
79 const nutWallFunctionFvPatchScalarField& nutPf =
80 dynamic_cast<const nutWallFunctionFvPatchScalarField&
>
89 <<
" named " << nutPf.patch().name()
90 <<
", wall-function " << nutPf.type()
91 <<
", y+ : min: " <<
gMin(Yp) <<
" max: " <<
gMax(Yp)
94 else if (isA<wallFvPatch>(patch))
106 <<
" named " << patch.name()
107 <<
" y+ : min: " <<
gMin(Yp) <<
" max: " <<
gMax(Yp)
114 void calcIncompressibleYPlus
122 #include "createPhi.H"
135 void calcCompressibleYPlus
152 if (!rhoHeader.headerOk())
158 Info<<
"Reading field rho\n" <<
endl;
181 int main(
int argc,
char *argv[])
183 timeSelector::addOptions();
192 runTime.setTime(
timeDirs[timeI], timeI);
193 Info<<
"Time = " << runTime.timeName() <<
endl;
234 calcCompressibleYPlus(
mesh, runTime,
U,
yPlus);
238 calcIncompressibleYPlus(
mesh, runTime,
U,
yPlus);
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiThermo > pThermo(psiThermo::New(mesh))
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
#define forAll(list, i)
Loop across all elements in list.
Type gAverage(const FieldField< Field, Type > &f)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
List< instant > instantList
List of instants.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
const word dictName("particleTrackDict")
IOobject UHeader("U", runTime.timeName(), mesh, IOobject::MUST_READ)
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
int main(int argc, char *argv[])
GeometricField< scalar, fvPatchField, volMesh > volScalarField
cellIbMask *cellIbMaskExt *faceIbMask *cellIbMask boundaryField().evaluateCoupled()
Creates and initialises the face-flux field phi.
GeometricField< vector, fvPatchField, volMesh > volVectorField
static instantList timeDirs
singlePhaseTransportModel laminarTransport(U, phi)
dimensionedScalar sqrt(const dimensionedScalar &ds)
volScalarField scalarField(fieldObject, mesh)
Type gMin(const FieldField< Field, Type > &f)
Foam::argList args(argc, argv)
Type gMax(const FieldField< Field, Type > &f)