Properties to aid interFoam : 1. Correct the alpha boundary condition for dynamic contact angle. 2. Calculate interface curvature. More...
Public Member Functions | |
threePhaseInterfaceProperties (const incompressibleThreePhaseMixture &mixture) | |
Construct from volume fraction field alpha and IOdictionary. More... | |
scalar | cAlpha () const |
const dimensionedScalar & | deltaN () const |
const surfaceScalarField & | nHatf () const |
const volScalarField & | K () const |
tmp< volScalarField > | sigma () const |
tmp< volScalarField > | sigmaK () const |
tmp< surfaceScalarField > | surfaceTensionForce () const |
tmp< volScalarField > | nearInterface () 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 incompressibleThreePhaseMixture & | mixture_ |
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_ |
Properties to aid interFoam : 1. Correct the alpha boundary condition for dynamic contact angle. 2. Calculate interface curvature.
Definition at line 51 of file threePhaseInterfaceProperties.H.
|
private |
Disallow default bitwise copy construct and assignment.
threePhaseInterfaceProperties | ( | const incompressibleThreePhaseMixture & | mixture | ) |
Construct from volume fraction field alpha and IOdictionary.
|
private |
|
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
|
private |
Re-calculate the interface curvature.
Referenced by threePhaseInterfaceProperties::correct().
|
inline |
Definition at line 108 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::cAlpha_.
|
inline |
Definition at line 113 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::deltaN_.
|
inline |
Definition at line 118 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::nHatf_.
|
inline |
Definition at line 123 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::K_.
|
inline |
Definition at line 128 of file threePhaseInterfaceProperties.H.
References incompressibleThreePhaseMixture::alpha2(), incompressibleThreePhaseMixture::alpha3(), Foam::max(), threePhaseInterfaceProperties::mixture_, threePhaseInterfaceProperties::sigma12_, and threePhaseInterfaceProperties::sigma13_.
Referenced by threePhaseInterfaceProperties::sigmaK().
|
inline |
Definition at line 138 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::K_, and threePhaseInterfaceProperties::sigma().
tmp<surfaceScalarField> surfaceTensionForce | ( | ) | const |
tmp<volScalarField> nearInterface | ( | ) | const |
Indicator of the proximity of the interface.
Field values are 1 near and 0 away for the interface.
|
inline |
Definition at line 149 of file threePhaseInterfaceProperties.H.
References threePhaseInterfaceProperties::calculateK().
Referenced by immiscibleIncompressibleThreePhaseMixture::correct().
|
private |
Definition at line 55 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::sigma().
|
private |
Compression coefficient.
Definition at line 58 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::cAlpha().
|
private |
Surface tension 1-2.
Definition at line 61 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::sigma().
|
private |
Surface tension 1-3.
Definition at line 64 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::sigma().
|
private |
Stabilisation for normalisation of the interface normal.
Definition at line 67 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::deltaN().
|
private |
Definition at line 69 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::nHatf().
|
private |
Definition at line 70 of file threePhaseInterfaceProperties.H.
Referenced by threePhaseInterfaceProperties::K(), and threePhaseInterfaceProperties::sigmaK().
|
static |
Conversion factor for degrees into radians.
Definition at line 94 of file threePhaseInterfaceProperties.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.