36 const DimensionedField<scalar, volMesh>& iF
39 fixedValueFvPatchScalarField(p, iF),
41 psiName_(
"thermo:psi")
47 const fixedRhoFvPatchScalarField& ptf,
49 const DimensionedField<scalar, volMesh>& iF,
50 const fvPatchFieldMapper& mapper
53 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
55 psiName_(ptf.psiName_)
62 const DimensionedField<scalar, volMesh>& iF,
63 const dictionary&
dict 66 fixedValueFvPatchScalarField(p, iF, dict),
67 pName_(dict.lookupOrDefault<word>(
"p",
"p")),
68 psiName_(dict.lookupOrDefault<word>(
"psi",
"thermo:psi"))
74 const fixedRhoFvPatchScalarField& frpsf,
75 const DimensionedField<scalar, volMesh>& iF
78 fixedValueFvPatchScalarField(frpsf, iF),
80 psiName_(frpsf.psiName_)
93 const fvPatchField<scalar>& psip =
96 const fvPatchField<scalar>& pp =
101 fixedValueFvPatchScalarField::updateCoeffs();
109 writeEntryIfDifferent<word>(os,
"p",
"p", this->pName_);
110 writeEntryIfDifferent<word>(os,
"psi",
"thermo:psi", psiName_);
121 fixedRhoFvPatchScalarField
bool updated() const
Return true if the boundary condition has already been updated.
fixedRhoFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void operator==(const fvPatchField< Type > &)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
Write.
const fvPatch & patch() const
Return patch.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
Lookup and return the patchField of the named field from the.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)