uniformFixedMultiphaseHeatFluxFvPatchScalarField Class Reference

Uniform fixed heat flux boundary condition for Eulerian multi-phase cases. Constructs a mixed constraint which portions the heat flux between the phases in such a way as to keep the boundary temperature uniform across all phases. The heat flux can be specified as a time-varying function, and an under-relaxation factor can be supplied if this is necessary to maintain stability. More...

Inheritance diagram for uniformFixedMultiphaseHeatFluxFvPatchScalarField:
Collaboration diagram for uniformFixedMultiphaseHeatFluxFvPatchScalarField:

Public Member Functions

 TypeName ("uniformFixedMultiphaseHeatFlux")
 Runtime type information. More...
 
 uniformFixedMultiphaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &, 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...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

Uniform fixed heat flux boundary condition for Eulerian multi-phase cases. Constructs a mixed constraint which portions the heat flux between the phases in such a way as to keep the boundary temperature uniform across all phases. The heat flux can be specified as a time-varying function, and an under-relaxation factor can be supplied if this is necessary to maintain stability.

Usage
Property Description Required Default value
q Heat flux [w/m^2] yes
relax Relaxation factor no 1

Example of the boundary condition specification:

    <patchName>
    {
        type            uniformFixedMultiphaseHeatFlux;
        q               1000;
        relax           0.3;
        value           $internalField;
    }
Source files

Definition at line 87 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ uniformFixedMultiphaseHeatFluxFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 33 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.

References Foam::operator==(), and Foam::Zero.

Referenced by uniformFixedMultiphaseHeatFluxFvPatchScalarField::clone().

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

◆ uniformFixedMultiphaseHeatFluxFvPatchScalarField() [2/4]

◆ uniformFixedMultiphaseHeatFluxFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ uniformFixedMultiphaseHeatFluxFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 68 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "uniformFixedMultiphaseHeatFlux"  )

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 141 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.H.

References uniformFixedMultiphaseHeatFluxFvPatchScalarField::uniformFixedMultiphaseHeatFluxFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 162 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.

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

Here is the call graph for this function:

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