Contains the interface properties. More...
Public Member Functions | |
interfaceProperties (const volScalarField &alpha1, const volVectorField &U, const IOdictionary &) | |
Construct from volume fraction field gamma and IOdictionary. More... | |
scalar | cAlpha () const |
const dimensionedScalar & | deltaN () const |
const surfaceScalarField & | nHatf () const |
const volScalarField & | K () const |
const dimensionedScalar & | sigma () const |
tmp< volScalarField > | sigmaK () const |
tmp< surfaceScalarField > | surfaceTensionForce () const |
tmp< volScalarField > | nearInterface () const |
Indicator of the proximity of the interface. More... | |
void | correct () |
bool | read () |
Read transportProperties dictionary. More... | |
Static Public Attributes | |
static const scalar | convertToRad |
Conversion factor for degrees into radians. More... | |
Private Member Functions | |
interfaceProperties (const interfaceProperties &) | |
Disallow default bitwise copy construct and assignment. More... | |
void | operator= (const interfaceProperties &) |
void | correctContactAngle (surfaceVectorField::GeometricBoundaryField &nHat, surfaceVectorField::GeometricBoundaryField &gradAlphaf) const |
Correction for the boundary condition on the unit normal nHat on. More... | |
void | calculateK () |
Re-calculate the interface curvature. More... | |
Private Attributes | |
const dictionary & | transportPropertiesDict_ |
Keep a reference to the transportProperties dictionary. More... | |
scalar | cAlpha_ |
Compression coefficient. More... | |
dimensionedScalar | sigma_ |
Surface tension. More... | |
const dimensionedScalar | deltaN_ |
Stabilisation for normalisation of the interface normal. More... | |
const volScalarField & | alpha1_ |
const volVectorField & | U_ |
surfaceScalarField | nHatf_ |
volScalarField | K_ |
Contains the interface properties.
Definition at line 54 of file interfaceProperties.H.
|
private |
Disallow default bitwise copy construct and assignment.
interfaceProperties | ( | const volScalarField & | alpha1, |
const volVectorField & | U, | ||
const IOdictionary & | dict | ||
) |
Construct from volume fraction field gamma and IOdictionary.
Definition at line 161 of file interfaceProperties.C.
|
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
Definition at line 54 of file interfaceProperties.C.
References Foam::acos(), Foam::constant::physicoChemical::b, boundary(), Foam::cos(), Foam::det(), alphaContactAngleFvPatchScalarField::evaluate(), forAll, Foam::mag(), mesh, patchi, alphaContactAngleFvPatchScalarField::theta(), and dimensioned::value().
Referenced by interfaceProperties::calculateK().
|
private |
Re-calculate the interface curvature.
Definition at line 114 of file interfaceProperties.C.
References interfaceProperties::alpha1_, GeometricField::boundaryField(), interfaceProperties::correctContactAngle(), interfaceProperties::deltaN_, Foam::fvc::div(), Foam::fvc::grad(), Foam::fvc::interpolate(), interfaceProperties::K_, Foam::mag(), mesh, and interfaceProperties::nHatf_.
Referenced by interfaceProperties::correct().
|
inline |
Definition at line 114 of file interfaceProperties.H.
References interfaceProperties::cAlpha_.
|
inline |
Definition at line 119 of file interfaceProperties.H.
References interfaceProperties::deltaN_.
|
inline |
Definition at line 124 of file interfaceProperties.H.
References interfaceProperties::nHatf_.
|
inline |
Definition at line 129 of file interfaceProperties.H.
References interfaceProperties::K_.
|
inline |
Definition at line 134 of file interfaceProperties.H.
References interfaceProperties::sigma_.
|
inline |
Definition at line 139 of file interfaceProperties.H.
References interfaceProperties::K_, and interfaceProperties::sigma_.
Foam::tmp< Foam::surfaceScalarField > surfaceTensionForce | ( | ) | const |
Definition at line 217 of file interfaceProperties.C.
References Foam::fvc::interpolate(), and Foam::fvc::snGrad().
Foam::tmp< Foam::volScalarField > nearInterface | ( | ) | const |
Indicator of the proximity of the interface.
Field values are 1 near and 0 away for the interface.
Definition at line 224 of file interfaceProperties.C.
References Foam::pos().
|
inline |
Definition at line 150 of file interfaceProperties.H.
References interfaceProperties::calculateK().
Referenced by immiscibleIncompressibleTwoPhaseMixture::correct().
bool read | ( | ) |
Read transportProperties dictionary.
Definition at line 230 of file interfaceProperties.C.
Referenced by immiscibleIncompressibleTwoPhaseMixture::read().
|
private |
Keep a reference to the transportProperties dictionary.
Definition at line 59 of file interfaceProperties.H.
|
private |
Compression coefficient.
Definition at line 62 of file interfaceProperties.H.
Referenced by interfaceProperties::cAlpha().
|
private |
Surface tension.
Definition at line 65 of file interfaceProperties.H.
Referenced by interfaceProperties::sigma(), and interfaceProperties::sigmaK().
|
private |
Stabilisation for normalisation of the interface normal.
Definition at line 68 of file interfaceProperties.H.
Referenced by interfaceProperties::calculateK(), and interfaceProperties::deltaN().
|
private |
Definition at line 70 of file interfaceProperties.H.
Referenced by interfaceProperties::calculateK().
|
private |
Definition at line 71 of file interfaceProperties.H.
|
private |
Definition at line 72 of file interfaceProperties.H.
Referenced by interfaceProperties::calculateK(), and interfaceProperties::nHatf().
|
private |
Definition at line 73 of file interfaceProperties.H.
Referenced by interfaceProperties::calculateK(), interfaceProperties::K(), and interfaceProperties::sigmaK().
|
static |
Conversion factor for degrees into radians.
Definition at line 98 of file interfaceProperties.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.