dynamic Class Reference

Dynamic contact angle model. More...

Inheritance diagram for dynamic:
Collaboration diagram for dynamic:

Public Member Functions

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

Dynamic contact angle model.

Usage:

Property Description Required Default value
theta0 Equilibrium contact angle yes
uTheta Velocity scale yes
thetaAdv Limiting advancing contact angle yes
thetaRec Limiting receding contact angle yes

Example:

    contactAngle
    {
        type           dynamic;
        uTheta         1;
        theta0         70;
        thetaAdv       100;
        thetaRec       50;
    }
See also
Foam::contactAngleModel
Source files

Definition at line 100 of file dynamicContactAngle.H.

Constructor & Destructor Documentation

◆ dynamic()

dynamic ( const dictionary dict)

Construct from dictionary.

Definition at line 44 of file dynamicContactAngle.C.

Referenced by dynamic::clone().

Here is the caller graph for this function:

◆ ~dynamic()

~dynamic ( )
virtual

Destructor.

Definition at line 55 of file dynamicContactAngle.C.

Member Function Documentation

◆ TypeName()

TypeName ( "dynamic"  )

Runtime type information.

◆ clone()

virtual autoPtr<contactAngleModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements contactAngleModel.

Definition at line 131 of file dynamicContactAngle.H.

References dynamic::dynamic().

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 62 of file dynamicContactAngle.C.

References Foam::cos(), Foam::degToRad(), Foam::mag(), Foam::max(), Foam::min(), n, fvPatch::nf(), fvPatchField< Type >::patch(), fvPatchField< Type >::patchInternalField(), Foam::tanh(), and U.

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 91 of file dynamicContactAngle.C.

References Foam::writeEntry().

Here is the call graph for this function:

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