Public Member Functions | Private Member Functions | Private Attributes
BlendedInterfacialModel< ModelType > Class Template Reference
Collaboration diagram for BlendedInterfacialModel< ModelType >:
Collaboration graph
[legend]

Public Member Functions

 BlendedInterfacialModel (const phaseModel &phase1, const phaseModel &phase2, const blendingMethod &blending, autoPtr< ModelType > model, autoPtr< ModelType > model1In2, autoPtr< ModelType > model2In1, const bool correctFixedFluxBCs=true)
 Construct from two phases, blending method and three models. More...
 
 BlendedInterfacialModel (const phasePair::dictTable &modelTable, const blendingMethod &blending, const phasePair &pair, const orderedPhasePair &pair1In2, const orderedPhasePair &pair2In1, const bool correctFixedFluxBCs=true)
 Construct from the model table, dictionary and pairs. More...
 
 ~BlendedInterfacialModel ()
 Destructor. More...
 
bool hasModel (const phaseModel &phase) const
 Return true if a model is specified for the supplied phase. More...
 
const ModelType & model (const phaseModel &phase) const
 Return the model for the supplied phase. More...
 
scalar sign (const phaseModel &phase) const
 Return the sign of the explicit value for the supplied phase. More...
 
tmp< volScalarFieldK () const
 Return the blended force coefficient. More...
 
tmp< volScalarFieldK (const scalar residualAlpha) const
 Return the blended force coefficient with a specified residual alpha. More...
 
tmp< surfaceScalarFieldKf () const
 Return the face blended force coefficient. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > F () const
 Return the blended force. More...
 
tmp< surfaceScalarFieldFf () const
 Return the face blended force. More...
 
tmp< volScalarFieldD () const
 Return the blended diffusivity. More...
 
 BlendedInterfacialModel (const phasePair::dictTable &modelTable, const blendingMethod &blending, const phasePair &pair, const orderedPhasePair &pair1In2, const orderedPhasePair &pair2In1, const bool correctFixedFluxBCs=true)
 Construct from the model table, dictionary and pairs. More...
 
 ~BlendedInterfacialModel ()
 Destructor. More...
 
bool hasModel (const phaseModel &phase) const
 Return true if a model is specified for the supplied phase. More...
 
const modelType & phaseModel (const phaseModel &phase) const
 Return the model for the supplied phase. More...
 
tmp< volScalarFieldK () const
 Return the blended force coefficient. More...
 
tmp< surfaceScalarFieldKf () const
 Return the face blended force coefficient. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > F () const
 Return the blended force. More...
 
tmp< surfaceScalarFieldFf () const
 Return the face blended force. More...
 
tmp< volScalarFieldD () const
 Return the blended diffusivity. More...
 

Private Member Functions

 BlendedInterfacialModel (const BlendedInterfacialModel< ModelType > &)
 Disallow default bitwise copy construct. More...
 
void operator= (const BlendedInterfacialModel< ModelType > &)
 Disallow default bitwise assignment. More...
 
template<class GeometricField >
void correctFixedFluxBCs (GeometricField &field) const
 Correct coeff/value on fixed flux boundary conditions. More...
 
 BlendedInterfacialModel (const BlendedInterfacialModel< modelType > &)
 Disallow default bitwise copy construct. More...
 
void operator= (const BlendedInterfacialModel< modelType > &)
 Disallow default bitwise assignment. More...
 
template<class GeometricField >
void correctFixedFluxBCs (GeometricField &field) const
 Correct coeff/value on fixed flux boundary conditions. More...
 

Private Attributes

const phaseModelphase1_
 Reference to phase 1. More...
 
const phaseModelphase2_
 Reference to phase 2. More...
 
const blendingMethodblending_
 Blending model. More...
 
autoPtr< ModelType > model_
 Model for region with no obvious dispersed phase. More...
 
autoPtr< ModelType > model1In2_
 Model for dispersed phase 1 in continuous phase 2. More...
 
autoPtr< ModelType > model2In1_
 Model for dispersed phase 2 in continuous phase 1. More...
 
bool correctFixedFluxBCs_
 If true set coefficients and forces to 0 at fixed-flux BCs. More...
 
const phasePairpair_
 Unordered phase pair. More...
 
const orderedPhasePairpair1In2_
 Ordered phase pair for dispersed phase 1 in continuous phase 2. More...
 
const orderedPhasePairpair2In1_
 Ordered phase pair for dispersed phase 2 in continuous phase 1. More...
 
autoPtr< modelType > model_
 Model for region with no obvious dispersed phase. More...
 
autoPtr< modelType > model1In2_
 Model for dispersed phase 1 in continuous phase 2. More...
 
autoPtr< modelType > model2In1_
 Model for dispersed phase 2 in continuous phase 1. More...
 

Detailed Description

template<class ModelType>
class Foam::BlendedInterfacialModel< ModelType >

Source files

Source files

Definition at line 52 of file BlendedInterfacialModel.H.

Constructor & Destructor Documentation

◆ BlendedInterfacialModel() [1/5]

BlendedInterfacialModel ( const BlendedInterfacialModel< ModelType > &  )
private

Disallow default bitwise copy construct.

◆ BlendedInterfacialModel() [2/5]

BlendedInterfacialModel ( const phaseModel phase1,
const phaseModel phase2,
const blendingMethod blending,
autoPtr< ModelType >  model,
autoPtr< ModelType >  model1In2,
autoPtr< ModelType >  model2In1,
const bool  correctFixedFluxBCs = true 
)

Construct from two phases, blending method and three models.

◆ BlendedInterfacialModel() [3/5]

