Loading...
Searching...
No Matches
blended Class Reference

Blends two drag models based on the phase fractions to handle phase-inversion. More...

#include <blended.H>

Inheritance diagram for blended:
Collaboration diagram for blended:

Public Member Functions

 TypeName ("blended")
 Runtime type information.
 blended (const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
 Construct from components.
virtual ~blended ()=default
 Destructor.
tmp< volScalarFieldK (const volScalarField &Ur) const
 The drag function K used in the momentum eq.
Public Member Functions inherited from dragModel
 TypeName ("dragModel")
 Runtime type information.
 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.
const phaseModelphase1 () const
const phaseModelphase2 () const
const dimensionedScalarresidualPhaseFraction () const
const dimensionedScalarresidualSlip () const

Additional Inherited Members

Static Public Member Functions inherited from dragModel
static autoPtr< dragModelNew (const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
Protected Attributes inherited from dragModel
const dictionaryinterfaceDict_
const phaseModelphase1_
const phaseModelphase2_
dimensionedScalar residualPhaseFraction_
dimensionedScalar residualSlip_

Detailed Description

Blends two drag models based on the phase fractions to handle phase-inversion.

Source files

Definition at line 52 of file blended.H.

Constructor & Destructor Documentation

◆ blended()

blended ( const dictionary & interfaceDict,
const phaseModel & phase1,
const phaseModel & phase2 )

Construct from components.

Definition at line 48 of file blended.C.

References dragModel::dragModel(), Foam::name(), dragModel::New(), dragModel::phase1(), and dragModel::phase2().

Here is the call graph for this function:

◆ ~blended()

virtual ~blended ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "blended" )

Runtime type information.

References dragModel::phase1(), and dragModel::phase2().

Here is the call graph for this function:

◆ K()

Foam::tmp< Foam::volScalarField > K ( const volScalarField & Ur) const
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 63 of file blended.C.

References phase1, and phase2.


The documentation for this class was generated from the following files:
  • src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/blended/blended.H
  • src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/blended/blended.C