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);
163 *
mesh().time().deltaT()*
mesh().deltaCoeffs()/
mesh().magSf(),
169 surfaceScalarField::Boundary& ccbf =
177 || isA<cyclicAMIFvPatch>(
mesh().boundary()[
patchi])
187 <<
"ddtCouplingCoeff mean max min = " 194 return tddtCouplingCoeff;
230 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.
const dimensionSet dimVol(dimVolume)
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
const dimensionSet & dimensions() const
Return dimensions.
virtual ~ddtScheme()
Destructor.
A class for handling words, derived from string.
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 tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
tmp< surfaceScalarField > fvcDdtPhiCoeff(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
#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.
Type gAverage(const FieldField< Field, Type > &f)
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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.