alphaFixedPressureFvPatchScalarField Class Reference

A fixed-pressure alphaContactAngle boundary. More...

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

Public Member Functions

 TypeName ("alphaFixedPressure")
 Runtime type information. More...
 
 alphaFixedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphaFixedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given alphaFixedPressureFvPatchScalarField. More...
 
 alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &, 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...
 
const scalarFieldp () const
 Return the alphaFixed pressure. More...
 
scalarFieldp ()
 Return reference to the alphaFixed pressure to allow adjustment. More...
 
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

A fixed-pressure alphaContactAngle boundary.

Source files

Definition at line 50 of file alphaFixedPressureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphaFixedPressureFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 38 of file alphaFixedPressureFvPatchScalarField.C.

◆ alphaFixedPressureFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 64 of file alphaFixedPressureFvPatchScalarField.C.

References dict, dictionary::found(), fvPatchField< Type >::operator=(), alphaFixedPressureFvPatchScalarField::p(), and UList< T >::size().

Here is the call graph for this function:

◆ alphaFixedPressureFvPatchScalarField() [3/5]

alphaFixedPressureFvPatchScalarField ( const alphaFixedPressureFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given alphaFixedPressureFvPatchScalarField.

onto a new patch

Definition at line 50 of file alphaFixedPressureFvPatchScalarField.C.

◆ alphaFixedPressureFvPatchScalarField() [4/5]

◆ alphaFixedPressureFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 100 of file alphaFixedPressureFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "alphaFixedPressure"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 100 of file alphaFixedPressureFvPatchScalarField.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 116 of file alphaFixedPressureFvPatchScalarField.H.

◆ p() [1/2]

const scalarField & p ( ) const
inline

Return the alphaFixed pressure.

Definition at line 133 of file alphaFixedPressureFvPatchScalarField.H.

Referenced by alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField().

Here is the caller graph for this function:

◆ p() [2/2]

scalarField & p ( )
inline

Return reference to the alphaFixed pressure to allow adjustment.

Definition at line 139 of file alphaFixedPressureFvPatchScalarField.H.

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 114 of file alphaFixedPressureFvPatchScalarField.C.

References Field< scalar >::autoMap().

Here is the call graph for this function:

◆ rmap()

void rmap ( const fvPatchScalarField ptf,
const labelList addr 
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 124 of file alphaFixedPressureFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 139 of file alphaFixedPressureFvPatchScalarField.C.

References g, Time::New(), Foam::operator==(), rho, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 158 of file alphaFixedPressureFvPatchScalarField.C.

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

Here is the call graph for this function:

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