timeVaryingAlphaContactAngleFvPatchScalarField Class Reference

A time-varying alphaContactAngle scalar boundary condition (alphaContactAngleTwoPhaseFvPatchScalarField) More...

Inheritance diagram for timeVaryingAlphaContactAngleFvPatchScalarField:
[legend]
Collaboration diagram for timeVaryingAlphaContactAngleFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("timeVaryingAlphaContactAngle")
 Runtime type information. More...
 
 timeVaryingAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 timeVaryingAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 timeVaryingAlphaContactAngleFvPatchScalarField (const timeVaryingAlphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 timeVaryingAlphaContactAngleFvPatchScalarField (const timeVaryingAlphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual tmp< scalarFieldtheta (const fvPatchVectorField &Up, const fvsPatchVectorField &nHat) const
 Evaluate and return the time-varying equilibrium contact-angle. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from alphaContactAngleTwoPhaseFvPatchScalarField
 alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping onto a new patch. More...
 
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &)
 Construct as copy. More...
 
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< scalarFieldtheta (const fvPatchVectorField &Up, const fvsPatchVectorField &nHat) const =0
 Return the contact angle. More...
 
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 Evaluate the patch field. More...
 
virtual void write (Ostream &os) const
 Write. More...
 

Additional Inherited Members

- Public Types inherited from alphaContactAngleTwoPhaseFvPatchScalarField
enum  limitControls { lcNone , lcGradient , lcZeroGradient , lcAlpha }
 Alpha limit options. More...
 
- Public Attributes inherited from alphaContactAngleTwoPhaseFvPatchScalarField
limitControls limit_
 
- Static Public Attributes inherited from alphaContactAngleTwoPhaseFvPatchScalarField
static const Enum< limitControlslimitControlNames_
 

Detailed Description

Constructor & Destructor Documentation

◆ timeVaryingAlphaContactAngleFvPatchScalarField() [1/4]

Construct from patch and internal field.

Definition at line 37 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

◆ timeVaryingAlphaContactAngleFvPatchScalarField() [2/4]

timeVaryingAlphaContactAngleFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 69 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

References alphaContactAngleTwoPhaseFvPatchScalarField::evaluate().

Here is the call graph for this function:

◆ timeVaryingAlphaContactAngleFvPatchScalarField() [3/4]

Construct by mapping given.

timeVaryingAlphaContactAngleFvPatchScalarField onto a new patch

Definition at line 52 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

◆ timeVaryingAlphaContactAngleFvPatchScalarField() [4/4]

Construct as copy setting internal field reference.

Definition at line 87 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "timeVaryingAlphaContactAngle"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 99 of file timeVaryingAlphaContactAngleFvPatchScalarField.H.

◆ clone() [2/2]

virtual tmp< fvPatchScalarField > clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 115 of file timeVaryingAlphaContactAngleFvPatchScalarField.H.

◆ theta()

Foam::tmp< Foam::scalarField > theta ( const fvPatchVectorField Up,
const fvsPatchVectorField nHat 
) const
virtual

Evaluate and return the time-varying equilibrium contact-angle.

Implements alphaContactAngleTwoPhaseFvPatchScalarField.

Definition at line 105 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

References Time::New().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented from alphaContactAngleTwoPhaseFvPatchScalarField.

Definition at line 131 of file timeVaryingAlphaContactAngleFvPatchScalarField.C.

References os(), ObukhovLength::write(), and Ostream::writeEntry().

Here is the call graph for this function:

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