Abstract base class for two-phase alphaContactAngle boundary conditions. More...


Public Types | |
| enum | limitControls { lcNone, lcGradient, lcZeroGradient, lcAlpha } |
| Alpha limit options. More... | |
Public Member Functions | |
| alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| alphaContactAngleTwoPhaseFvPatchScalarField (const this_bctype &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping onto a new patch. More... | |
| alphaContactAngleTwoPhaseFvPatchScalarField (const this_bctype &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| alphaContactAngleTwoPhaseFvPatchScalarField (const this_bctype &)=delete | |
| No copy without an internal field. More... | |
| virtual tmp< scalarField > | theta (const fvPatchVectorField &Up, const fvsPatchVectorField &nHat) const =0 |
| Return the contact angle. More... | |
| virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::buffered) |
| Evaluate the patch field. More... | |
| virtual void | write (Ostream &os) const |
| Write. More... | |
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 |
Alpha limit options.
| Enumerator | |
|---|---|
| lcNone | |
| lcGradient | |
| lcZeroGradient | |
| lcAlpha | |
Definition at line 88 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
| alphaContactAngleTwoPhaseFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 45 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
| alphaContactAngleTwoPhaseFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 57 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References dict, Foam::stringOps::evaluate(), and Foam::Zero.

| alphaContactAngleTwoPhaseFvPatchScalarField | ( | const this_bctype & | acpsf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping onto a new patch.
Definition at line 82 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
| alphaContactAngleTwoPhaseFvPatchScalarField | ( | const this_bctype & | acpsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 96 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
|
delete |
No copy without an internal field.
|
pure virtual |
Return the contact angle.
Implemented in temperatureDependentAlphaContactAngleFvPatchScalarField, dynamicAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
|
virtual |
Evaluate the patch field.
Definition at line 109 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References Foam::clamp(), Foam::stringOps::evaluate(), Foam::foamVersion::patch, and Foam::Zero.

|
virtual |
Write.
Reimplemented in temperatureDependentAlphaContactAngleFvPatchScalarField, dynamicAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 137 of file alphaContactAngleTwoPhaseFvPatchScalarField.C.
References Foam::vtk::write(), and Ostream::writeEntry().
Referenced by dynamicAlphaContactAngleFvPatchScalarField::write().


|
static |
Definition at line 96 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.
| limitControls limit_ |
Definition at line 97 of file alphaContactAngleTwoPhaseFvPatchScalarField.H.