radiationCoupledBase Class Reference

Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the solidThermo: More...

Inheritance diagram for radiationCoupledBase:
Collaboration diagram for radiationCoupledBase:

Public Types

enum  emissivityMethodType { SOLIDRADIATION, LOOKUP }
 Type of supplied emissivity. More...
 

Public Member Functions

 TypeName ("radiationCoupledBase")
 Runtime type information. More...
 
 radiationCoupledBase (const fvPatch &patch, const word &calculationMethod, const scalarField &emissivity)
 Construct from patch, emissivity mode and emissivity. More...
 
 radiationCoupledBase (const fvPatch &patch, const word &calculationMethod, const scalarField &emissivity, const fvPatchFieldMapper &mapper)
 Construct from patch, emissivity mode and emissivity and mapper. More...
 
 radiationCoupledBase (const fvPatch &patch, const dictionary &dict)
 Construct from patch and dictionary. More...
 
virtual ~radiationCoupledBase ()
 Destructor. More...
 
word emissivityMethod () const
 Method to obtain emissivity. More...
 
scalarField emissivity () const
 Calculate corresponding emissivity field. 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...
 
void write (Ostream &) const
 Write. More...
 

Protected Attributes

const emissivityMethodType method_
 How to get emissivity. More...
 
scalarField emissivity_
 Emissivity. More...
 

Detailed Description

Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the solidThermo:

- 'lookup' : Read the patch emissivity field from the dictionary

  • 'solidRadiation' : Use the emissivity field mapped from the adjacent solid
Source files

Definition at line 55 of file radiationCoupledBase.H.

Member Enumeration Documentation

◆ emissivityMethodType

Type of supplied emissivity.

Enumerator
SOLIDRADIATION 
LOOKUP 

Definition at line 60 of file radiationCoupledBase.H.

Constructor & Destructor Documentation

◆ radiationCoupledBase() [1/3]

radiationCoupledBase ( const fvPatch patch,
const word calculationMethod,
const scalarField emissivity 
)

Construct from patch, emissivity mode and emissivity.

Definition at line 62 of file radiationCoupledBase.C.

Referenced by NamedEnum< directionType, 3 >::names(), and radiationCoupledBase::radiationCoupledBase().

Here is the caller graph for this function:

◆ radiationCoupledBase() [2/3]

radiationCoupledBase ( const fvPatch patch,
const word calculationMethod,
const scalarField emissivity,
const fvPatchFieldMapper mapper 
)

Construct from patch, emissivity mode and emissivity and mapper.

Definition at line 75 of file radiationCoupledBase.C.

References radiationCoupledBase::radiationCoupledBase().

Here is the call graph for this function:

◆ radiationCoupledBase() [3/3]

radiationCoupledBase ( const fvPatch patch,
const dictionary dict 
)

Construct from patch and dictionary.

Definition at line 89 of file radiationCoupledBase.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and dictionary::found().

Here is the call graph for this function:

◆ ~radiationCoupledBase()

~radiationCoupledBase ( )
virtual

Destructor.

Definition at line 139 of file radiationCoupledBase.C.

Member Function Documentation

◆ TypeName()

TypeName ( "radiationCoupledBase"  )

Runtime type information.

◆ emissivityMethod()

word emissivityMethod ( ) const
inline

Method to obtain emissivity.

Definition at line 132 of file radiationCoupledBase.H.

References radiationCoupledBase::autoMap(), radiationCoupledBase::emissivity(), radiationCoupledBase::method_, radiationCoupledBase::rmap(), and radiationCoupledBase::write().

Here is the call graph for this function:

◆ emissivity()

◆ 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

Reimplemented in greyDiffusiveRadiationMixedFvPatchScalarField, MarshakRadiationFixedTemperatureFvPatchScalarField, greyDiffusiveViewFactorFixedValueFvPatchScalarField, MarshakRadiationFvPatchScalarField, and wideBandDiffusiveRadiationMixedFvPatchScalarField.

Definition at line 205 of file radiationCoupledBase.C.

References radiationCoupledBase::rmap().

Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::autoMap(), greyDiffusiveRadiationMixedFvPatchScalarField::autoMap(), and radiationCoupledBase::emissivityMethod().

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

◆ rmap()

◆ write()

Member Data Documentation

◆ method_

const emissivityMethodType method_
protected

How to get emissivity.

Definition at line 83 of file radiationCoupledBase.H.

Referenced by radiationCoupledBase::emissivityMethod().

◆ emissivity_

scalarField emissivity_
protected

Emissivity.

Cached locally when is read from dictionary (lookup mode)

Definition at line 87 of file radiationCoupledBase.H.

Referenced by radiationCoupledBase::rmap().


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