27 #include "fvPatchFieldMapper.H"
28 #include "volFields.H"
29 #include "addToRunTimeSelectionTable.H"
35 namespace incompressible
42 const DimensionedField<scalar, volMesh>& iF)
43 : fixedValueFvPatchScalarField(
p, iF),
52 const DimensionedField<scalar, volMesh>& iF,
53 const fvPatchFieldMapper& mapper)
54 : fixedValueFvPatchScalarField(ptf,
p, iF, mapper)
61 const DimensionedField<scalar, volMesh>& iF,
62 const dictionary& dict)
63 : fixedValueFvPatchScalarField(
p, iF, dict),
64 Prt_(dict.get<scalar>(
"Prt"))
71 : fixedValueFvPatchScalarField(wfpsf)
78 const DimensionedField<scalar, volMesh>& iF)
79 : fixedValueFvPatchScalarField(wfpsf, iF)
92 const label patchi = patch().index();
96 const turbulenceModel& turbModel = db().lookupObject<turbulenceModel>(
98 turbulenceModel::propertiesName,
99 internalField().group()));
101 const tmp<scalarField> tnutw = turbModel.nut(patchi);
103 operator==(tnutw /
Prt_);
105 fixedValueFvPatchField<scalar>::updateCoeffs();
110 fvPatchField<scalar>::write(os);
111 os.writeEntry(
"Prt",
Prt_);
112 writeEntry(
"value", os);