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_)
120 const mappedPatchBase& mpp = refCast<const mappedPatchBase>
124 const polyMesh& nbrMesh = mpp.sampleMesh();
125 const fvPatch& nbrPatch = refCast<const fvMesh>
128 ).
boundary()[mpp.samplePolyPatch().index()];
150 const fvPatchField<scalar>& rhop =
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);
206 mappedFlowRateFvPatchVectorField
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...
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.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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.
List< scalar > scalarList
A List of scalars.
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)
const dimensionSet dimDensity
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.
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.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity