31 void Foam::fv::heatTransferAv::readCoeffs(
const dictionary&
dict)
33 typeIOobject<volScalarField> AvIO
41 typeIOobject<volScalarField> AoVIO
55 else if (
dict.found(
"AoV"))
60 else if (AvIO.headerOk())
65 else if (AoVIO.headerOk())
73 <<
"Area per unit volume (Av) not found. A uniform Av value "
74 <<
"should be specified, or a non-uniform field should exist at "
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
static const word & constant()
Return constant name.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
virtual ~heatTransferAv()
Destructor.
virtual bool read(const dictionary &dict)
Read dictionary.
heatTransferAv(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
tmp< volScalarField > Av() const
Get the area per unit volume.
A class for managing temporary objects.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet dimless
const dimensionSet dimLength
VolField< scalar > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.