36 const DimensionedField<scalar, volMesh>& iF
39 fixedValueFvPatchScalarField(p, iF),
41 psiName_(
"thermo:psi")
48 const DimensionedField<scalar, volMesh>& iF,
49 const dictionary&
dict 52 fixedValueFvPatchScalarField(p, iF, dict),
53 pName_(dict.lookupOrDefault<word>(
"p",
"p")),
54 psiName_(dict.lookupOrDefault<word>(
"psi",
"thermo:psi"))
60 const fixedRhoFvPatchScalarField& ptf,
62 const DimensionedField<scalar, volMesh>& iF,
63 const fvPatchFieldMapper& mapper
66 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
68 psiName_(ptf.psiName_)
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
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)