temperatureDependentAlphaContactAngleFvPatchScalarField Class Reference

Temperature-dependent alphaContactAngle scalar boundary condition. More...

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

Public Member Functions

 TypeName ("temperatureDependentAlphaContactAngle")
 Runtime type information. More...
 
 temperatureDependentAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 temperatureDependentAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &, 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
 Return the 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 void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 Evaluate the patch field. 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

Temperature-dependent alphaContactAngle scalar boundary condition.

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
theta0 Contact angle function yes

Example of the boundary condition specification:

    <patchName>
    {
        type            temperatureDependentAlphaContactAngle;
        theta0          constant 60;
    }
See also
Foam::alphaContactAngleTwoPhaseFvPatchScalarField Foam::constantAlphaContactAngleFvPatchScalarField Foam::Function1
Source files

Definition at line 92 of file temperatureDependentAlphaContactAngleFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 38 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 51 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

References Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [3/5]

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [4/5]

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 94 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "temperatureDependentAlphaContactAngle"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 146 of file temperatureDependentAlphaContactAngleFvPatchScalarField.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 166 of file temperatureDependentAlphaContactAngleFvPatchScalarField.H.

◆ theta()

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

Return the equilibrium contact-angle.

Implements alphaContactAngleTwoPhaseFvPatchScalarField.

Definition at line 109 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

References Foam::foamVersion::patch.

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented from alphaContactAngleTwoPhaseFvPatchScalarField.

Definition at line 122 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

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