43 massFluxFraction_(1.0)
47 valueFraction() = 0.0;
62 massFluxFraction_(dict.
lookupOrDefault<scalar>(
"massFluxFraction", 1.0))
67 valueFraction() = 0.0;
69 if (dict.
found(
"value"))
92 phiName_(ptf.phiName_),
93 rhoName_(ptf.rhoName_),
94 massFluxFraction_(ptf.massFluxFraction_)
106 phiName_(tppsf.phiName_),
107 rhoName_(tppsf.rhoName_),
108 massFluxFraction_(tppsf.massFluxFraction_)
156 thermophysicalTransportModel::typeName,
181 scalar
phi =
gSum(-phip*(*
this));
186 <<
" mass flux[Kg/s]:" << phi
198 writeEntry(os,
"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.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
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...
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...
virtual void write(Ostream &) const
Write.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
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.
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...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
Abstract base class for thermophysical transport models (RAS, LES and laminar).
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
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 scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
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 const word & name() const
Return name.
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.