Abstract base class for two-phase alphaContactAngle boundary conditions. More...
Public Types | |
enum | limitControls { lcNone, lcGradient, lcZeroGradient, lcAlpha } |
Public Member Functions | |
alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &) | |
alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
virtual tmp< scalarField > | theta (const fvPatchVectorField &Up, const fvsPatchVectorField &nHat) const =0 |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) |
virtual void | write (Ostream &os) const |
Public Attributes | |
limitControls | limit_ |
Static Public Attributes | |
static const Enum< limitControls > | limitControlNames_ |
Abstract base class for two-phase alphaContactAngle boundary conditions.
Derived classes must implement the theta() function which returns the wall contact angle field.
The essential entry "limit" controls the gradient of alpha1 on the wall:
Note that if any of the first three options are used the boundary condition on p_rgh
must set to guarantee that the flux is corrected to be zero at the wall e.g.:
<patchName> { type alphaContactAngle; limit none; }
Definition at line 74 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
enum limitControls |
Enumerator | |
---|---|
lcNone | |
lcGradient | |
lcZeroGradient | |
lcAlpha |
Definition at line 83 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
alphaContactAngleTwoPhaseFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 45 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
alphaContactAngleTwoPhaseFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 57 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References dict, Foam::stringOps::evaluate(), and p.
alphaContactAngleTwoPhaseFvPatchScalarField | ( | const alphaContactAngleTwoPhaseFvPatchScalarField & | acpsf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 82 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
alphaContactAngleTwoPhaseFvPatchScalarField | ( | const alphaContactAngleTwoPhaseFvPatchScalarField & | acpsf | ) |
Definition at line 96 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
alphaContactAngleTwoPhaseFvPatchScalarField | ( | const alphaContactAngleTwoPhaseFvPatchScalarField & | acpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 107 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
|
pure virtual |
Implemented in temperatureDependentAlphaContactAngleFvPatchScalarField, dynamicAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Referenced by reconstructedDistanceFunction::updateContactAngle().
|
virtual |
Definition at line 120 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References Foam::stringOps::evaluate(), Foam::max(), Foam::min(), and Foam::foamVersion::patch.
|
virtual |
Reimplemented in temperatureDependentAlphaContactAngleFvPatchScalarField, dynamicAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 151 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References os(), and Foam::vtk::write().
Referenced by dynamicAlphaContactAngleFvPatchScalarField::write().
|
static |
Definition at line 91 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
limitControls limit_ |
Definition at line 92 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.