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_)
119 const mappedPatchBase& mpp = refCast<const mappedPatchBase>
123 const polyMesh& nbrMesh = mpp.sampleMesh();
124 const fvPatch& nbrPatch = refCast<const fvMesh>
127 ).
boundary()[mpp.samplePolyPatch().index()];
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()
205 mappedFlowRateFvPatchVectorField
List< scalar > scalarList
List of scalar.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
fvPatchField< vector > fvPatchVectorField
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...
static int incrMsgType(int val=1) noexcept
Increment the message tag for standard messages.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
static int & msgType() noexcept
Message tag of standard messages.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimVolume(pow3(dimLength))
Type gSum(const FieldField< Field, Type > &f)
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
int debug
Static debugging option.
OBJstream os(runTime.globalPath()/outputName)
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...
const std::string patch
OpenFOAM patch number as a std::string.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual void write(Ostream &) const
Write.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Field< vector > vectorField
Specialisation of Field<T> for vector.
mappedFlowRateFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)