46 massFluxFraction_(1.0)
50 valueFraction() = 0.0;
65 massFluxFraction_(dict.
lookupOrDefault<scalar>(
"massFluxFraction", 1.0))
70 valueFraction() = 0.0;
72 if (dict.
found(
"value"))
95 phiName_(ptf.phiName_),
96 rhoName_(ptf.rhoName_),
97 massFluxFraction_(ptf.massFluxFraction_)
108 phiName_(tppsf.phiName_),
109 rhoName_(tppsf.rhoName_),
110 massFluxFraction_(tppsf.massFluxFraction_)
121 phiName_(tppsf.phiName_),
122 rhoName_(tppsf.rhoName_),
123 massFluxFraction_(tppsf.massFluxFraction_)
134 scalarField::autoMap(m);
173 const scalarField alphap(turbModel.alphaEff(patchi));
190 scalar
phi =
gSum(-phip*(*
this));
195 <<
" mass flux[Kg/s]:" << phi
207 os.
writeKeyword(
"massFluxFraction") << massFluxFraction_
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const char *const group
Group name for atomic constants.
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Templated abstract base class for LES SGS models.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const scalarField & magSf() const
Return face area magnitudes.
label index() const
Return the index of this patch in the fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
bool updated() const
Return true if the boundary condition has already been updated.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
virtual void write(Ostream &) const
Write.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const word & name() const
Return name.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Macros for easy insertion into run-time selection tables.
virtual Field< scalar > & refValue()
Type gSum(const FieldField< Field, Type > &f)
const fvMesh & mesh() const
Return the mesh reference.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
virtual scalarField & valueFraction()
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const word & name() const
Return reference to name.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
Lookup and return the patchField of the named field from the.
const scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
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 objectRegistry & db() const
Return local objectRegistry.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual Field< scalar > & refGrad()
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
virtual void write(Ostream &) const
Write.