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,
66 const dictionary&
dict
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_)
107 const fvPatchField<scalar>& psip =
110 const fvPatchField<scalar>& pp =
115 fixedValueFvPatchScalarField::updateCoeffs();
125 writeEntry(
"value",
os);
135 fixedRhoFvPatchScalarField
Macros for easy insertion into run-time selection tables.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Foam::fixedRhoFvPatchScalarField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual bool write()
Write the output fields.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
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