Go to the documentation of this file.
43 fixedValueFvPatchScalarField(
p, iF),
46 psiName_(
"thermo:psi"),
60 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
62 phiName_(ptf.phiName_),
63 psiName_(ptf.psiName_),
76 fixedValueFvPatchScalarField(
p, iF,
dict, false),
77 UName_(
dict.getOrDefault<
word>(
"U",
"U")),
78 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
79 psiName_(
dict.getOrDefault<
word>(
"psi",
"thermo:psi")),
80 gamma_(
dict.
get<scalar>(
"gamma")),
81 T0_(
"T0",
dict,
p.size())
83 if (
dict.found(
"value"))
99 const totalTemperatureFvPatchScalarField& tppsf
102 fixedValueFvPatchScalarField(tppsf),
103 UName_(tppsf.UName_),
104 phiName_(tppsf.phiName_),
105 psiName_(tppsf.psiName_),
106 gamma_(tppsf.gamma_),
117 fixedValueFvPatchScalarField(tppsf, iF),
118 UName_(tppsf.UName_),
119 phiName_(tppsf.phiName_),
120 psiName_(tppsf.psiName_),
121 gamma_(tppsf.gamma_),
133 fixedValueFvPatchScalarField::autoMap(m);
144 fixedValueFvPatchScalarField::rmap(ptf, addr);
147 refCast<const totalTemperatureFvPatchScalarField>(ptf);
149 T0_.rmap(tiptf.T0_, addr);
163 const fvsPatchField<scalar>& phip =
166 const fvPatchField<scalar>& psip =
169 scalar gM1ByG = (gamma_ - 1.0)/gamma_;
176 fixedValueFvPatchScalarField::updateCoeffs();
188 writeEntry(
"value",
os);
199 totalTemperatureFvPatchScalarField
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 > &)
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
virtual void autoMap(const fvPatchFieldMapper &)
virtual void write(Ostream &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void rmap(const fvPatchScalarField &, const labelList &)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
Vector< scalar > vector
A scalar version of the templated Vector.
GeometricField< vector, fvPatchField, volMesh > volVectorField
fvPatchField< vector > fvPatchVectorField
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...
Ostream & writeEntry(const keyType &key, const T &value)
virtual void updateCoeffs()
This boundary condition provides a total temperature condition.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...