27 #include "isotropic.H"
59 printCoeffs_(lookupOrDefault<
Switch>(
"printCoeffs", false)),
60 coeffDict_(optionalSubDict(
type +
"Coeffs"))
71 solidThermophysicalTransportModel::typeName,
83 Info<<
"Selecting solid thermophysical transport model "
86 typename dictionaryConstructorTable::iterator cstrIter =
87 dictionaryConstructorTablePtr_->find(modelType);
89 if (cstrIter == dictionaryConstructorTablePtr_->end())
92 <<
"Unknown solid thermophysical transport model "
93 << modelType <<
nl <<
nl
94 <<
"Available models:" <<
endl
95 << dictionaryConstructorTablePtr_->sortedToc()
106 Info<<
"Selecting default solid thermophysical transport model "
107 << solidThermophysicalTransportModels::isotropic::typeName
141 coeffDict_ <<= optionalSubDict(
type() +
"Coeffs");
const Boundary & boundaryField() const
Return const-reference to the boundary field.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
static const word & constant()
Return constant name.
virtual const fvMesh & mesh() const =0
Return const access to the mesh.
virtual const volScalarField & kappa() const =0
Thermal conductivity of mixture [W/m/K].
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Time & time() const
Return the top-level database.
virtual bool read()
Read object.
Base-class for solid thermodynamic properties.
Abstract base class for solid thermophysical transport models.
dictionary coeffDict_
Model coefficients dictionary.
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual void correct()
Solve the thermophysical transport model equations.
virtual bool read()=0
Read model coefficients if they have changed.
static autoPtr< solidThermophysicalTransportModel > New(const solidThermo &thermo)
Return a reference to the selected thermophysical transport model.
virtual void predict()=0
Predict the thermophysical transport coefficients if possible.
virtual tmp< volScalarField > kappa() const
Thermal conductivity [W/m/K].
solidThermophysicalTransportModel(const word &type, const solidThermo &thermo)
Construct from solid thermophysical properties.
Switch printCoeffs_
Flag to print the model coeffs at run-time.
Solid thermophysical transport model for isotropic thermal conductivity.
Abstract base class for all fluid and solid thermophysical transport models.
A class for managing temporary objects.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo