Drag between phase separated by a VoF resolved interface. More...
Public Member Functions | |
TypeName ("interface") | |
Runtime type information. More... | |
interface (const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2) | |
Construct from components. More... | |
virtual | ~interface ()=default |
Destructor. More... | |
tmp< volScalarField > | K (const volScalarField &Ur) const |
The drag function K used in the momentum eq. More... | |
Public Member Functions inherited from dragModel | |
TypeName ("dragModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2),(interfaceDict, phase1, phase2)) | |
dragModel (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2) | |
virtual | ~dragModel ()=default |
Destructor. More... | |
const phaseModel & | phase1 () const |
const phaseModel & | phase2 () const |
const dimensionedScalar & | residualPhaseFraction () const |
const dimensionedScalar & | residualSlip () const |
TypeName ("dragModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject)) | |
dragModel (const phasePair &pair, const bool registerObject) | |
dragModel (const dictionary &dict, const phasePair &pair, const bool registerObject) | |
virtual | ~dragModel () |
Destructor. More... | |
virtual tmp< volScalarField > | CdRe () const =0 |
Drag coefficient. More... | |
virtual tmp< volScalarField > | Ki () const |
Return the phase-intensive drag coefficient Ki. More... | |
virtual tmp< volScalarField > | K () const |
Return the drag coefficient K. More... | |
virtual tmp< surfaceScalarField > | Kf () const |
Return the drag coefficient Kf. More... | |
bool | writeData (Ostream &os) const |
Dummy write for regIOobject. More... | |
TypeName ("dragModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, dragModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject)) | |
dragModel (const phasePair &pair, const bool registerObject) | |
dragModel (const dictionary &dict, const phasePair &pair, const bool registerObject) | |
virtual | ~dragModel () |
Destructor. More... | |
virtual tmp< volScalarField > | CdRe () const =0 |
Drag coefficient. More... | |
virtual tmp< volScalarField > | Ki () const |
Return the phase-intensive drag coefficient Ki. More... | |
virtual tmp< volScalarField > | K () const |
Return the drag coefficient K. More... | |
virtual tmp< surfaceScalarField > | Kf () const |
Return the drag coefficient Kf. More... | |
bool | writeData (Ostream &os) const |
Dummy write for regIOobject. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from dragModel | |
static autoPtr< dragModel > | New (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2) |
static autoPtr< dragModel > | New (const dictionary &dict, const phasePair &pair) |
static autoPtr< dragModel > | New (const dictionary &dict, const phasePair &pair) |
Static Public Attributes inherited from dragModel | |
static const dimensionSet | dimK |
Coefficient dimensions. More... | |
Protected Attributes inherited from dragModel | |
const dictionary & | interfaceDict_ |
const phaseModel & | phase1_ |
const phaseModel & | phase2_ |
dimensionedScalar | residualPhaseFraction_ |
dimensionedScalar | residualSlip_ |
const phasePair & | pair_ |
Phase pair. More... | |
autoPtr< swarmCorrection > | swarmCorrection_ |
Swarm correction. More... | |
Drag between phase separated by a VoF resolved interface.
Definition at line 52 of file interface.H.
interface | ( | const dictionary & | interfaceDict, |
const phaseModel & | phase1, | ||
const phaseModel & | phase2 | ||
) |
Construct from components.
Definition at line 53 of file interface.C.
|
virtualdefault |
Destructor.
TypeName | ( | "interface" | ) |
Runtime type information.
|
virtual |
The drag function K used in the momentum eq.
ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(U1-U2) ddt(alpha2*rho2*U2) + ... = ... alpha1*alpha2*K*(U2-U1) NB! ***************************** for numerical reasons alpha1 and alpha2 has been extracted from the dragFunction K, so you MUST divide K by alpha1*alpha2 when implementing the drag function NB! *****************************
Implements dragModel.
Definition at line 66 of file interface.C.
References Foam::dimDensity, Foam::dimTime, Foam::New(), and Foam::Zero.