Loading...
Searching...
No Matches
fixedIncidentRadiationFvPatchScalarField Class Reference

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

#include <fixedIncidentRadiationFvPatchScalarField.H>

Inheritance diagram for fixedIncidentRadiationFvPatchScalarField:
Collaboration diagram for fixedIncidentRadiationFvPatchScalarField:

Public Member Functions

 TypeName ("fixedIncidentRadiation")
 Runtime type information.
 fixedIncidentRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 fixedIncidentRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &)
 Construct as copy.
 fixedIncidentRadiationFvPatchScalarField (const fixedIncidentRadiationFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.
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.
 temperatureCoupledBase (const fvPatch &patch, const KMethodType method, const word &kappaName, const word &alphaName, const word &alphaAniName)
 Construct from patch, method type and field names.
 temperatureCoupledBase (const fvPatch &patch, const dictionary &dict)
 Construct from patch and dictionary.
 temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base)
 Construct from patch and temperatureCoupledBase.
 temperatureCoupledBase (const temperatureCoupledBase &base)
 Copy construct.
virtual ~temperatureCoupledBase ()=default
 Destructor.
word KMethod () const
 Method to obtain K.
const wordkappaName () const noexcept
 Name of thermal conductivity field.
const wordalphaName () const noexcept
 Name of thermal diffusivity field.
virtual void rmap (const fvPatchField< scalar > &, const labelList &)=0
 Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 Given patch temperature calculate corresponding K field.
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 Given patch temperature calculate corresponding alphaEff field.
void write (Ostream &os) const
 Write.

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.
const KMethodType method_
 How to get K.
const word kappaName_
 Name of thermal conductivity field (if looked up from database).
const word alphaName_
 Name of thermal diffusivity.
const word alphaAniName_
 Name of the non-isotropic alpha (for directional solidThermo).
autoPtr< PatchFunction1< scalar > > kappaFunction1_
 Function1 for kappa.
autoPtr< PatchFunction1< scalar > > alphaFunction1_
 Function1 for alpha.
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:

  • 'lookup' : lookup volScalarField emissivity
  • 'localSolidRadiation': Look up for local solidRadiation
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 33 of file fixedIncidentRadiationFvPatchScalarField.C.

References p, temperatureCoupledBase::temperatureCoupledBase(), and Foam::Zero.

Referenced by fixedIncidentRadiationFvPatchScalarField(), fixedIncidentRadiationFvPatchScalarField(), fixedIncidentRadiationFvPatchScalarField(), rmap(), and TypeName().

Here is the call graph for this function:
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 61 of file fixedIncidentRadiationFvPatchScalarField.C.

References dict, p, temperatureCoupledBase::temperatureCoupledBase(), and Foam::Zero.

Here is the call graph for this function:

◆ fixedIncidentRadiationFvPatchScalarField() [3/5]

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

Construct by mapping given.

turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a new patch

Definition at line 46 of file fixedIncidentRadiationFvPatchScalarField.C.

References fixedIncidentRadiationFvPatchScalarField(), p, and temperatureCoupledBase::temperatureCoupledBase().

Here is the call graph for this function:

◆ fixedIncidentRadiationFvPatchScalarField() [4/5]

fixedIncidentRadiationFvPatchScalarField ( const fixedIncidentRadiationFvPatchScalarField & ptf)

Construct as copy.

Definition at line 94 of file fixedIncidentRadiationFvPatchScalarField.C.

References fixedIncidentRadiationFvPatchScalarField(), and temperatureCoupledBase::temperatureCoupledBase().

Here is the call graph for this function:

◆ fixedIncidentRadiationFvPatchScalarField() [5/5]

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

Construct as copy setting internal field reference.

Definition at line 81 of file fixedIncidentRadiationFvPatchScalarField.C.

References fixedIncidentRadiationFvPatchScalarField(), and temperatureCoupledBase::temperatureCoupledBase().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "fixedIncidentRadiation" )

Runtime type information.

References fixedIncidentRadiationFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 157 of file fixedIncidentRadiationFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 165 of file fixedIncidentRadiationFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

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 108 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.

Definition at line 119 of file fixedIncidentRadiationFvPatchScalarField.C.

References fixedIncidentRadiationFvPatchScalarField(), Foam::refCast(), and temperatureCoupledBase::rmap().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 138 of file fixedIncidentRadiationFvPatchScalarField.C.

References Foam::endl(), Foam::gAverage(), Foam::gMinMax(), Foam::gSum(), Foam::Info, temperatureCoupledBase::kappa(), limits, Foam::pow4(), and Foam::constant::physicoChemical::sigma.

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

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