Uniform constant contact angle model. More...
Public Member Functions | |
TypeName ("constant") | |
Runtime type information. More... | |
constant (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< contactAngleModel > | clone () const |
Construct and return a clone. More... | |
virtual | ~constant () |
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) |
Uniform constant contact angle model.
contactAngle { type constant; theta0 70; }
Definition at line 64 of file constantContactAngle.H.
constant | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 44 of file constantContactAngle.C.
Referenced by constant::clone().
|
virtual |
Destructor.
Definition at line 52 of file constantContactAngle.C.
TypeName | ( | "constant" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements contactAngleModel.
Definition at line 86 of file constantContactAngle.H.
References constant::constant().
|
virtual |
Cosine of the contact angle.
Implements contactAngleModel.
Definition at line 59 of file constantContactAngle.C.
References Foam::cos(), Foam::degToRad(), and List< T >::size().
|
virtual |
Write data in dictionary format.
Implements contactAngleModel.
Definition at line 72 of file constantContactAngle.C.
References Foam::writeEntry().