temperatureDependent Class Reference

Temperature-dependent contact angle model. More...

Inheritance diagram for temperatureDependent:
Collaboration diagram for temperatureDependent:

Public Member Functions

 TypeName ("temperatureDependent")
 Runtime type information. More...
 
 temperatureDependent (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< contactAngleModelclone () const
 Construct and return a clone. More...
 
virtual ~temperatureDependent ()
 Destructor. More...
 
virtual tmp< scalarFieldcosTheta (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< contactAngleModelNew (const dictionary &dict)
 
- Static Protected Member Functions inherited from contactAngleModel
static const dictionarycontactAngleDict (const dictionary &dict)
 

Detailed Description

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.

Usage
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;
        }
See also
Foam::contactAngleModel Foam::Function1
Source files

Definition at line 91 of file temperatureDependentContactAngle.H.

Constructor & Destructor Documentation

◆ temperatureDependent()

temperatureDependent ( const dictionary dict)

Construct from dictionary.

Definition at line 49 of file temperatureDependentContactAngle.C.

Referenced by temperatureDependent::clone().

Here is the caller graph for this function:

◆ ~temperatureDependent()

~temperatureDependent ( )
virtual

Destructor.

Definition at line 61 of file temperatureDependentContactAngle.C.

Member Function Documentation

◆ TypeName()

TypeName ( "temperatureDependent"  )

Runtime type information.

◆ clone()

virtual autoPtr<contactAngleModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements contactAngleModel.

Definition at line 116 of file temperatureDependentContactAngle.H.

References temperatureDependent::temperatureDependent().

Here is the call graph for this function:

◆ cosTheta()

Foam::tmp< Foam::scalarField > cosTheta ( const fvPatchVectorField Up,
const vectorField nHat 
) const
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().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write data in dictionary format.

Implements contactAngleModel.

Definition at line 87 of file temperatureDependentContactAngle.C.

References Foam::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: