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< volScalarField > | K () const |
Return the blended force coefficient. More... | |
tmp< volScalarField > | K (const scalar residualAlpha) const |
Return the blended force coefficient with a specified residual alpha. More... | |
tmp< surfaceScalarField > | Kf () const |
Return the face blended force coefficient. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | F () const |
Return the blended force. More... | |
tmp< surfaceScalarField > | Ff () const |
Return the face blended force. More... | |
tmp< volScalarField > | D () 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< volScalarField > | K () const |
Return the blended force coefficient. More... | |
tmp< surfaceScalarField > | Kf () const |
Return the face blended force coefficient. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | F () const |
Return the blended force. More... | |
tmp< surfaceScalarField > | Ff () const |
Return the face blended force. More... | |
tmp< volScalarField > | D () 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 phaseModel & | phase1_ |
Reference to phase 1. More... | |
const phaseModel & | phase2_ |
Reference to phase 2. More... | |
const blendingMethod & | blending_ |
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 phasePair & | pair_ |
Unordered phase pair. More... | |
const orderedPhasePair & | pair1In2_ |
Ordered phase pair for dispersed phase 1 in continuous phase 2. More... | |
const orderedPhasePair & | pair2In1_ |
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... | |
Definition at line 52 of file BlendedInterfacialModel.H.
|
private |
Disallow default bitwise copy construct.
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 | ( | 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.
Destructor.
|
private |
Disallow default bitwise copy construct.
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.
Destructor.
|
private |
Disallow default bitwise assignment.
|
private |
Correct coeff/value on fixed flux boundary conditions.
bool hasModel | ( | const phaseModel & | phase | ) | const |
Return true if a model is specified for the supplied phase.
const ModelType& model | ( | const phaseModel & | phase | ) | const |
Return the model for the supplied phase.
scalar sign | ( | const phaseModel & | phase | ) | const |
Return the sign of the explicit value for the supplied phase.
tmp<volScalarField> K | ( | ) | const |
Return the blended force coefficient.
tmp<volScalarField> K | ( | const scalar | residualAlpha | ) | const |
Return the blended force coefficient with a specified residual alpha.
tmp<surfaceScalarField> Kf | ( | ) | const |
Return the face blended force coefficient.
tmp<GeometricField<Type, fvPatchField, volMesh> > F | ( | ) | const |
Return the blended force.
tmp<surfaceScalarField> Ff | ( | ) | const |
Return the face blended force.
tmp<volScalarField> D | ( | ) | const |
Return the blended diffusivity.
|
private |
Disallow default bitwise assignment.
|
private |
Correct coeff/value on fixed flux boundary conditions.
bool hasModel | ( | const phaseModel & | phase | ) | const |
Return true if a model is specified for the supplied phase.
const modelType& phaseModel | ( | const phaseModel & | phase | ) | const |
Return the model for the supplied phase.
tmp<volScalarField> K | ( | ) | const |
Return the blended force coefficient.
tmp<surfaceScalarField> Kf | ( | ) | const |
Return the face blended force coefficient.
tmp<GeometricField<Type, fvPatchField, volMesh> > F | ( | ) | const |
Return the blended force.
tmp<surfaceScalarField> Ff | ( | ) | const |
Return the face blended force.
tmp<volScalarField> D | ( | ) | const |
Return the blended diffusivity.
|
private |
Reference to phase 1.
Definition at line 57 of file BlendedInterfacialModel.H.
|
private |
Reference to phase 2.
Definition at line 60 of file BlendedInterfacialModel.H.
|
private |
Blending model.
Definition at line 63 of file BlendedInterfacialModel.H.
|
private |
Model for region with no obvious dispersed phase.
Definition at line 66 of file BlendedInterfacialModel.H.
|
private |
Model for dispersed phase 1 in continuous phase 2.
Definition at line 69 of file BlendedInterfacialModel.H.
|
private |
Model for dispersed phase 2 in continuous phase 1.
Definition at line 72 of file BlendedInterfacialModel.H.
|
private |
If true set coefficients and forces to 0 at fixed-flux BCs.
Definition at line 75 of file BlendedInterfacialModel.H.
|
private |
Unordered phase pair.
Definition at line 57 of file BlendedInterfacialModel.H.
|
private |
Ordered phase pair for dispersed phase 1 in continuous phase 2.
Definition at line 60 of file BlendedInterfacialModel.H.
|
private |
Ordered phase pair for dispersed phase 2 in continuous phase 1.
Definition at line 63 of file BlendedInterfacialModel.H.
|
private |
Model for region with no obvious dispersed phase.
Definition at line 66 of file BlendedInterfacialModel.H.
|
private |
Model for dispersed phase 1 in continuous phase 2.
Definition at line 69 of file BlendedInterfacialModel.H.
|
private |
Model for dispersed phase 2 in continuous phase 1.
Definition at line 72 of file BlendedInterfacialModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.