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_
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const word & name() const
Return reference to name.
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const char *const group
Group name for atomic constants.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
Foam::fvPatchFieldMapper.
Templated abstract base class for LES SGS models.
bool updated() const
Return true if the boundary condition has already been updated.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &) const
Write.
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual Field< scalar > & refGrad()
const word & name() const
Return name.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
static word groupName(Name name, const word &group)
Type gSum(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual Field< scalar > & refValue()
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
label index() const
Return the index of this patch in the fvBoundaryMesh.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const fvMesh & mesh() const
Return the mesh reference.
virtual scalarField & valueFraction()
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const objectRegistry & db() const
Return local objectRegistry.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const word propertiesName
Default name of the turbulence properties dictionary.
const DimensionedField< Type, volMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
const scalarField & magSf() const
Return face area magnitudes.
const fvPatch & patch() const
Return patch.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...