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 > &)
 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 &)=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< fvPatchScalarField > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const scalarField & p () const
 Return the alphaFixed pressure. More...
 
scalarField & p ()
 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 48 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 37 of file alphaFixedPressureFvPatchScalarField.C.

Referenced by alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), and alphaFixedPressureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ 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 49 of file alphaFixedPressureFvPatchScalarField.C.

References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), dictionary::found(), scalarField(), and fvPatch::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 74 of file alphaFixedPressureFvPatchScalarField.C.

References alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ alphaFixedPressureFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ alphaFixedPressureFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 88 of file alphaFixedPressureFvPatchScalarField.C.

References alphaFixedPressureFvPatchScalarField::autoMap().

Here is the call graph for this function:

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 106 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 122 of file alphaFixedPressureFvPatchScalarField.H.

◆ p() [2/2]

scalarField& p ( )
inline

Return reference to the alphaFixed pressure to allow adjustment.

Definition at line 128 of file alphaFixedPressureFvPatchScalarField.H.

References alphaFixedPressureFvPatchScalarField::autoMap(), alphaFixedPressureFvPatchScalarField::rmap(), alphaFixedPressureFvPatchScalarField::updateCoeffs(), and alphaFixedPressureFvPatchScalarField::write().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper &  m)
virtual

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

Used to update fields following mesh topology change

Definition at line 101 of file alphaFixedPressureFvPatchScalarField.C.

References alphaFixedPressureFvPatchScalarField::rmap().

Referenced by alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), and alphaFixedPressureFvPatchScalarField::p().

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

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Used to reconstruct fields

Definition at line 111 of file alphaFixedPressureFvPatchScalarField.C.

References alphaFixedPressureFvPatchScalarField::rmap().

Referenced by alphaFixedPressureFvPatchScalarField::autoMap(), alphaFixedPressureFvPatchScalarField::p(), and alphaFixedPressureFvPatchScalarField::rmap().

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 125 of file alphaFixedPressureFvPatchScalarField.C.

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

Referenced by alphaFixedPressureFvPatchScalarField::p().

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

◆ write()

void write ( Ostream &  os) const
virtual

Write.

Definition at line 145 of file alphaFixedPressureFvPatchScalarField.C.

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

Referenced by alphaFixedPressureFvPatchScalarField::p(), and alphaFixedPressureFvPatchScalarField::updateCoeffs().

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

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