53 Info<<
"ddtScheme<Type>::New(const fvMesh&, Istream&) : " 54 "constructing ddtScheme<Type>" 62 "ddtScheme<Type>::New(const fvMesh&, Istream&)",
64 ) <<
"Ddt scheme not specified" <<
endl <<
endl 65 <<
"Valid ddt schemes are :" <<
endl 66 << IstreamConstructorTablePtr_->sortedToc()
70 const word schemeName(schemeData);
72 typename IstreamConstructorTable::iterator cstrIter =
73 IstreamConstructorTablePtr_->find(schemeName);
75 if (cstrIter == IstreamConstructorTablePtr_->end())
79 "ddtScheme<Type>::New(const fvMesh&, Istream&)",
81 ) <<
"Unknown ddt scheme " << schemeName <<
nl <<
nl 82 <<
"Valid ddt schemes are :" <<
endl 83 << IstreamConstructorTablePtr_->sortedToc()
87 return cstrIter()(
mesh, schemeData);
162 || isA<cyclicAMIFvPatch>(
mesh().boundary()[
patchi])
165 ddtCouplingCoeff.boundaryField()[
patchi] = 0.0;
171 Info<<
"ddtCouplingCoeff mean max min = " 172 <<
gAverage(ddtCouplingCoeff.internalField())
173 <<
" " <<
gMax(ddtCouplingCoeff.internalField())
174 <<
" " <<
gMin(ddtCouplingCoeff.internalField())
178 return tddtCouplingCoeff;
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
virtual ~ddtScheme()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const dimensionSet dimVol(dimVolume)
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)=0
A class for handling words, derived from string.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
static tmp< ddtScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new ddtScheme created on freestore.
bool eof() const
Return true if end of input seen.
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)=0
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimensions() const
Return dimensions.
Type gMin(const FieldField< Field, Type > &f)
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
Type gAverage(const FieldField< Field, Type > &f)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
tmp< surfaceScalarField > fvcDdtPhiCoeff(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
Type gMax(const FieldField< Field, Type > &f)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.