constant Class Reference

Uniform constant contact angle model. More...

Inheritance diagram for constant:
Collaboration diagram for constant:

Public Member Functions

 TypeName ("constant")
 Runtime type information. More...
 
 constant (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< contactAngleModelclone () const
 Construct and return a clone. More...
 
virtual ~constant ()
 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

Uniform constant contact angle model.

Usage
Example of the contact angle specification:
    contactAngle
    {
        type                constant;
        theta0              70;
    }
See also
Foam::contactAngleModel
Source files

Definition at line 64 of file constantContactAngle.H.

Constructor & Destructor Documentation

◆ constant()

constant ( const dictionary dict)

Construct from dictionary.

Definition at line 44 of file constantContactAngle.C.

Referenced by constant::clone().

Here is the caller graph for this function:

◆ ~constant()

~constant ( )
virtual

Destructor.

Definition at line 52 of file constantContactAngle.C.

Member Function Documentation

◆ TypeName()

TypeName ( "constant"  )

Runtime type information.

◆ clone()

virtual autoPtr<contactAngleModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements contactAngleModel.

Definition at line 86 of file constantContactAngle.H.

References constant::constant().

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 59 of file constantContactAngle.C.

References Foam::cos(), Foam::degToRad(), and List< T >::size().

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 72 of file constantContactAngle.C.

References Foam::writeEntry().

Here is the call graph for this function:

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