57 nbrPhiName_(ptf.nbrPhiName_),
58 phiName_(ptf.phiName_),
59 rhoName_(ptf.rhoName_)
83 nbrPhiName_(ptf.nbrPhiName_),
84 phiName_(ptf.phiName_),
85 rhoName_(ptf.rhoName_)
96 nbrPhiName_(ptf.nbrPhiName_),
97 phiName_(ptf.phiName_),
98 rhoName_(ptf.rhoName_)
122 const fvPatch& nbrPatch = refCast<const fvMesh>
155 scalar phi =
gSum(rhop*(*
this) & patch().
Sf());
156 Info<< patch().boundaryMesh().mesh().name() <<
':' 157 << patch().name() <<
':' 158 << this->internalField().name() <<
" <- " 159 << nbrMesh.name() <<
':' 160 << nbrPatch.
name() <<
':' 161 << this->internalField().name() <<
" :" 162 <<
" mass flux[Kg/s]:" << -phi
169 <<
"dimensions of " << phiName_ <<
" are incorrect" <<
nl 170 <<
" on patch " << this->patch().name()
171 <<
" of field " << this->internalField().name()
172 <<
" in file " << this->internalField().objectPath()
189 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
190 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral ove...
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const polyMesh & sampleMesh() const
Get the region mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
static int & msgType()
Message tag of standard messages.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet & dimensions() const
Return dimensions.
Type gSum(const FieldField< Field, Type > &f)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
faceListList boundary(nPatches)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const dimensionSet dimDensity
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
label index() const
Return the index of this patch in the boundaryMesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.
mappedFlowRateFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Mesh consisting of general polyhedral cells.
virtual const word & name() const
Return name.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const polyPatch & samplePolyPatch() const
Get the patch on the region.
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity