Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
boundaryRadiationPropertiesFvPatchField Class Reference
Inheritance diagram for boundaryRadiationPropertiesFvPatchField:
Inheritance graph
[legend]
Collaboration diagram for boundaryRadiationPropertiesFvPatchField:
Collaboration graph
[legend]

Public Types

enum  methodType { SOLIDRADIATION, LOOKUP, MODEL }
 

Public Member Functions

 TypeName ("boundaryRadiation")
 Runtime type information. More...
 
 boundaryRadiationPropertiesFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 boundaryRadiationPropertiesFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 boundaryRadiationPropertiesFvPatchField (const boundaryRadiationPropertiesFvPatchField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a. More...
 
 boundaryRadiationPropertiesFvPatchField (const boundaryRadiationPropertiesFvPatchField &)
 Construct as copy. More...
 
 boundaryRadiationPropertiesFvPatchField (const boundaryRadiationPropertiesFvPatchField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
word method () const
 Method to obtain properties. More...
 
const absorptionEmissionModelabsorptionEmission () const
 Return absorptionEmissionModel. More...
 
const transmissivityModeltransmissiveModel () const
 Return transmissivityModel. More...
 
tmp< scalarFieldemissivity (const label bandI=0) const
 Calculate corresponding emissivity field for bandI. More...
 
tmp< scalarFieldabsorptivity (const label bandI=0) const
 Calculate corresponding absorptivity field for bandI. More...
 
tmp< scalarFieldtransmissivity (const label bandI=0) const
 Calculate corresponding transmissivity field for bandI. More...
 
tmp< scalarFieldreflectivity (const label bandI=0) const
 Calculate corresponding reflectivity field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Private Member Functions

label nbrPatchIndex () const
 Return nbr patch index. More...
 
const fvMeshnbrRegion () const
 Return nbr mesh. More...
 

Private Attributes

const methodType method_
 How to get property. More...
 
const dictionary dict_
 Dictionary. More...
 
autoPtr< absorptionEmissionModelabsorptionEmission_
 Absorption/emission model. More...
 
autoPtr< transmissivityModeltransmissivity_
 transmissivity model More...
 

Static Private Attributes

static const NamedEnum< methodType, 3 > methodTypeNames_
 

Detailed Description

Definition at line 59 of file boundaryRadiationPropertiesFvPatchField.H.

Member Enumeration Documentation

◆ methodType

enum methodType
Enumerator
SOLIDRADIATION 
LOOKUP 
MODEL 

Definition at line 66 of file boundaryRadiationPropertiesFvPatchField.H.

Constructor & Destructor Documentation

◆ boundaryRadiationPropertiesFvPatchField() [1/5]

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

Construct from patch and internal field.

Definition at line 85 of file boundaryRadiationPropertiesFvPatchField.C.

Referenced by boundaryRadiationPropertiesFvPatchField::clone().

Here is the caller graph for this function:

◆ boundaryRadiationPropertiesFvPatchField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 100 of file boundaryRadiationPropertiesFvPatchField.C.

References Foam::abort(), dict, dimensionedInternalField(), FatalErrorInFunction, Foam::FatalIOError, mesh, transmissivityModel::New(), absorptionEmissionModel::New(), fvPatchField::operator, fvPatchField::operator=(), and p.

Here is the call graph for this function:

◆ boundaryRadiationPropertiesFvPatchField() [3/5]

Construct by mapping given a.

greyDiffusiveViewFactorFixedValueFvPatchScalarField onto a new patch

Definition at line 171 of file boundaryRadiationPropertiesFvPatchField.C.

◆ boundaryRadiationPropertiesFvPatchField() [4/5]

Construct as copy.

Definition at line 188 of file boundaryRadiationPropertiesFvPatchField.C.

◆ boundaryRadiationPropertiesFvPatchField() [5/5]

Construct as copy setting internal field reference.

Definition at line 202 of file boundaryRadiationPropertiesFvPatchField.C.

Member Function Documentation

◆ nbrPatchIndex()

Foam::label nbrPatchIndex ( ) const
private

Return nbr patch index.

Definition at line 61 of file boundaryRadiationPropertiesFvPatchField.C.

References patchIdentifier::index(), and mappedPatchBase::samplePolyPatch().

Here is the call graph for this function:

◆ nbrRegion()

const Foam::fvMesh & nbrRegion ( ) const
private

Return nbr mesh.

Definition at line 72 of file boundaryRadiationPropertiesFvPatchField.C.

References mappedPatchBase::sampleMesh().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "boundaryRadiation"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 149 of file boundaryRadiationPropertiesFvPatchField.H.

References boundaryRadiationPropertiesFvPatchField::boundaryRadiationPropertiesFvPatchField().

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 159 of file boundaryRadiationPropertiesFvPatchField.H.

References boundaryRadiationPropertiesFvPatchField::boundaryRadiationPropertiesFvPatchField().

Here is the call graph for this function:

◆ method()

word method ( ) const
inline

◆ absorptionEmission()

const Foam::radiation::absorptionEmissionModel & absorptionEmission ( ) const

◆ transmissiveModel()

const Foam::radiation::transmissivityModel & transmissiveModel ( ) const

◆ emissivity()

Foam::tmp< Foam::scalarField > emissivity ( const label  bandI = 0) const

Calculate corresponding emissivity field for bandI.

Definition at line 235 of file boundaryRadiationPropertiesFvPatchField.C.

References mappedPatchBase::distribute(), Foam::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::lookupObject(), and radiation().

Here is the call graph for this function:

◆ absorptivity()

Foam::tmp< Foam::scalarField > absorptivity ( const label  bandI = 0) const

Calculate corresponding absorptivity field for bandI.

Definition at line 309 of file boundaryRadiationPropertiesFvPatchField.C.

References mappedPatchBase::distribute(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::lookupObject(), and radiation().

Here is the call graph for this function:

◆ transmissivity()

Foam::tmp< Foam::scalarField > transmissivity ( const label  bandI = 0) const

Calculate corresponding transmissivity field for bandI.

Definition at line 385 of file boundaryRadiationPropertiesFvPatchField.C.

References mappedPatchBase::distribute(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::lookupObject(), radiation(), and Foam::trans().

Here is the call graph for this function:

◆ reflectivity()

Foam::tmp< Foam::scalarField > reflectivity ( const label  bandI = 0) const

Calculate corresponding reflectivity field.

Definition at line 462 of file boundaryRadiationPropertiesFvPatchField.C.

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 472 of file boundaryRadiationPropertiesFvPatchField.C.

References token::END_STATEMENT, Foam::nl, write(), Ostream::write(), Field::writeEntry(), and Ostream::writeKeyword().

Here is the call graph for this function:

Field Documentation

◆ methodTypeNames_

◆ method_

const methodType method_
private

How to get property.

Definition at line 81 of file boundaryRadiationPropertiesFvPatchField.H.

Referenced by boundaryRadiationPropertiesFvPatchField::method().

◆ dict_

const dictionary dict_
private

◆ absorptionEmission_

autoPtr<absorptionEmissionModel> absorptionEmission_
private

Absorption/emission model.

Definition at line 87 of file boundaryRadiationPropertiesFvPatchField.H.

◆ transmissivity_

autoPtr<transmissivityModel> transmissivity_
private

transmissivity model

Definition at line 90 of file boundaryRadiationPropertiesFvPatchField.H.


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