Go to the documentation of this file.
48 massFluxFraction_(1.0)
65 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
66 rhoName_(
dict.getOrDefault<
word>(
"rho",
"none")),
67 massFluxFraction_(
dict.getOrDefault<scalar>(
"massFluxFraction", 1))
74 if (
dict.found(
"value"))
91 const totalFlowRateAdvectiveDiffusiveFvPatchScalarField& ptf,
93 const DimensionedField<scalar, volMesh>& iF,
94 const fvPatchFieldMapper& mapper
97 mixedFvPatchField<scalar>(ptf,
p, iF, mapper),
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_)
159 const label patchi =
patch().index();
167 internalField().
group()
171 const fvsPatchField<scalar>& phip =
174 const scalarField alphap(turbModel.alphaEff(patchi));
176 refValue() = massFluxFraction_;
190 scalar
phi =
gSum(-phip*(*
this));
192 Info<<
patch().boundaryMesh().mesh().name() <<
':'
193 <<
patch().name() <<
':'
194 << this->internalField().name() <<
" :"
195 <<
" mass flux[Kg/s]:" <<
phi
210 this->writeEntry(
"value",
os);
221 totalFlowRateAdvectiveDiffusiveFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
const DimensionedField< Type, volMesh > & internalField() const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual scalarField & valueFraction()
A class for handling words, derived from Foam::string.
constexpr const char *const group
virtual Field< scalar > & refValue()
void autoMap(const FieldMapper &map, const bool applyFlip=true)
virtual void rmap(const fvPatchScalarField &, const labelList &)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
static const word propertiesName
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
virtual Field< scalar > & refGrad()
Ostream & endl(Ostream &os)
Type gSum(const FieldField< Field, Type > &f)
virtual const word & name() const
const fvMesh & mesh() const noexcept
const fvBoundaryMesh & boundaryMesh() const
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
const Type & lookupObject(const word &name, const bool recursive=false) const
label max(const labelHashSet &set, label maxValue=labelMin)
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,...
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
virtual tmp< volScalarField > alphaEff() const
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const objectRegistry & db() const
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const scalarField & deltaCoeffs() const
Ostream & writeEntry(const keyType &key, const T &value)
virtual void autoMap(const fvPatchFieldMapper &)
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
static word groupName(StringType base, const word &group)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const scalarField & magSf() const
virtual void updateCoeffs()
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const word & name() const