210 a_ = absorptionEmission_->a();
211 e_ = absorptionEmission_->e();
212 E_ = absorptionEmission_->E();
222 1.0/(3.0*a_ + sigmaEff +
a0)
224 const auto&
gamma = tgamma();
240 forAll(mesh_.boundaryMesh(), patchi)
244 qrBf[patchi] = -gammaBf[patchi]*GBf[patchi].snGrad();
274 return absorptionEmission_->nBands();
Different types of constants.
label nBands() const
Number of bands.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const dimensionedScalar G
Newtonian constant of gravitation.
Calculate the matrix for the laplacian of the field.
bool read()
Read radiation properties dictionary.
const dimensionSet dimless
Dimensionless.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
Works well for combustion applications where optical thickness, tau is large, i.e. tau = a*L > 3 (L = distance between objects)
virtual tmp< volScalarField::Internal > Ru() const
Source term component (constant)
virtual bool read()=0
Read radiationProperties dictionary.
void calculate()
Solve radiation equation(s)
Top level model for radiation modelling.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
SolverPerformance< Type > solve(faMatrix< Type > &, const dictionary &solverControls)
Solve returning the solution statistics given convergence tolerance.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
defineTypeNameAndDebug(combustionModel, 0)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow3(const dimensionedScalar &ds)
virtual tmp< volScalarField > Rp() const
Source term component (for power of T^4)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow4(const dimensionedScalar &ds)
const dimensionedScalar a0
Bohr radius: default SI units: [m].
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Request registration (bool: true)
#define addToRadiationRunTimeSelectionTables(model)
Do not request registration (bool: false)
Calculate the finiteVolume matrix for implicit and explicit sources.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
static constexpr const zero Zero
Global zero (0)