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< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
virtual tmp< fvPatchScalarField > | clone (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 absorptionEmissionModel & | absorptionEmission () const |
Return absorptionEmissionModel. More... | |
const transmissivityModel & | transmissiveModel () const |
Return transmissivityModel. More... | |
tmp< scalarField > | emissivity (const label bandI=0) const |
Calculate corresponding emissivity field for bandI. More... | |
tmp< scalarField > | absorptivity (const label bandI=0) const |
Calculate corresponding absorptivity field for bandI. More... | |
tmp< scalarField > | transmissivity (const label bandI=0) const |
Calculate corresponding transmissivity field for bandI. More... | |
tmp< scalarField > | reflectivity (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 fvMesh & | nbrRegion () const |
Return nbr mesh. More... | |
Private Attributes | |
const methodType | method_ |
How to get property. More... | |
const dictionary | dict_ |
Dictionary. More... | |
autoPtr< absorptionEmissionModel > | absorptionEmission_ |
Absorption/emission model. More... | |
autoPtr< transmissivityModel > | transmissivity_ |
transmissivity model More... | |
Static Private Attributes | |
static const NamedEnum< methodType, 3 > | methodTypeNames_ |
Definition at line 59 of file boundaryRadiationPropertiesFvPatchField.H.
enum methodType |
Enumerator | |
---|---|
SOLIDRADIATION | |
LOOKUP | |
MODEL |
Definition at line 66 of file boundaryRadiationPropertiesFvPatchField.H.
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().
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.
boundaryRadiationPropertiesFvPatchField | ( | const boundaryRadiationPropertiesFvPatchField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given a.
greyDiffusiveViewFactorFixedValueFvPatchScalarField onto a new patch
Definition at line 171 of file boundaryRadiationPropertiesFvPatchField.C.
Construct as copy.
Definition at line 188 of file boundaryRadiationPropertiesFvPatchField.C.
boundaryRadiationPropertiesFvPatchField | ( | const boundaryRadiationPropertiesFvPatchField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 202 of file boundaryRadiationPropertiesFvPatchField.C.
|
private |
Return nbr patch index.
Definition at line 61 of file boundaryRadiationPropertiesFvPatchField.C.
References patchIdentifier::index(), and mappedPatchBase::samplePolyPatch().
|
private |
Return nbr mesh.
Definition at line 72 of file boundaryRadiationPropertiesFvPatchField.C.
References mappedPatchBase::sampleMesh().
TypeName | ( | "boundaryRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 149 of file boundaryRadiationPropertiesFvPatchField.H.
References boundaryRadiationPropertiesFvPatchField::boundaryRadiationPropertiesFvPatchField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 159 of file boundaryRadiationPropertiesFvPatchField.H.
References boundaryRadiationPropertiesFvPatchField::boundaryRadiationPropertiesFvPatchField().
|
inline |
Method to obtain properties.
Definition at line 173 of file boundaryRadiationPropertiesFvPatchField.H.
References boundaryRadiationPropertiesFvPatchField::method_, and boundaryRadiationPropertiesFvPatchField::methodTypeNames_.
const Foam::radiation::absorptionEmissionModel & absorptionEmission | ( | ) | const |
Return absorptionEmissionModel.
Definition at line 219 of file boundaryRadiationPropertiesFvPatchField.C.
const Foam::radiation::transmissivityModel & transmissiveModel | ( | ) | const |
Return transmissivityModel.
Definition at line 227 of file boundaryRadiationPropertiesFvPatchField.C.
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().
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().
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().
Foam::tmp< Foam::scalarField > reflectivity | ( | const label | bandI = 0 | ) | const |
Calculate corresponding reflectivity field.
Definition at line 462 of file boundaryRadiationPropertiesFvPatchField.C.
|
virtual |
Write.
Definition at line 472 of file boundaryRadiationPropertiesFvPatchField.C.
References token::END_STATEMENT, Foam::nl, write(), Ostream::write(), Field::writeEntry(), and Ostream::writeKeyword().
|
staticprivate |
Definition at line 78 of file boundaryRadiationPropertiesFvPatchField.H.
Referenced by boundaryRadiationPropertiesFvPatchField::method().
|
private |
How to get property.
Definition at line 81 of file boundaryRadiationPropertiesFvPatchField.H.
Referenced by boundaryRadiationPropertiesFvPatchField::method().
|
private |
Definition at line 84 of file boundaryRadiationPropertiesFvPatchField.H.
|
private |
Absorption/emission model.
Definition at line 87 of file boundaryRadiationPropertiesFvPatchField.H.
|
private |
transmissivity model
Definition at line 90 of file boundaryRadiationPropertiesFvPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.