39 const DimensionedField<scalar, volMesh>& iF
42 fixedValueFvPatchScalarField(
p, iF),
44 psiName_(
"thermo:psi")
50 const fixedRhoFvPatchScalarField& ptf,
52 const DimensionedField<scalar, volMesh>& iF,
53 const fvPatchFieldMapper& mapper
56 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
58 psiName_(ptf.psiName_)
65 const DimensionedField<scalar, volMesh>& iF,
69 fixedValueFvPatchScalarField(
p, iF,
dict),
70 pName_(
dict.getOrDefault<word>(
"p",
"p")),
71 psiName_(
dict.getOrDefault<word>(
"psi",
"thermo:psi"))
77 const fixedRhoFvPatchScalarField& frpsf
80 fixedValueFvPatchScalarField(frpsf),
82 psiName_(frpsf.psiName_)
88 const fixedRhoFvPatchScalarField& frpsf,
89 const DimensionedField<scalar, volMesh>& iF
92 fixedValueFvPatchScalarField(frpsf, iF),
94 psiName_(frpsf.psiName_)
112 fixedValueFvPatchScalarField::updateCoeffs();
Macros for easy insertion into run-time selection tables.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Foam::fixedRhoFvPatchScalarField.
fixedRhoFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
const std::string patch
OpenFOAM patch number as a std::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
fvPatchField< scalar > fvPatchScalarField