42 <<
"Ddt scheme not specified" <<
endl <<
endl
43 <<
"Valid ddt schemes are :" <<
endl
44 << IstreamConstructorTablePtr_->sortedToc()
48 const word schemeName(is);
50 typename IstreamConstructorTable::iterator cstrIter =
51 IstreamConstructorTablePtr_->find(schemeName);
53 if (cstrIter == IstreamConstructorTablePtr_->end())
56 <<
"Unknown ddt scheme " << schemeName <<
nl <<
nl
57 <<
"Valid ddt schemes are :" <<
endl
58 << IstreamConstructorTablePtr_->sortedToc()
62 return cstrIter()(
mesh, is);
84 tEqn.
ref().deltaTSp += 1;
85 tEqn.
ref().deltaTSu -=
psi.oldTime();
101 tEqn.
ref().deltaTSp += m;
117 tEqn.
ref().deltaTSu +=
psi -
psi.oldTime();
146 return psi -
psi.oldTime();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool eof() const
Return true if end of input seen.
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
Class containing Lagrangian geometry and topology.
virtual ~ddtScheme()
Destructor.
static tmp< ddtScheme< Type > > New(const LagrangianMesh &mesh, Istream &is)
Return a pointer to a new ddtScheme.
static tmp< LagrangianEqn< Type > > Lagrangianmddt(const LagrangianSubSubField< Type > &psi)
Return a Euler implicit time derivative matrix.
static tmp< LagrangianSubField< Type > > LagrangiancdeltaTddt0(const LagrangianSubSubField< Type > &psi)
Return the Euler explicit/forward time-derivative multiplied by the.
static tmp< LagrangianEqn< Type > > Lagrangianmddt0(const LagrangianSubSubField< Type > &psi)
Return a Euler explicit/forward time-derivative matrix.
const Field0Type & oldTime() const
Return the old-time field.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const volScalarField & psi
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.