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
77 fixedValueFvPatchScalarField(frpsf),
79 psiName_(frpsf.psiName_)
85 const fixedRhoFvPatchScalarField& frpsf,
86 const DimensionedField<scalar, volMesh>& iF
89 fixedValueFvPatchScalarField(frpsf, iF),
91 psiName_(frpsf.psiName_)
104 const fvPatchField<scalar>& psip =
107 const fvPatchField<scalar>& pp =
112 fixedValueFvPatchScalarField::updateCoeffs();
120 writeEntryIfDifferent<word>(os,
"p",
"p", this->pName_);
121 writeEntryIfDifferent<word>(os,
"psi",
"thermo:psi", psiName_);
132 fixedRhoFvPatchScalarField
const fvPatch & patch() const
Return patch.
fixedRhoFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
Macros for easy insertion into run-time selection tables.
virtual void operator==(const fvPatchField< Type > &)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
fvPatchField< scalar > fvPatchScalarField
bool updated() const
Return true if the boundary condition has already been updated.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.