Computes the Sauter mean diameter based on a user specified size distribution, defined in terms of size class fractions. Intended for use with a population balance model to account for the evolution of a size distribution by means of coalescence, breakup, drift and nucleation. More...
Public Member Functions | |
TypeName ("velocityGroup") | |
Runtime type information. More... | |
velocityGroup (const dictionary &diameterProperties, const phaseModel &phase) | |
Construct from dictionary and phase. More... | |
virtual | ~velocityGroup () |
Destructor. More... | |
const word & | popBalName () const |
Return name of populationBalance this velocityGroup belongs to. More... | |
const populationBalanceModel & | popBal () const |
Return the populationBalance this velocityGroup belongs to. More... | |
const PtrList< sizeGroup > & | sizeGroups () const |
Return sizeGroups belonging to this velocityGroup. More... | |
PtrList< sizeGroup > & | sizeGroups () |
Return sizeGroups belonging to this velocityGroup. More... | |
virtual tmp< volScalarField > | d () const |
Get the diameter field. More... | |
virtual tmp< volScalarField > | Av () const |
Get the surface area per unit volume field. More... | |
virtual void | correct () |
Correct the model. More... | |
virtual bool | read (const dictionary &diameterProperties) |
Read diameterProperties dictionary. More... | |
Public Member Functions inherited from diameterModel | |
TypeName ("diameterModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &diameterProperties, const phaseModel &phase),(diameterProperties, phase)) | |
diameterModel (const dictionary &diameterProperties, const phaseModel &phase) | |
Construct from dictionary and phase. More... | |
virtual | ~diameterModel () |
Destructor. More... | |
const dictionary & | diameterProperties () const |
Return the phase diameter properties dictionary. More... | |
const phaseModel & | phase () const |
Return the phase. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from diameterModel | |
static autoPtr< diameterModel > | New (const dictionary &diameterProperties, const phaseModel &phase) |
Select from dictionary and phase. More... | |
Computes the Sauter mean diameter based on a user specified size distribution, defined in terms of size class fractions. Intended for use with a population balance model to account for the evolution of a size distribution by means of coalescence, breakup, drift and nucleation.
diameterModel velocityGroup; velocityGroupCoeffs { populationBalance bubbles; shapeModel spherical; sizeGroups ( f1 {dSph 1e-3; value 1.0;} f2 {dSph 2e-3; value 0.0;} f3 {dSph 3e-3; value 0.0;} f4 {dSph 4e-3; value 0.0;} f5 {dSph 5e-3; value 0.0;} ... ); }
Definition at line 84 of file velocityGroup.H.
velocityGroup | ( | const dictionary & | diameterProperties, |
const phaseModel & | phase | ||
) |
Construct from dictionary and phase.
Definition at line 138 of file velocityGroup.C.
References populationBalanceModel::groups::insert(), DimensionedField< Type, GeoMesh >::mesh(), populationBalanceModel::groups::New(), and diameterModel::phase().
|
virtual |
Destructor.
Definition at line 172 of file velocityGroup.C.
TypeName | ( | "velocityGroup" | ) |
Runtime type information.
|
inline |
Return name of populationBalance this velocityGroup belongs to.
Definition at line 31 of file velocityGroupI.H.
Referenced by fractal::fractal(), sizeGroup::iNew::operator()(), and sizeGroup::sizeGroup().
const Foam::diameterModels::populationBalanceModel & popBal | ( | ) | const |
Return the populationBalance this velocityGroup belongs to.
Definition at line 179 of file velocityGroup.C.
References objectRegistry::lookupObject(), and populationBalanceModel::mesh().
Referenced by nucleationSizeGroupFvScalarFieldSource::sourceValue().
|
inline |
Return sizeGroups belonging to this velocityGroup.
Definition at line 38 of file velocityGroupI.H.
Referenced by phaseChange::addToDriftRate(), phaseChange::precompute(), and reactionDriven::reactionDriven().
|
inline |
Return sizeGroups belonging to this velocityGroup.
Definition at line 45 of file velocityGroupI.H.
|
virtual |
|
virtual |
Get the surface area per unit volume field.
Implements diameterModel.
Definition at line 197 of file velocityGroup.C.
References sizeGroup::a(), Foam::dimLength, forAll, Foam::inv(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), sizeGroup::x(), and Foam::Zero.
|
virtual |
Correct the model.
Reimplemented from diameterModel.
Definition at line 222 of file velocityGroup.C.
References Foam::endl(), pimpleNoLoopControl::finalIter(), populationBalanceModel::fluid(), forAll, Foam::Info, Foam::max(), Foam::min(), phaseSystem::pimple(), populationBalanceModel::solveOnFinalIterOnly(), and DimensionedField< Type, GeoMesh >::weightedAverage().
|
virtual |
Read diameterProperties dictionary.
Reimplemented from diameterModel.
Definition at line 265 of file velocityGroup.C.
References diameterModel::read().