32 Foam::scalar Foam::distributionGroupFractionFvScalarFieldSource::eta
43 popBal().etaV(
i(), distribution_()).value()
50 << 100*etaPtr_() <<
"\% of source " << model.name() <<
endl;
67 fvScalarFieldSource(iF,
dict),
84 fvScalarFieldSource(field, iF),
86 distribution_(field.distribution_, false),
110 model.
name() +
":" + this->internalField().name() +
"SourceValue",
111 this->internalField().mesh(),
139 model.
name() +
":" + this->internalField().name() +
"InternalCoeff",
140 this->internalField().mesh(),
184 distributionSizeGroup
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > New(const word &name, const GeoMesh &mesh, const dimensionSet &, const PrimitiveField< Type > &)
Return a temporary field constructed from name, mesh,.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool valid() const
Return true if the autoPtr valid (ie, the pointer is set)
void set(T *)
Set pointer to that given.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Source condition for group fractions of a population balance model that sets values corresponding to ...
virtual tmp< DimensionedField< scalar, fvMesh > > sourceValue(const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
Return the source value.
virtual tmp< DimensionedField< scalar, fvMesh > > internalCoeff(const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
Return the internal coefficient.
virtual ~distributionGroupFractionFvScalarFieldSource()
Destructor.
virtual void write(Ostream &) const
Write.
distributionGroupFractionFvScalarFieldSource(const DimensionedField< scalar, fvMesh > &, const dictionary &dict)
Construct from internal field and dictionary.
Base class for statistical distributions.
const word & name() const
Return const access to the source name.
Base class for finite volume sources.
Base class for source conditions of properties of the groups in a population balance model.
const populationBalanceModel & popBal() const
Return the population balance.
label i() const
Return the index of this group.
A class for managing temporary objects.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const dimensionSet & dimless
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimLength
addNamedToRunTimeSelectionTable(fvPatchScalarField, turbulentKineticEnergyFvPatchScalarField, dictionary, turbulentIntensityKineticEnergyInlet)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
makeTypeFieldSource(fvScalarFieldSource, turbulentKineticEnergyFvScalarFieldSource)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)