wallCondensationPhaseChangeRateFvPatchScalarField Class Reference

This boundary condition is used for the phase change rate field of the wall condensation fvModel. It contains the phase change rate, and also all the other state fields used by the wall condensation model. The phase change rate field and its boundary conditions are constructed automatically so the user need never manually specify this condition. More...

Inheritance diagram for wallCondensationPhaseChangeRateFvPatchScalarField:
Collaboration diagram for wallCondensationPhaseChangeRateFvPatchScalarField:

Public Member Functions

 TypeName ("wallCondensationPhaseChangeRate")
 Runtime type information. More...
 
 wallCondensationPhaseChangeRateFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &)
 Construct from patch and internal field. More...
 
 wallCondensationPhaseChangeRateFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 wallCondensationPhaseChangeRateFvPatchScalarField (const wallCondensationPhaseChangeRateFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &)
 Construct by mapping given. More...
 
 wallCondensationPhaseChangeRateFvPatchScalarField (const wallCondensationPhaseChangeRateFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 wallCondensationPhaseChangeRateFvPatchScalarField (const wallCondensationPhaseChangeRateFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, fvMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const scalarFieldalphatLiquid () const
 Access the liquid turbulent thermal diffusivity. More...
 
const scalarFieldalphatVapour () const
 Access the vapour turbulent thermal diffusivity. 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...
 

Friends

class fv::wallCondensation
 Allow the wall condensation model to access and modify the state fields. More...
 

Detailed Description

This boundary condition is used for the phase change rate field of the wall condensation fvModel. It contains the phase change rate, and also all the other state fields used by the wall condensation model. The phase change rate field and its boundary conditions are constructed automatically so the user need never manually specify this condition.

See also
Foam::fv::wallCondensation
Source files

Definition at line 55 of file wallCondensationPhaseChangeRateFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ wallCondensationPhaseChangeRateFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 31 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

Referenced by wallCondensationPhaseChangeRateFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ wallCondensationPhaseChangeRateFvPatchScalarField() [2/5]

wallCondensationPhaseChangeRateFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, fvMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 45 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

◆ wallCondensationPhaseChangeRateFvPatchScalarField() [3/5]

◆ wallCondensationPhaseChangeRateFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ wallCondensationPhaseChangeRateFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 76 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "wallCondensationPhaseChangeRate"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 123 of file wallCondensationPhaseChangeRateFvPatchScalarField.H.

References wallCondensationPhaseChangeRateFvPatchScalarField::wallCondensationPhaseChangeRateFvPatchScalarField().

Here is the call graph for this function:

◆ alphatLiquid()

const Foam::scalarField & alphatLiquid ( ) const

Access the liquid turbulent thermal diffusivity.

Definition at line 93 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

◆ alphatVapour()

const Foam::scalarField & alphatVapour ( ) const

Access the vapour turbulent thermal diffusivity.

Definition at line 100 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

◆ map()

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

Map the given fvPatchField onto this fvPatchField.

Definition at line 106 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

◆ reset()

void reset ( const fvPatchScalarField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 123 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 139 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

References NotImplemented.

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 145 of file wallCondensationPhaseChangeRateFvPatchScalarField.C.

References Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ fv::wallCondensation

friend class fv::wallCondensation
friend

Allow the wall condensation model to access and modify the state fields.

Definition at line 74 of file wallCondensationPhaseChangeRateFvPatchScalarField.H.


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