42 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
43 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"none")),
46 dict.lookupOrDefault<scalar>(
"massFluxFraction",
dimless, 1.0)
53 if (
dict.found(
"value"))
76 phiName_(ptf.phiName_),
77 rhoName_(ptf.rhoName_),
78 massFluxFraction_(ptf.massFluxFraction_)
90 phiName_(tppsf.phiName_),
91 rhoName_(tppsf.rhoName_),
92 massFluxFraction_(tppsf.massFluxFraction_)
129 internalField().group()
140 refValue() = massFluxFraction_;
148 alphap*patch().deltaCoeffs()*patch().magSf()/
max(
mag(phip), small)
155 scalar phi =
gSum(-phip*(*
this));
157 Info<< patch().boundaryMesh().mesh().name() <<
':'
158 << patch().name() <<
':'
159 << this->internalField().name() <<
" :"
160 <<
" mass flux[Kg/s]:" << phi
172 writeEntry(os,
"massFluxFraction", massFluxFraction_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const volScalarField & Cpv() const =0
Heat capacity at constant pressure/volume [J/kg/K].
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class for fluid thermophysical transport models RAS, LES and laminar.
virtual const fluidThermo & thermo() const =0
Access function to fluid thermophysical properties.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void operator=(const UList< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual Field< scalar > & refValue()
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual scalarField & valueFraction()
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
virtual Field< scalar > & refGrad()
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
A class for handling words, derived from string.
Type gSum(const FieldField< Field, Type > &f)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimless
SurfaceField< scalar > surfaceScalarField
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)