44 nbrPhiName_(
dict.lookupOrDefault<
word>(
"nbrPhi",
"phi")),
45 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
46 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho"))
68 nbrPhiName_(ptf.nbrPhiName_),
69 phiName_(ptf.phiName_),
70 rhoName_(ptf.rhoName_)
82 nbrPhiName_(ptf.nbrPhiName_),
83 phiName_(ptf.phiName_),
84 rhoName_(ptf.rhoName_)
138 <<
"dimensions of " << phiName_ <<
" are incorrect" <<
nl
139 <<
" on patch " << this->patch().name()
140 <<
" of field " << this->internalField().name()
141 <<
" in file " << this->internalField().objectPath()
158 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
159 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static int & msgType()
Message tag of standard messages.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
This boundary condition maps the flow rate from a neighbouring patch to this patch,...
mappedFlowRateVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, fvMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Base class for fv patches that provide mapping between two fv patches.
const fvPatch & nbrFvPatch() const
Get the patch to map from.
static const mappedFvPatchBaseBase & getMap(const fvPatch &patch)
Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors.
static void validateMapForField(const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any)
Validate that the map exists and is appropriate for the given.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const dimensionSet & dimMassFlux
makePatchTypeField(fvPatchScalarField, atmosphericBoundaryLayerTurbulentEpsilonFvPatchScalarField)
VolField< scalar > volScalarField
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
const dimensionSet & dimVolumetricFlux
static const label differentPatch