Dynamic contact angle model. More...
Public Member Functions | |
TypeName ("dynamic") | |
Runtime type information. More... | |
dynamic (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< contactAngleModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~dynamic () |
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... | |
![]() | |
TypeName ("contactAngleModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, contactAngleModel, dictionary,(const dictionary &dict),(dict)) | |
contactAngleModel () | |
virtual | ~contactAngleModel () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< contactAngleModel > | New (const dictionary &dict) |
![]() | |
static const dictionary & | contactAngleDict (const dictionary &dict) |
Dynamic contact angle model.
Usage:
Property | Description | Required | Default value |
---|---|---|---|
theta0 | Equilibrium contact angle | yes | |
uTheta | Velocity scale | yes | |
thetaAdv | Limiting advancing contact angle | yes | |
thetaRec | Limiting receding contact angle | yes |
Example:
contactAngle { type dynamic; uTheta 1; theta0 70; thetaAdv 100; thetaRec 50; }
Definition at line 100 of file dynamicContactAngle.H.
dynamic | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 43 of file dynamicContactAngle.C.
Referenced by dynamic::clone().
|
virtual |
Destructor.
Definition at line 54 of file dynamicContactAngle.C.
TypeName | ( | "dynamic" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements contactAngleModel.
Definition at line 131 of file dynamicContactAngle.H.
References dynamic::dynamic().
|
virtual |
Cosine of the contact angle.
Implements contactAngleModel.
Definition at line 61 of file dynamicContactAngle.C.
References Foam::cos(), Foam::mag(), Foam::max(), Foam::min(), n, fvPatch::nf(), fvPatchField< Type >::patch(), fvPatchField< Type >::patchInternalField(), Foam::tanh(), and U.
|
virtual |
Write data in dictionary format.
Implements contactAngleModel.
Definition at line 90 of file dynamicContactAngle.C.
References Foam::dimVelocity, Foam::unitDegrees, and Foam::writeEntry().