Go to the documentation of this file.
60 nbrPhiName_(ptf.nbrPhiName_),
61 phiName_(ptf.phiName_),
62 rhoName_(ptf.rhoName_)
74 nbrPhiName_(
dict.getOrDefault<
word>(
"nbrPhi",
"phi")),
75 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
76 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho"))
86 nbrPhiName_(ptf.nbrPhiName_),
87 phiName_(ptf.phiName_),
88 rhoName_(ptf.rhoName_)
99 nbrPhiName_(ptf.nbrPhiName_),
100 phiName_(ptf.phiName_),
101 rhoName_(ptf.rhoName_)
125 const fvPatch& nbrPatch = refCast<const fvMesh>
159 Info<<
patch().boundaryMesh().mesh().name() <<
':'
160 <<
patch().name() <<
':'
161 << this->internalField().name() <<
" <- "
162 << nbrMesh.
name() <<
':'
163 << nbrPatch.
name() <<
':'
164 << this->internalField().name() <<
" :"
165 <<
" mass flux[Kg/s]:" << -
phi
172 <<
"dimensions of " << phiName_ <<
" are incorrect" <<
nl
173 <<
" on patch " << this->
patch().name()
174 <<
" of field " << this->internalField().name()
175 <<
" in file " << this->internalField().objectPath()
195 writeEntry(
"value",
os);
int debug
Static debugging option.
virtual void write(Ostream &) const
Write.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
A class for handling words, derived from Foam::string.
const dimensionSet dimVelocity
const dimensionSet dimDensity
virtual void write(Ostream &) const
Write.
const polyPatch & samplePolyPatch() const
Get the patch on the region.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
virtual const word & name() const
Return name.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
Mesh consisting of general polyhedral cells.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
const polyMesh & sampleMesh() const
Get the region mesh.
const dimensionSet dimArea(sqr(dimLength))
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
messageStream Info
Information stream (stdout output on master, null elsewhere)
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
mappedFlowRateFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
label index() const noexcept
The index of this patch in the boundaryMesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & name() const noexcept
Return name.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static int & msgType() noexcept
Message tag of standard messages.
Describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral ove...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const std::string patch
OpenFOAM patch number as a std::string.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...