A diameter model which switches form constant diameter to constant residual diameter when the volume fraction of the phase is below residualAlpha. More...


Public Member Functions | |
| TypeName ("residualDiameter") | |
| Runtime type information. More... | |
| residualDiameter (const dictionary &diameterProperties, const phaseModel &phase) | |
| virtual | ~residualDiameter () |
| Destructor. More... | |
| virtual tmp< volScalarField > | d () const |
| Get the diameter field. More... | |
| virtual bool | read (const dictionary &diameterProperties) |
| Read diameterProperties dictionary. More... | |
Public Member Functions inherited from spherical | |
| TypeName ("spherical") | |
| Runtime type information. More... | |
| spherical (const dictionary &diameterProperties, const phaseModel &phase) | |
| Construct from dictionary and phase. More... | |
| virtual | ~spherical () |
| Destructor. More... | |
| virtual tmp< volScalarField > | Av () const |
| Get the surface area per unit volume field. 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... | |
| virtual void | correct () |
| Correct the model. 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... | |
A diameter model which switches form constant diameter to constant residual diameter when the volume fraction of the phase is below residualAlpha.
A typical use case for this is to set a small residual diameter to prevent excessive phase velocities in regions where the phase volume fraction is small.
Definition at line 55 of file residualDiameter.H.
| residualDiameter | ( | const dictionary & | diameterProperties, |
| const phaseModel & | phase | ||
| ) |
Definition at line 49 of file residualDiameter.C.
|
virtual |
Destructor.
Definition at line 63 of file residualDiameter.C.
| TypeName | ( | "residualDiameter" | ) |
Runtime type information.
|
virtual |
Get the diameter field.
Implements diameterModel.
Definition at line 69 of file residualDiameter.C.
References Foam::neg(), and Foam::pos0().

|
virtual |
Read diameterProperties dictionary.
Reimplemented from diameterModel.
Definition at line 78 of file residualDiameter.C.
References diameterModel::read().
