Public Member Functions | List of all members
fixedIncidentRadiationFvPatchScalarField Class Reference

Boundary condition for thermal coupling for solid regions. Used to emulate a fixed incident radiative heat flux on a wall. More...

Inheritance diagram for fixedIncidentRadiationFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for fixedIncidentRadiationFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fixedIncidentRadiation")
 Runtime type information. More...
 
 fixedIncidentRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 fixedIncidentRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &, 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...
 
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...
 
- Public Member Functions inherited from temperatureCoupledBase
 temperatureCoupledBase (const fvPatch &patch, const KMethodType method=KMethodType::mtFluidThermo)
 Default construct from patch, using fluidThermo (default) or specified method. More...
 
 temperatureCoupledBase (const fvPatch &patch, const KMethodType method, const word &kappaName, const word &alphaName, const word &alphaAniName)
 Construct from patch, method type and field names. More...
 
 temperatureCoupledBase (const fvPatch &patch, const dictionary &dict)
 Construct from patch and dictionary. More...
 
 temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base)
 Construct from patch and temperatureCoupledBase. More...
 
 temperatureCoupledBase (const temperatureCoupledBase &base)
 Copy construct. More...
 
virtual ~temperatureCoupledBase ()=default
 Destructor. More...
 
word KMethod () const
 Method to obtain K. More...
 
const wordkappaName () const noexcept
 Name of thermal conductivity field. More...
 
const wordalphaName () const noexcept
 Name of thermal diffusivity field. More...
 
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 Given patch temperature calculate corresponding K field. More...
 
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 Given patch temperature calculate corresponding alphaEff field. More...
 
void write (Ostream &os) const
 Write. More...
 

Additional Inherited Members

- Public Types inherited from temperatureCoupledBase
enum  KMethodType {
  mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup,
  mtFunction
}
 Type of supplied Kappa. More...
 
- Protected Attributes inherited from temperatureCoupledBase
const fvPatchpatch_
 Underlying patch. More...
 
const KMethodType method_
 How to get K. More...
 
const word kappaName_
 Name of thermal conductivity field (if looked up from database) More...
 
const word alphaName_
 Name of thermal diffusivity. More...
 
const word alphaAniName_
 Name of the non-isotropic alpha (for directional solidThermo) More...
 
autoPtr< PatchFunction1< scalar > > kappaFunction1_
 Function1 for kappa. More...
 
autoPtr< PatchFunction1< scalar > > alphaFunction1_
 Function1 for alpha. More...
 
- Static Protected Attributes inherited from temperatureCoupledBase
static const Enum< KMethodTypeKMethodTypeNames_
 

Detailed Description

Boundary condition for thermal coupling for solid regions. Used to emulate a fixed incident radiative heat flux on a wall.

the gradient heat flux is calculated as :

qr = emissivity*(qrIncident - sigma_*T^4)

where:

emissivity is the emissivity of the solid. qrIncident is the specified fixed incident radiation.

Example usage:

wall { type fixedIncidentRadiation; qrIncident uniform 500; kappa solidThermo; KappaName none; }

kappa:

emissivity:

Source files

Definition at line 80 of file fixedIncidentRadiationFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedIncidentRadiationFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 35 of file fixedIncidentRadiationFvPatchScalarField.C.

Referenced by fixedIncidentRadiationFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ fixedIncidentRadiationFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 63 of file fixedIncidentRadiationFvPatchScalarField.C.

References dict, and Foam::Zero.

◆ fixedIncidentRadiationFvPatchScalarField() [3/5]

Construct by mapping given.

turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a new patch

Definition at line 48 of file fixedIncidentRadiationFvPatchScalarField.C.

◆ fixedIncidentRadiationFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 96 of file fixedIncidentRadiationFvPatchScalarField.C.

◆ fixedIncidentRadiationFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 83 of file fixedIncidentRadiationFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedIncidentRadiation"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 149 of file fixedIncidentRadiationFvPatchScalarField.H.

References fixedIncidentRadiationFvPatchScalarField::fixedIncidentRadiationFvPatchScalarField().

Here is the call graph for this function:

◆ 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 173 of file fixedIncidentRadiationFvPatchScalarField.H.

References fixedIncidentRadiationFvPatchScalarField::fixedIncidentRadiationFvPatchScalarField().

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.

Implements temperatureCoupledBase.

Definition at line 109 of file fixedIncidentRadiationFvPatchScalarField.C.

References temperatureCoupledBase::autoMap().

Here is the call graph for this function:

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Implements temperatureCoupledBase.

Definition at line 120 of file fixedIncidentRadiationFvPatchScalarField.C.

References temperatureCoupledBase::rmap().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

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