Base-class for sub-grid obstacle drag models. The available drag model is at basic.H. More...
Base-class for sub-grid obstacle drag models. The available drag model is at basic.H.
Definition at line 54 of file PDRDragModel.H.
Public Member Functions | |
TypeName ("PDRDragModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, PDRDragModel, dictionary,(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi),(PDRProperties, turbulence, rho, U, phi)) | |
PDRDragModel (const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components.
| |
virtual | ~PDRDragModel () |
bool | on () const |
Return true if the drag model is switched on.
| |
virtual tmp< volSymmTensorField > | Dcu () const =0 |
Return the momentum drag coefficient.
| |
virtual tmp< volScalarField > | Gk () const =0 |
Return the momentum drag turbulence generation rate.
| |
virtual bool | read (const dictionary &PDRProperties)=0 |
Update properties from given dictionary.
| |
virtual bool | writeData (Ostream &) const |
Pure virtual writaData function.
| |
Static Public Member Functions | |
static autoPtr< PDRDragModel > | New (const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi) |
Return a reference to the selected Xi model.
| |
Protected Attributes | |
dictionary | PDRDragModelCoeffs_ |
const compressible::RASModel & | turbulence_ |
const volScalarField & | rho_ |
const volVectorField & | U_ |
const surfaceScalarField & | phi_ |
Switch | on_ |
PDRDragModel | ( | const dictionary & | PDRProperties, |
const compressible::RASModel & | turbulence, | ||
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
virtual ~PDRDragModel | ( | ) | [virtual]
|
TypeName | ( | "PDRDragModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
PDRDragModel | , | ||
dictionary | , | ||
(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi) | , | ||
(PDRProperties, turbulence, rho, U, phi) | |||
) |
static autoPtr<PDRDragModel> New | ( | const dictionary & | PDRProperties, |
const compressible::RASModel & | turbulence, | ||
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) | [static]
|
Return a reference to the selected Xi model.
bool on | ( | ) | const [inline]
|
Return true if the drag model is switched on.
Definition at line 148 of file PDRDragModel.H.
References PDRDragModel::on_.
virtual tmp<volSymmTensorField> Dcu | ( | ) | const [pure virtual]
|
Return the momentum drag coefficient.
Implemented in basic.
virtual tmp<volScalarField> Gk | ( | ) | const [pure virtual]
|
Return the momentum drag turbulence generation rate.
Implemented in basic.
virtual bool read | ( | const dictionary & | PDRProperties ) | [pure virtual]
|
Update properties from given dictionary.
Implemented in basic.
virtual bool writeData | ( | Ostream & | ) | const [inline, virtual]
|
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Definition at line 162 of file PDRDragModel.H.
dictionary PDRDragModelCoeffs_ [protected]
|
Definition at line 63 of file PDRDragModel.H.
const compressible::RASModel& turbulence_ [protected]
|
Definition at line 65 of file PDRDragModel.H.
const volScalarField& rho_ [protected]
|
Definition at line 66 of file PDRDragModel.H.
const volVectorField& U_ [protected]
|
Definition at line 67 of file PDRDragModel.H.
const surfaceScalarField& phi_ [protected]
|
Definition at line 68 of file PDRDragModel.H.
Definition at line 70 of file PDRDragModel.H.
Referenced by PDRDragModel::on().