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_);
192 writeEntry(
"value", os);
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 word & name() const
Return name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const polyMesh & sampleMesh() const
Get the region mesh.
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.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
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.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
faceListList boundary(nPatches)
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.
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
const dimensionSet dimDensity
const polyPatch & samplePolyPatch() const
Get the patch on the region.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
mappedFlowRateFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Mesh consisting of general polyhedral cells.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
label index() const
Return the index of this patch in the boundaryMesh.
const dimensionSet dimArea(sqr(dimLength))
virtual void write(Ostream &) const
Write.
const dimensionSet dimVelocity