alphaFixedPressureFvPatchScalarField Class Reference

A fixed-pressure alphaContactAngle boundary. More...

Inheritance diagram for alphaFixedPressureFvPatchScalarField:
Collaboration diagram for alphaFixedPressureFvPatchScalarField:

Public Member Functions

 TypeName ("alphaFixedPressure")
 Runtime type information. 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 fieldMapper &)
 Construct by mapping given alphaFixedPressureFvPatchScalarField. More...
 
 alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 alphaFixedPressureFvPatchScalarField (const alphaFixedPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor 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 map (const fvPatchScalarField &, const fieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchScalarField &)
 Reset the fvPatchField to the given 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 48 of file alphaFixedPressureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphaFixedPressureFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 35 of file alphaFixedPressureFvPatchScalarField.C.

References dict, DimensionedField< Type, GeoMesh >::dimensions(), fvPatchField< Type >::operator=(), alphaFixedPressureFvPatchScalarField::p(), and List< T >::size().

Referenced by alphaFixedPressureFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ alphaFixedPressureFvPatchScalarField() [2/4]

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

Construct by mapping given alphaFixedPressureFvPatchScalarField.

onto a new patch

Definition at line 60 of file alphaFixedPressureFvPatchScalarField.C.

◆ alphaFixedPressureFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ alphaFixedPressureFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 74 of file alphaFixedPressureFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "alphaFixedPressure"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 98 of file alphaFixedPressureFvPatchScalarField.H.

References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ p() [1/2]

const scalarField& p ( ) const
inline

Return the alphaFixed pressure.

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

◆ map()

void map ( const fvPatchScalarField ptf,
const fieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 88 of file alphaFixedPressureFvPatchScalarField.C.

◆ reset()

void reset ( const fvPatchScalarField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 103 of file alphaFixedPressureFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 117 of file alphaFixedPressureFvPatchScalarField.C.

References Foam::operator==(), rho, and UniformDimensionedField< Type >::value().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 136 of file alphaFixedPressureFvPatchScalarField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

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