Temperature-dependent contact angle model. More...
Public Member Functions | |
TypeName ("temperatureDependent") | |
Runtime type information. More... | |
temperatureDependent (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< contactAngleModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~temperatureDependent () |
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) |
Temperature-dependent contact angle model.
The contact angle is evaluated from the specified Foam::Function1 for the temperature field looked-up from the mesh database the name of which may optionally be provided.
Property | Description | Required | Default value |
---|---|---|---|
T | Temperature field name | no | T |
contactAngle | contact angle function | yes |
Example of the contact angle specification:
contactAngle { type temperatureDependent; contactAngle constant 0.07; }
Definition at line 91 of file temperatureDependentContactAngle.H.
temperatureDependent | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 49 of file temperatureDependentContactAngle.C.
Referenced by temperatureDependent::clone().
|
virtual |
Destructor.
Definition at line 61 of file temperatureDependentContactAngle.C.
TypeName | ( | "temperatureDependent" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements contactAngleModel.
Definition at line 116 of file temperatureDependentContactAngle.H.
References temperatureDependent::temperatureDependent().
|
virtual |
Cosine of the contact angle.
Implements contactAngleModel.
Definition at line 68 of file temperatureDependentContactAngle.C.
References Foam::cos(), Foam::degToRad(), fvPatch::lookupPatchField(), and fvPatchField< Type >::patch().
|
virtual |
Write data in dictionary format.
Implements contactAngleModel.
Definition at line 87 of file temperatureDependentContactAngle.C.
References Foam::writeEntry().