71 nbrPhiName_(ptf.nbrPhiName_),
72 phiName_(ptf.phiName_),
73 rhoName_(ptf.rhoName_)
84 nbrPhiName_(ptf.nbrPhiName_),
85 phiName_(ptf.phiName_),
86 rhoName_(ptf.rhoName_)
110 const fvPatch& nbrPatch = refCast<const fvMesh>
143 scalar phi =
gSum(rhop*(*
this) & patch().Sf());
144 Info<< patch().boundaryMesh().mesh().name() <<
':' 145 << patch().name() <<
':' 146 << this->internalField().name() <<
" <- " 147 << nbrMesh.name() <<
':' 148 << nbrPatch.
name() <<
':' 149 << this->internalField().name() <<
" :" 150 <<
" mass flux[Kg/s]:" << -phi
157 <<
"dimensions of " << phiName_ <<
" are incorrect" <<
nl 158 <<
" on patch " << this->patch().name()
159 <<
" of field " << this->internalField().name()
160 <<
" in file " << this->internalField().objectPath()
177 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
178 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.
const dimensionSet dimFlux
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 GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
const dimensionSet dimMassFlux
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
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.