36 namespace solidThermophysicalTransportModels
61 <<
"Cannot instantiate an isotropic transport model "
62 "with anisotropic solid properties"
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &)
Return a temporary field constructed from name,.
virtual const volScalarField & T() const =0
Temperature [K].
A list of keyword definitions, which are a keyword followed by any number of values (e....
static const dictionary null
Null dictionary.
Base-class for solid thermodynamic properties.
virtual bool isotropic() const =0
Return true if thermal conductivity is isotropic.
Abstract base class for solid thermophysical transport models.
virtual void predict()=0
Predict the thermophysical transport coefficients if possible.
virtual const solidThermo & thermo() const
Access function to solid thermophysical properties.
Solid thermophysical transport model for isotropic thermal conductivity.
virtual tmp< scalarField > qCorr(const label patchi) const
Return null patch heat flux correction [W/m^2].
virtual void predict()
Correct the isotropic viscosity.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
isotropic(const solidThermo &thermo)
Construct from solid thermophysical properties.
virtual bool read()
Read thermophysicalTransport dictionary.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
A class for managing temporary objects.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Calculate the laplacian of the given field.
Calculate the snGrad of the given volField.
Calculate the matrix for the laplacian of the field.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > laplacianCorrection(const VolField< scalar > &gamma, const VolField< Type > &vf)
defineTypeNameAndDebug(anisotropic, 0)
addToRunTimeSelectionTable(solidThermophysicalTransportModel, anisotropic, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fluidMulticomponentThermo & thermo