BlendedInterfacialModel ( const phasePair::dictTable modelTable,
const blendingMethod blending,
const phasePair pair,
const orderedPhasePair pair1In2,
const orderedPhasePair pair2In1,
const bool  correctFixedFluxBCs = true 
)

Construct from the model table, dictionary and pairs.

◆ ~BlendedInterfacialModel() [1/2]

Destructor.

◆ BlendedInterfacialModel() [4/5]

BlendedInterfacialModel ( const BlendedInterfacialModel< modelType > &  )
private

Disallow default bitwise copy construct.

◆ BlendedInterfacialModel() [5/5]

BlendedInterfacialModel ( const phasePair::dictTable modelTable,
const blendingMethod blending,
const phasePair pair,
const orderedPhasePair pair1In2,
const orderedPhasePair pair2In1,
const bool  correctFixedFluxBCs = true 
)

Construct from the model table, dictionary and pairs.

◆ ~BlendedInterfacialModel() [2/2]

Destructor.

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const BlendedInterfacialModel< ModelType > &  )
private

Disallow default bitwise assignment.

◆ correctFixedFluxBCs() [1/2]

void correctFixedFluxBCs ( GeometricField field) const
private

Correct coeff/value on fixed flux boundary conditions.

◆ hasModel() [1/2]

bool hasModel ( const phaseModel phase) const

Return true if a model is specified for the supplied phase.

◆ model()

const ModelType& model ( const phaseModel phase) const

Return the model for the supplied phase.

◆ sign()

scalar sign ( const phaseModel phase) const

Return the sign of the explicit value for the supplied phase.

◆ K() [1/3]

tmp<volScalarField> K ( ) const

Return the blended force coefficient.

◆ K() [2/3]

tmp<volScalarField> K ( const scalar  residualAlpha) const

Return the blended force coefficient with a specified residual alpha.

◆ Kf() [1/2]

tmp<surfaceScalarField> Kf ( ) const

Return the face blended force coefficient.

◆ F() [1/2]

tmp<GeometricField<Type, fvPatchField, volMesh> > F ( ) const

Return the blended force.

◆ Ff() [1/2]

tmp<surfaceScalarField> Ff ( ) const

Return the face blended force.

◆ D() [1/2]

tmp<volScalarField> D ( ) const

Return the blended diffusivity.

◆ operator=() [2/2]

void operator= ( const BlendedInterfacialModel< modelType > &  )
private

Disallow default bitwise assignment.

◆ correctFixedFluxBCs() [2/2]

void correctFixedFluxBCs ( GeometricField field) const
private

Correct coeff/value on fixed flux boundary conditions.

◆ hasModel() [2/2]

bool hasModel ( const phaseModel phase) const

Return true if a model is specified for the supplied phase.

◆ phaseModel()

const modelType& phaseModel ( const phaseModel phase) const

Return the model for the supplied phase.

◆ K() [3/3]

tmp<volScalarField> K ( ) const

Return the blended force coefficient.

◆ Kf() [2/2]

tmp<surfaceScalarField> Kf ( ) const

Return the face blended force coefficient.

◆ F() [2/2]

tmp<GeometricField<Type, fvPatchField, volMesh> > F ( ) const

Return the blended force.

◆ Ff() [2/2]

tmp<surfaceScalarField> Ff ( ) const

Return the face blended force.

◆ D() [2/2]

tmp<volScalarField> D ( ) const

Return the blended diffusivity.

Field Documentation

◆ phase1_

const phaseModel& phase1_
private

Reference to phase 1.

Definition at line 57 of file BlendedInterfacialModel.H.

◆ phase2_

const phaseModel& phase2_
private

Reference to phase 2.

Definition at line 60 of file BlendedInterfacialModel.H.

◆ blending_

const blendingMethod & blending_
private

Blending model.

Definition at line 63 of file BlendedInterfacialModel.H.

◆ model_ [1/2]

autoPtr<ModelType> model_
private

Model for region with no obvious dispersed phase.

Definition at line 66 of file BlendedInterfacialModel.H.

◆ model1In2_ [1/2]

autoPtr<ModelType> model1In2_
private

Model for dispersed phase 1 in continuous phase 2.

Definition at line 69 of file BlendedInterfacialModel.H.

◆ model2In1_ [1/2]

autoPtr<ModelType> model2In1_
private

Model for dispersed phase 2 in continuous phase 1.

Definition at line 72 of file BlendedInterfacialModel.H.

◆ correctFixedFluxBCs_

bool correctFixedFluxBCs_
private

If true set coefficients and forces to 0 at fixed-flux BCs.

Definition at line 75 of file BlendedInterfacialModel.H.

◆ pair_

const phasePair& pair_
private

Unordered phase pair.

Definition at line 57 of file BlendedInterfacialModel.H.

◆ pair1In2_

const orderedPhasePair& pair1In2_
private

Ordered phase pair for dispersed phase 1 in continuous phase 2.

Definition at line 60 of file BlendedInterfacialModel.H.

◆ pair2In1_

const orderedPhasePair& pair2In1_
private

Ordered phase pair for dispersed phase 2 in continuous phase 1.

Definition at line 63 of file BlendedInterfacialModel.H.

◆ model_ [2/2]

autoPtr<modelType> model_
private

Model for region with no obvious dispersed phase.

Definition at line 66 of file BlendedInterfacialModel.H.

◆ model1In2_ [2/2]

autoPtr<modelType> model1In2_
private

Model for dispersed phase 1 in continuous phase 2.

Definition at line 69 of file BlendedInterfacialModel.H.

◆ model2In1_ [2/2]

autoPtr<modelType> model2In1_
private

Model for dispersed phase 2 in continuous phase 1.

Definition at line 72 of file BlendedInterfacialModel.H.


The documentation for this class was generated from the following file: