41 fixedValueFvPatchScalarField(
p, iF,
dict, false),
42 UName_(
dict.lookupOrDefault<
word>(
"U",
"U")),
43 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
44 psiName_(
dict.lookupOrDefault<
word>(
"psi",
"psi")),
48 if (
dict.found(
"value"))
70 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
72 phiName_(ptf.phiName_),
73 psiName_(ptf.psiName_),
85 fixedValueFvPatchScalarField(tppsf, iF),
87 phiName_(tppsf.phiName_),
88 psiName_(tppsf.psiName_),
102 fixedValueFvPatchScalarField::map(ptf, mapper);
105 refCast<const totalTemperatureFvPatchScalarField>(ptf);
107 mapper(T0_, tiptf.T0_);
116 fixedValueFvPatchScalarField::reset(ptf);
119 refCast<const totalTemperatureFvPatchScalarField>(ptf);
121 T0_.reset(tiptf.T0_);
141 scalar gM1ByG = (gamma_ - 1.0)/gamma_;
145 T0_/(1.0 + 0.5*psip*gM1ByG*
neg(phip)*
magSqr(Up))
148 fixedValueFvPatchScalarField::updateCoeffs();
155 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
156 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
157 writeEntryIfDifferent<word>(os,
"psi",
"psi", psiName_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
This boundary condition provides a total temperature condition.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
totalTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
A class for handling words, derived from string.
VolField< vector > volVectorField
const dimensionSet dimless
SurfaceField< scalar > surfaceScalarField
const dimensionSet dimTemperature
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
VolField< scalar > volScalarField
dimensionedScalar neg(const dimensionedScalar &ds)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
dimensioned< scalar > magSqr(const dimensioned< Type > &)