Go to the documentation of this file.
48 massFluxFraction_(1.0)
52 valueFraction() = 0.0;
65 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
66 rhoName_(
dict.getOrDefault<
word>(
"rho",
"none")),
67 massFluxFraction_(
dict.getOrDefault<scalar>(
"massFluxFraction", 1))
72 valueFraction() = 0.0;
74 if (
dict.found(
"value"))
98 phiName_(ptf.phiName_),
99 rhoName_(ptf.rhoName_),
100 massFluxFraction_(ptf.massFluxFraction_)
111 phiName_(tppsf.phiName_),
112 rhoName_(tppsf.rhoName_),
113 massFluxFraction_(tppsf.massFluxFraction_)
125 phiName_(tppsf.phiName_),
126 rhoName_(tppsf.rhoName_),
127 massFluxFraction_(tppsf.massFluxFraction_)
138 scalarField::autoMap(m);
190 scalar
phi =
gSum(-phip*(*
this));
195 <<
" mass flux[Kg/s]:" << phi
209 os.
writeEntry(
"massFluxFraction", massFluxFraction_);
210 this->writeEntry(
"value", os);
int debug
Static debugging option.
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 DimensionedField< scalar, volMesh > & internalField() const
Return dimensioned internal field reference.
virtual scalarField & valueFraction()
A class for handling words, derived from Foam::string.
constexpr const char *const group
Group name for atomic constants.
virtual Field< scalar > & refValue()
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
static const word propertiesName
Default name of the turbulence properties dictionary.
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual Field< scalar > & refGrad()
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
virtual const word & name() const
Return name.
const fvMesh & mesh() const
Return the mesh reference.
bool updated() const
Return true if the boundary condition has already been updated.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
messageStream Info
Information stream (uses stdout - output is on the master only)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
const Type & lookupObject(const word &name, const bool recursive=false) const
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label index() const
Return the index of this patch in the fvBoundaryMesh.
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const objectRegistry & db() const
Return local objectRegistry.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const scalarField & deltaCoeffs() const
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const scalarField & magSf() const
Return face area magnitudes.
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 word & name() const
Return reference to name.