Gravitational acceleration based contact angle model. More...
Public Member Functions | |
TypeName ("gravitational") | |
Runtime type information. More... | |
gravitational (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< contactAngleModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~gravitational () |
Destructor. More... | |
virtual tmp< scalarField > | cosTheta (const fvPatchVectorField &Up, const vectorField &nHat) const |
Cosine of the contact angle. More... | |
virtual void | write (Ostream &os) const |
Write data in dictionary format. More... | |
Public Member Functions inherited from contactAngleModel | |
TypeName ("contactAngleModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, contactAngleModel, dictionary,(const dictionary &dict),(dict)) | |
contactAngleModel () | |
virtual | ~contactAngleModel () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from contactAngleModel | |
static autoPtr< contactAngleModel > | New (const dictionary &dict) |
Static Protected Member Functions inherited from contactAngleModel | |
static const dictionary & | contactAngleDict (const dictionary &dict) |
Gravitational acceleration based contact angle model.
Usage:
Property | Description | Required | Default value |
---|---|---|---|
theta0 | Equilibrium contact angle | yes | |
gTheta | Gravitational acceleration scale | yes | |
thetaAdv | Limiting advancing contact angle | yes | |
thetaRec | Limiting receding contact angle | yes |
Example:
contactAngle { type gravitational; gTheta 0.1; theta0 70; thetaAdv 100; thetaRec 50; }
Definition at line 100 of file gravitationalContactAngle.H.
gravitational | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 45 of file gravitationalContactAngle.C.
Referenced by gravitational::clone().
|
virtual |
Destructor.
Definition at line 56 of file gravitationalContactAngle.C.
TypeName | ( | "gravitational" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements contactAngleModel.
Definition at line 131 of file gravitationalContactAngle.H.
References gravitational::gravitational().
|
virtual |
Cosine of the contact angle.
Implements contactAngleModel.
Definition at line 63 of file gravitationalContactAngle.C.
References Foam::cos(), fvPatchField< Type >::db(), Foam::degToRad(), objectRegistry::lookupObject(), Foam::max(), Foam::min(), Foam::tanh(), and dimensioned< Type >::value().
|
virtual |
Write data in dictionary format.
Implements contactAngleModel.
Definition at line 83 of file gravitationalContactAngle.C.
References Foam::writeEntry().