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);
85 tEqn.
ref().deltaTSp += 1;
86 tEqn.
ref().deltaTSu -=
psi.oldTime();
103 tEqn.
ref().deltaTSp += m;
120 tEqn.
ref().deltaTSu +=
psi -
psi.oldTime();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool eof() const
Return true if end of input seen.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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 > > Lagrangianmddt0(const LagrangianSubScalarField &deltaT, const LagrangianSubSubField< Type > &psi)
Return the explicit/forward time-derivative matrix.
static tmp< LagrangianEqn< Type > > Lagrangianmddt(const LagrangianSubScalarField &deltaT, const LagrangianSubSubField< Type > &psi)
Return the 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.