Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
threePhaseInterfaceProperties Class Reference

Properties to aid interFoam : 1. Correct the alpha boundary condition for dynamic contact angle. 2. Calculate interface curvature. More...

Inheritance diagram for threePhaseInterfaceProperties:
Inheritance graph
[legend]
Collaboration diagram for threePhaseInterfaceProperties:
Collaboration graph
[legend]

Public Member Functions

 threePhaseInterfaceProperties (const incompressibleThreePhaseMixture &mixture)
 Construct from volume fraction field alpha and IOdictionary. More...
 
scalar cAlpha () const
 
const dimensionedScalardeltaN () const
 
const surfaceScalarFieldnHatf () const
 
const volScalarFieldK () const
 
tmp< volScalarFieldsigma () const
 
tmp< volScalarFieldsigmaK () const
 
tmp< surfaceScalarFieldsurfaceTensionForce () const
 
tmp< volScalarFieldnearInterface () const
 Indicator of the proximity of the interface. More...
 
void correct ()
 

Static Public Attributes

static const scalar convertToRad
 Conversion factor for degrees into radians. More...
 

Private Member Functions

 threePhaseInterfaceProperties (const threePhaseInterfaceProperties &)
 Disallow default bitwise copy construct and assignment. More...
 
void operator= (const threePhaseInterfaceProperties &)
 
void correctContactAngle (surfaceVectorField::GeometricBoundaryField &nHat) const
 Correction for the boundary condition on the unit normal nHat on. More...
 
void calculateK ()
 Re-calculate the interface curvature. More...
 

Private Attributes

const incompressibleThreePhaseMixturemixture_
 
scalar cAlpha_
 Compression coefficient. More...
 
dimensionedScalar sigma12_
 Surface tension 1-2. More...
 
dimensionedScalar sigma13_
 Surface tension 1-3. More...
 
const dimensionedScalar deltaN_
 Stabilisation for normalisation of the interface normal. More...
 
surfaceScalarField nHatf_
 
volScalarField K_
 

Detailed Description

Properties to aid interFoam : 1. Correct the alpha boundary condition for dynamic contact angle. 2. Calculate interface curvature.

Source files

Definition at line 51 of file threePhaseInterfaceProperties.H.

Constructor & Destructor Documentation

◆ threePhaseInterfaceProperties() [1/2]

Disallow default bitwise copy construct and assignment.

◆ threePhaseInterfaceProperties() [2/2]

Construct from volume fraction field alpha and IOdictionary.

Member Function Documentation

◆ operator=()

void operator= ( const threePhaseInterfaceProperties )
private

◆ correctContactAngle()

void correctContactAngle ( surfaceVectorField::GeometricBoundaryField nHat) const
private

Correction for the boundary condition on the unit normal nHat on.

walls to produce the correct contact dynamic angle. Calculated from the component of U parallel to the wall

◆ calculateK()

void calculateK ( )
private

Re-calculate the interface curvature.

Referenced by threePhaseInterfaceProperties::correct().

Here is the caller graph for this function:

◆ cAlpha()

scalar cAlpha ( ) const
inline

◆ deltaN()

const dimensionedScalar& deltaN ( ) const
inline

◆ nHatf()

const surfaceScalarField& nHatf ( ) const
inline

◆ K()

const volScalarField& K ( ) const
inline

◆ sigma()

tmp<volScalarField> sigma ( ) const
inline

◆ sigmaK()

tmp<volScalarField> sigmaK ( ) const
inline

Definition at line 138 of file threePhaseInterfaceProperties.H.

References threePhaseInterfaceProperties::K_, and threePhaseInterfaceProperties::sigma().

Here is the call graph for this function:

◆ surfaceTensionForce()

tmp<surfaceScalarField> surfaceTensionForce ( ) const

◆ nearInterface()

tmp<volScalarField> nearInterface ( ) const

Indicator of the proximity of the interface.

Field values are 1 near and 0 away for the interface.

◆ correct()

void correct ( )
inline

Definition at line 149 of file threePhaseInterfaceProperties.H.

References threePhaseInterfaceProperties::calculateK().

Referenced by immiscibleIncompressibleThreePhaseMixture::correct().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ mixture_

const incompressibleThreePhaseMixture& mixture_
private

◆ cAlpha_

scalar cAlpha_
private

Compression coefficient.

Definition at line 58 of file threePhaseInterfaceProperties.H.

Referenced by threePhaseInterfaceProperties::cAlpha().

◆ sigma12_

dimensionedScalar sigma12_
private

Surface tension 1-2.

Definition at line 61 of file threePhaseInterfaceProperties.H.

Referenced by threePhaseInterfaceProperties::sigma().

◆ sigma13_

dimensionedScalar sigma13_
private

Surface tension 1-3.

Definition at line 64 of file threePhaseInterfaceProperties.H.

Referenced by threePhaseInterfaceProperties::sigma().

◆ deltaN_

const dimensionedScalar deltaN_
private

Stabilisation for normalisation of the interface normal.

Definition at line 67 of file threePhaseInterfaceProperties.H.

Referenced by threePhaseInterfaceProperties::deltaN().

◆ nHatf_

surfaceScalarField nHatf_
private

◆ K_

volScalarField K_
private

◆ convertToRad

const scalar convertToRad
static

Conversion factor for degrees into radians.

Definition at line 94 of file threePhaseInterfaceProperties.H.


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