Go to the documentation of this file.
40 fixedValueFvPatchScalarField(
p, iF),
43 psiName_(
"thermo:psi"),
57 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
73 fixedValueFvPatchScalarField(
p, iF),
74 UName_(
dict.lookupOrDefault<
word>(
"U",
"U")),
75 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
76 psiName_(
dict.lookupOrDefault<
word>(
"psi",
"thermo:psi")),
78 T0_(
"T0",
dict,
p.size())
80 if (
dict.found(
"value"))
99 fixedValueFvPatchScalarField(tppsf),
114 fixedValueFvPatchScalarField(tppsf, iF),
130 fixedValueFvPatchScalarField::autoMap(m);
141 fixedValueFvPatchScalarField::rmap(ptf, addr);
144 refCast<const totalTemperatureFvPatchScalarField>(ptf);
146 T0_.rmap(tiptf.
T0_, addr);
170 T0_/(1.0 + 0.5*psip*gM1ByG*(1.0 -
pos(phip))*
magSqr(Up))
173 fixedValueFvPatchScalarField::updateCoeffs();
180 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
181 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
182 writeEntryIfDifferent<word>(os,
"psi",
"thermo:psi", psiName_);
184 T0_.writeEntry(
"T0", os);
185 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
totalTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
word psiName_
Name of the compressibility field used to calculate the wave speed.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
word phiName_
Name of the flux transporting the field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
scalar gamma_
Heat capacity ratio.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
volScalarField scalarField(fieldObject, mesh)
word UName_
Name of the velocity field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides a total temperature condition.
scalarField T0_
Total pressure.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pos(const dimensionedScalar &ds)