contactAngleModel Class Referenceabstract

Abstract base-class for contact-angle models which return the cosine contact angle field. More...

Inheritance diagram for contactAngleModel:

Public Member Functions

 TypeName ("contactAngleModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, contactAngleModel, dictionary,(const dictionary &dict),(dict))
 
 contactAngleModel ()
 
virtual autoPtr< contactAngleModelclone () const =0
 Construct and return a clone. More...
 
virtual ~contactAngleModel ()
 Destructor. More...
 
virtual tmp< scalarFieldcosTheta (const fvPatchVectorField &Up, const vectorField &nHat) const =0
 Cosine of the contact angle. More...
 
virtual void write (Ostream &os) const =0
 Write data in dictionary format. More...
 

Static Public Member Functions

static autoPtr< contactAngleModelNew (const dictionary &dict)
 

Static Protected Member Functions

static const dictionarycontactAngleDict (const dictionary &dict)
 

Detailed Description

Abstract base-class for contact-angle models which return the cosine contact angle field.

Usage
Example of the surface tension specification:
    contactAngle
    {
        type                <contact angle model type>;
        <coefficient name>  <coefficient value>;
        .
        .
        .
    }
Source files

Definition at line 64 of file contactAngleModel.H.

Constructor & Destructor Documentation

◆ contactAngleModel()

Definition at line 39 of file contactAngleModel.C.

◆ ~contactAngleModel()

~contactAngleModel ( )
virtual

Destructor.

Definition at line 45 of file contactAngleModel.C.

Member Function Documentation

◆ contactAngleDict()

static const dictionary& contactAngleDict ( const dictionary dict)
inlinestaticprotected

Definition at line 70 of file contactAngleModel.H.

References dict.

Referenced by contactAngleModel::New().

Here is the caller graph for this function:

◆ TypeName()

TypeName ( "contactAngleModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
contactAngleModel  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

◆ clone()

virtual autoPtr<contactAngleModel> clone ( ) const
pure virtual

Construct and return a clone.

Implemented in temperatureDependent, gravitational, dynamic, and constant.

◆ New()

Foam::autoPtr< Foam::contactAngleModel > New ( const dictionary dict)
static

Definition at line 31 of file contactAngleModelNew.C.

References contactAngleModel::contactAngleDict(), dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and dictionary::lookup().

Here is the call graph for this function:

◆ cosTheta()

virtual tmp<scalarField> cosTheta ( const fvPatchVectorField Up,
const vectorField nHat 
) const
pure virtual

Cosine of the contact angle.

Implemented in temperatureDependent, gravitational, dynamic, and constant.

◆ write()

virtual void write ( Ostream os) const
pure virtual

Write data in dictionary format.

Implemented in temperatureDependent, gravitational, dynamic, and constant.

Referenced by Foam::writeEntry().

Here is the caller graph for this function:

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