Loading...
Searching...
No Matches
temperatureDependentAlphaContactAngleFvPatchScalarField Class Reference

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

#include <temperatureDependentAlphaContactAngleFvPatchScalarField.H>

Inheritance diagram for temperatureDependentAlphaContactAngleFvPatchScalarField:
Collaboration diagram for temperatureDependentAlphaContactAngleFvPatchScalarField:

Public Member Functions

 TypeName ("temperatureDependentAlphaContactAngle")
 Runtime type information.
 temperatureDependentAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 temperatureDependentAlphaContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &)
 Construct as copy.
 temperatureDependentAlphaContactAngleFvPatchScalarField (const temperatureDependentAlphaContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
virtual tmp< scalarFieldtheta (const fvPatchVectorField &Up, const fvsPatchVectorField &nHat) const
 Return the equilibrium contact-angle.
virtual void write (Ostream &) const
 Write.
Public Member Functions inherited from alphaContactAngleTwoPhaseFvPatchScalarField
 alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 alphaContactAngleTwoPhaseFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping onto a new patch.
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &)
 Construct as copy.
 alphaContactAngleTwoPhaseFvPatchScalarField (const alphaContactAngleTwoPhaseFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
 Evaluate the patch field.

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 88 of file temperatureDependentAlphaContactAngleFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [1/5]

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

◆ 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 42 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

References alphaContactAngleTwoPhaseFvPatchScalarField::alphaContactAngleTwoPhaseFvPatchScalarField(), dict, alphaContactAngleTwoPhaseFvPatchScalarField::evaluate(), Foam::New(), and p.

Here is the call graph for this function:

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [3/5]

temperatureDependentAlphaContactAngleFvPatchScalarField ( const temperatureDependentAlphaContactAngleFvPatchScalarField & psf,
const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const fvPatchFieldMapper & mapper )

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [4/5]

temperatureDependentAlphaContactAngleFvPatchScalarField ( const temperatureDependentAlphaContactAngleFvPatchScalarField & psf)

◆ temperatureDependentAlphaContactAngleFvPatchScalarField() [5/5]

temperatureDependentAlphaContactAngleFvPatchScalarField ( const temperatureDependentAlphaContactAngleFvPatchScalarField & psf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 85 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

References alphaContactAngleTwoPhaseFvPatchScalarField::alphaContactAngleTwoPhaseFvPatchScalarField(), clone(), and temperatureDependentAlphaContactAngleFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "temperatureDependentAlphaContactAngle" )

Runtime type information.

References temperatureDependentAlphaContactAngleFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 176 of file temperatureDependentAlphaContactAngleFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ theta()

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

Return the equilibrium contact-angle.

Implements alphaContactAngleTwoPhaseFvPatchScalarField.

Definition at line 101 of file temperatureDependentAlphaContactAngleFvPatchScalarField.C.

◆ write()

void write ( Ostream & os) const
virtual

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