Abstract base class for alphaContactAngle boundary conditions. More...
Classes | |
class | interfaceThetaProps |
Public Types | |
enum | limitControls { lcNone, lcGradient, lcZeroGradient, lcAlpha } |
Alpha limit options. More... | |
typedef HashTable< interfaceThetaProps, multiphaseMixtureThermo::interfacePair, multiphaseMixtureThermo::interfacePair::hash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, multiphaseSystem::interfacePair, multiphaseSystem::interfacePair::symmHash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, multiphaseMixture::interfacePair, multiphaseMixture::interfacePair::hash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, phasePairKey, phasePairKey::hash > | thetaPropsTable |
Public Member Functions | |
TypeName ("alphaContactAngle") | |
Runtime type information. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaContactAngleFvPatchScalarField. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &) | |
Copy constructor. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. 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::blocking) |
Evaluate the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
TypeName ("alphaContactAngle") | |
Runtime type information. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaContactAngleFvPatchScalarField. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const thetaPropsTable & | thetaProps () const |
Return the contact angle properties. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
TypeName ("alphaContactAngle") | |
Runtime type information. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaContactAngleFvPatchScalarField. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const thetaPropsTable & | thetaProps () const |
Return the contact angle properties. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
TypeName ("alphaContactAngle") | |
Runtime type information. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaContactAngleFvPatchScalarField. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const thetaPropsTable & | thetaProps () const |
Return the contact angle properties. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
TypeName ("alphaContactAngle") | |
Runtime type information. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
alphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given alphaContactAngleFvPatchScalarField. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphaContactAngleFvPatchScalarField (const alphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const thetaPropsTable & | thetaProps () const |
Return the contact angle properties. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Attributes | |
limitControls | limit_ |
Static Public Attributes | |
static const NamedEnum< limitControls, 4 > | limitControlNames_ |
Abstract base class for alphaContactAngle boundary conditions.
Contact-angle boundary condition for multi-phase interface-capturing simulations. Used in conjunction with multiphaseSystem.
Contact-angle boundary condition for multi-phase interface-capturing simulations. Used in conjunction with multiphaseMixture.
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 72 of file alphaContactAngleFvPatchScalarField.H.
typedef HashTable< interfaceThetaProps, multiphaseMixtureThermo::interfacePair, multiphaseMixtureThermo::interfacePair::hash > thetaPropsTable |
Definition at line 121 of file alphaContactAngleFvPatchScalarField.H.
typedef HashTable< interfaceThetaProps, multiphaseSystem::interfacePair, multiphaseSystem::interfacePair::symmHash > thetaPropsTable |
Definition at line 121 of file alphaContactAngleFvPatchScalarField.H.
typedef HashTable< interfaceThetaProps, multiphaseMixture::interfacePair, multiphaseMixture::interfacePair::hash > thetaPropsTable |
Definition at line 121 of file alphaContactAngleFvPatchScalarField.H.
Definition at line 121 of file alphaContactAngleFvPatchScalarField.H.
enum limitControls |
Alpha limit options.
Enumerator | |
---|---|
lcNone | |
lcGradient | |
lcZeroGradient | |
lcAlpha |
Definition at line 83 of file alphaContactAngleFvPatchScalarField.H.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 62 of file alphaContactAngleFvPatchScalarField.C.
Referenced by alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), alphaContactAngleFvPatchScalarField::clone(), and NamedEnum< directionType, 3 >::names().
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 73 of file alphaContactAngleFvPatchScalarField.C.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), dictionary::found(), fvPatchField< Type >::operator=(), and fvPatch::size().
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | acpsf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given alphaContactAngleFvPatchScalarField.
onto a new patch
Definition at line 97 of file alphaContactAngleFvPatchScalarField.C.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | acpsf | ) |
Copy constructor.
Definition at line 110 of file alphaContactAngleFvPatchScalarField.C.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | acpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 120 of file alphaContactAngleFvPatchScalarField.C.
References alphaContactAngleFvPatchScalarField::evaluate().
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given alphaContactAngleFvPatchScalarField.
onto a new patch
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given alphaContactAngleFvPatchScalarField.
onto a new patch
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given alphaContactAngleFvPatchScalarField.
onto a new patch
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
alphaContactAngleFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given alphaContactAngleFvPatchScalarField.
onto a new patch
alphaContactAngleFvPatchScalarField | ( | const alphaContactAngleFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
TypeName | ( | "alphaContactAngle" | ) |
Runtime type information.
|
pure virtual |
Return the contact angle.
Implemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
|
virtual |
Evaluate the patch field.
Definition at line 133 of file alphaContactAngleFvPatchScalarField.C.
References Foam::max(), Foam::min(), Field< scalar >::operator=(), and alphaContactAngleFvPatchScalarField::write().
Referenced by alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
|
virtual |
Write.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 164 of file alphaContactAngleFvPatchScalarField.C.
References Foam::blockMeshTools::write(), and Foam::writeEntry().
Referenced by alphaContactAngleFvPatchScalarField::evaluate(), alphaContactAngleFvPatchScalarField::thetaProps(), and dynamicAlphaContactAngleFvPatchScalarField::write().
TypeName | ( | "alphaContactAngle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 165 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
Referenced by alphaContactAngleFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 182 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
|
inline |
Return the contact angle properties.
Definition at line 196 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::write().
|
virtual |
TypeName | ( | "alphaContactAngle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 165 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), and alphaContactAngleFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 182 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
|
inline |
Return the contact angle properties.
Definition at line 196 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::write().
|
virtual |
TypeName | ( | "alphaContactAngle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 165 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), and alphaContactAngleFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 182 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
|
inline |
Return the contact angle properties.
Definition at line 196 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::write().
|
virtual |
TypeName | ( | "alphaContactAngle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 165 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), and alphaContactAngleFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in dynamicAlphaContactAngleFvPatchScalarField, temperatureDependentAlphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField, and timeVaryingAlphaContactAngleFvPatchScalarField.
Definition at line 182 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField().
|
inline |
Return the contact angle properties.
Definition at line 196 of file alphaContactAngleFvPatchScalarField.H.
References alphaContactAngleFvPatchScalarField::write().
|
virtual |
|
static |
Definition at line 91 of file alphaContactAngleFvPatchScalarField.H.
Referenced by NamedEnum< directionType, 3 >::names().
limitControls limit_ |
Definition at line 92 of file alphaContactAngleFvPatchScalarField.H.