This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGroup is its representative diameter. The corresponding volScalarField f<number>.<phaseName>.<populationBalanceName> gives the volume fraction of the sizeGroup such that all sizeGroup fractions over a velocityGroup must sum to unity. The field is either read from the startTime directory if present or constructed from a reference field called f.<phaseName>.<populationBalanceName> where the boundary condition types must be specified. All field and boundary condition values are reset to match the "value" given in the sizeGroup subdictionary. More...
Classes | |
class | iNew |
Public Member Functions | |
sizeGroup (const word &name, const dictionary &dict, const phaseModel &phase, const velocityGroup &velocityGroup, const fvMesh &mesh) | |
autoPtr< sizeGroup > | clone () const |
virtual | ~sizeGroup () |
const word & | keyword () const |
const phaseModel & | phase () const |
const velocityGroup & | VelocityGroup () const |
const dimensionedScalar & | d () const |
const dimensionedScalar & | x () const |
![]() | |
TypeName ("GeometricField") | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const Internal &diField, const PtrList< PatchField< Type >> &ptfl) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const PtrList< PatchField< Type >> &ptfl) | |
GeometricField (const IOobject &io, const Mesh &mesh, const bool readOldTime=true) | |
GeometricField (const IOobject &io, const Mesh &mesh, const dictionary &dict) | |
GeometricField (const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
GeometricField (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const word &patchFieldType) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const labelList &patchIDs, const word &patchFieldType) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
tmp< GeometricField< Type, PatchField, GeoMesh > > | clone () const |
virtual | ~GeometricField () |
Internal & | ref (const bool updateAccessTime=true) |
const Internal & | internalField () const |
const Internal & | v () const |
Internal::FieldType & | primitiveFieldRef (const bool updateAccessTime=true) |
const Internal::FieldType & | primitiveField () const |
Boundary & | boundaryFieldRef (const bool updateAccessTime=true) |
const Boundary & | boundaryField () const |
label | timeIndex () const |
label & | timeIndex () |
void | storeOldTimes () const |
void | storeOldTime () const |
label | nOldTimes () const |
const GeometricField< Type, PatchField, GeoMesh > & | oldTime () const |
GeometricField< Type, PatchField, GeoMesh > & | oldTime () |
void | storePrevIter () const |
const GeometricField< Type, PatchField, GeoMesh > & | prevIter () const |
void | correctBoundaryConditions () |
bool | needReference () const |
tmp< GeometricField< cmptType, PatchField, GeoMesh > > | component (const direction) const |
bool | writeData (Ostream &) const |
tmp< GeometricField< Type, PatchField, GeoMesh > > | T () const |
void | relax (const scalar alpha) |
void | relax () |
word | select (bool final) const |
void | writeMinMax (Ostream &os) const |
void | negate () |
void | replace (const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf) |
void | replace (const direction d, const dimensioned< cmptType > &ds) |
void | min (const dimensioned< Type > &dt) |
void | max (const dimensioned< Type > &dt) |
void | clip (const dimensioned< MinMax< Type >> &range) |
void | clip (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
void | maxMin (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
const Internal & | operator() () const |
void | operator= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator= (const dimensioned< Type > &) |
void | operator== (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator== (const dimensioned< Type > &) |
void | operator+= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator-= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator*= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator/= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator+= (const dimensioned< Type > &) |
void | operator-= (const dimensioned< Type > &) |
void | operator*= (const dimensioned< scalar > &) |
void | operator/= (const dimensioned< scalar > &) |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &gsf) |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &sf) |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf) |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf) |
Additional Inherited Members | |
![]() | |
typedef GeoMesh::Mesh | Mesh |
typedef GeoMesh::BoundaryMesh | BoundaryMesh |
typedef DimensionedField< Type, GeoMesh > | Internal |
typedef PatchField< Type > | Patch |
typedef Field< Type >::cmptType | cmptType |
![]() | |
static const GeometricField< Type, PatchField, GeoMesh > & | null () |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGroup is its representative diameter. The corresponding volScalarField f<number>.<phaseName>.<populationBalanceName> gives the volume fraction of the sizeGroup such that all sizeGroup fractions over a velocityGroup must sum to unity. The field is either read from the startTime directory if present or constructed from a reference field called f.<phaseName>.<populationBalanceName> where the boundary condition types must be specified. All field and boundary condition values are reset to match the "value" given in the sizeGroup subdictionary.
Property | Description | Required | Default value |
---|---|---|---|
d | Representative diameter | yes | |
value | Field and BC value | yes |
Example
f1 { d 3e-3; value 1.0; }
Definition at line 92 of file sizeGroup.H.
sizeGroup | ( | const word & | name, |
const dictionary & | dict, | ||
const phaseModel & | phase, | ||
const velocityGroup & | velocityGroup, | ||
const fvMesh & | mesh | ||
) |
|
virtual |
Definition at line 89 of file sizeGroup.C.
Foam::autoPtr< Foam::diameterModels::sizeGroup > clone | ( | ) | const |
Definition at line 96 of file sizeGroup.C.
References NotImplemented.
|
inline |
Definition at line 24 of file sizeGroupI.H.
References Foam::name().
|
inline |
Definition at line 31 of file sizeGroupI.H.
Referenced by LehrMilliesMewes::addToBinaryBreakupRate(), LuoSvendsen::addToBinaryBreakupRate(), CoulaloglouTavlaridesCoalescence::addToCoalescenceRate(), LehrMilliesMewesCoalescence::addToCoalescenceRate(), Luo::addToCoalescenceRate(), PrinceBlanch::addToCoalescenceRate(), densityChangeDrift::addToDriftRate(), constantDrift::addToDriftRate(), phaseChange::addToDriftRate(), constantNucleation::addToNucleationRate(), wallBoiling::addToNucleationRate(), constantDrift::correct(), phaseChange::correct(), LaakkonenAlopaeusAittamaa::setBreakupRate(), and populationBalanceModel::solve().
|
inline |
Definition at line 38 of file sizeGroupI.H.
Referenced by populationBalanceModel::solve(), and sizeDistribution::write().
|
inline |
Definition at line 45 of file sizeGroupI.H.
Referenced by LehrMilliesMewes::addToBinaryBreakupRate(), LuoSvendsen::addToBinaryBreakupRate(), hydrodynamic::addToCoalescenceRate(), LehrMilliesMewesCoalescence::addToCoalescenceRate(), Luo::addToCoalescenceRate(), PrinceBlanch::addToCoalescenceRate(), phaseChange::addToDriftRate(), phaseChange::correct(), LaakkonenAlopaeusAittamaa::setBreakupRate(), sizeDistribution::write(), and sizeDistribution::writeFileHeader().
|
inline |
Definition at line 52 of file sizeGroupI.H.
Referenced by powerLawUniformBinary::addToBinaryBreakupRate(), LuoSvendsen::addToBinaryBreakupRate(), CoulaloglouTavlaridesCoalescence::addToCoalescenceRate(), phaseChange::addToDriftRate(), constantNucleation::addToNucleationRate(), wallBoiling::addToNucleationRate(), constantDrift::correct(), phaseChange::correct(), powerLaw::setBreakupRate(), exponential::setBreakupRate(), sizeDistribution::write(), and sizeDistribution::writeFileHeader().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.