28 #include "surfaceInterpolate.H" 61 ) <<
"Ddt scheme not specified" <<
endl <<
endl 62 <<
"Valid ddt schemes are :" <<
endl 63 << IstreamConstructorTablePtr_->sortedToc()
67 const word schemeName(schemeData);
69 typename IstreamConstructorTable::iterator cstrIter =
70 IstreamConstructorTablePtr_->find(schemeName);
72 if (cstrIter == IstreamConstructorTablePtr_->end())
77 ) <<
"Unknown ddt scheme " << schemeName <<
nl <<
nl 78 <<
"Valid ddt schemes are :" <<
endl 79 << IstreamConstructorTablePtr_->sortedToc()
83 return cstrIter()(
mesh, schemeData);
181 surfaceScalarField::Boundary& ccbf = ddtCouplingCoeff.boundaryFieldRef();
188 || isA<cyclicAMIFvPatch>(
mesh().boundary()[
patchi])
198 <<
"ddtCouplingCoeff mean max min = " 199 <<
gAverage(ddtCouplingCoeff.primitiveField())
200 <<
" " <<
gMax(ddtCouplingCoeff.primitiveField())
201 <<
" " <<
gMin(ddtCouplingCoeff.primitiveField())
205 return tddtCouplingCoeff;
218 return fvcDdtPhiCoeff(U, phi, phiCorr);
241 return fvcDdtPhiCoeff
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)=0
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Type gMin(const FieldField< Field, Type > &f)
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)=0
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const scalar SMALL
const dimensionSet dimTime
const dimensionSet & dimensions() const
Return dimensions.
virtual ~ddtScheme()
Destructor.
A class for handling words, derived from string.
const dimensionSet dimVol
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.
bool eof() const
Return true if end of input seen.
Type gMax(const FieldField< Field, Type > &f)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
virtual tmp< surfaceScalarField > fvcDdtPhiCoeff(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static tmp< ddtScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new ddtScheme created on freestore.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Type gAverage(const FieldField< Field, Type > &f)
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define InfoInFunction
Report an information message using Foam::Info.