Definition at line 47 of file dragModel.H.
Public Member Functions | |
TypeName ("dragModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict),(dict)) | |
dragModel (const dictionary &dict) | |
Construct from components.
| |
virtual | ~dragModel () |
virtual scalar | Cd (const scalar ReynoldsNumber, const scalar deviation) const =0 |
virtual scalar | relaxationTime (const vector &URel, const scalar diameter, const scalar rho, const scalar liquidDensity, const scalar nu, const scalar deviation) const =0 |
TypeName ("dragModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb),(interfaceDict, alpha, phasea, phaseb)) | |
dragModel (const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb) | |
virtual | ~dragModel () |
Destructor.
| |
virtual tmp< volScalarField > | K (const volScalarField &Ur) const =0 |
the dragfunction K used in the momentum eq.
| |
Static Public Member Functions | |
static autoPtr< dragModel > | New (const dictionary &dict) |
static autoPtr< dragModel > | New (const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb) |
Protected Attributes | |
const dictionary & | dict_ |
const dictionary & | interfaceDict_ |
const volScalarField & | alpha_ |
const phaseModel & | phasea_ |
const phaseModel & | phaseb_ |
dragModel | ( | const dictionary & | dict ) |
Construct from components.
Definition at line 47 of file dragModel.C.
~dragModel | ( | ) | [virtual]
|
Definition at line 56 of file dragModel.C.
dragModel | ( | const dictionary & | interfaceDict, |
const volScalarField & | alpha, | ||
const phaseModel & | phasea, | ||
const phaseModel & | phaseb | ||
) |
virtual ~dragModel | ( | ) | [virtual]
|
Destructor.
TypeName | ( | "dragModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
dragModel | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
autoPtr< dragModel > New | ( | const dictionary & | dict ) | [static]
|
Definition at line 39 of file newDragModel.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, dictionary::lookup(), and Foam::nl.
virtual scalar Cd | ( | const scalar | ReynoldsNumber, |
const scalar | deviation | ||
) | const [pure virtual]
|
Implemented in noDragModel, and standardDragModel.
virtual scalar relaxationTime | ( | const vector & | URel, |
const scalar | diameter, | ||
const scalar | rho, | ||
const scalar | liquidDensity, | ||
const scalar | nu, | ||
const scalar | deviation | ||
) | const [pure virtual]
|
Implemented in noDragModel, and standardDragModel.
TypeName | ( | "dragModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
dragModel | , | ||
dictionary | , | ||
(const dictionary &interfaceDict, const volScalarField &alpha, const phaseModel &phasea, const phaseModel &phaseb) | , | ||
(interfaceDict, alpha, phasea, phaseb) | |||
) |
static autoPtr<dragModel> New | ( | const dictionary & | interfaceDict, |
const volScalarField & | alpha, | ||
const phaseModel & | phasea, | ||
const phaseModel & | phaseb | ||
) | [static]
|
virtual tmp<volScalarField> K | ( | const volScalarField & | Ur ) | const [pure virtual]
|
the dragfunction K used in the momentum eq.
ddt(alpha*rhoa*Ua) + ... = ... alpha*beta*K*(Ua-Ub) ddt(beta*rhob*Ub) + ... = ... alpha*beta*K*(Ub-Ua) NB ! ***************************** for numerical reasons alpha and beta has been extracted from the dragFunction K, so you MUST divide K by alpha*beta when implementing the drag function NB ! *****************************
Implemented in Ergun, Gibilaro, GidaspowErgunWenYu, GidaspowSchillerNaumann, SchillerNaumann, SyamlalOBrien, and WenYu.
const dictionary& dict_ [protected]
|
Definition at line 54 of file dragModel.H.
const dictionary& interfaceDict_ [protected]
|
Definition at line 57 of file dragModel.H.
const volScalarField& alpha_ [protected]
|
Definition at line 58 of file dragModel.H.
const phaseModel& phasea_ [protected]
|
Definition at line 59 of file dragModel.H.
const phaseModel& phaseb_ [protected]
|
Definition at line 60 of file dragModel.H.