52 coeffDict_(
dict.optionalSubDict(
type +
"Coeffs"))
72 const word solverTypeName = solverDict.
lookup<
word>(
"motionSolver");
74 Info<<
"Selecting motion solver: " << solverTypeName <<
endl;
80 dictionaryConstructorTablePtr_
83 if (!dictionaryConstructorTablePtr_)
86 <<
"solver table is empty"
90 dictionaryConstructorTable::iterator cstrIter =
91 dictionaryConstructorTablePtr_->find(solverTypeName);
93 if (cstrIter == dictionaryConstructorTablePtr_->end())
96 <<
"Unknown solver type "
97 << solverTypeName <<
nl <<
nl
98 <<
"Valid solver types are:" <<
endl
99 << dictionaryConstructorTablePtr_->sortedToc()
static twoDPointCorrector & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
Virtual base class for mesh motion solver.
virtual ~motionSolver()
Destructor.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
virtual void twoDCorrectPoints(pointField &) const
Correct point field for reduced-dimensionality cases.
static autoPtr< motionSolver > New(const word &name, const polyMesh &, const dictionary &)
Select constructed from polyMesh and dictionary.
virtual bool write() const
Optionally write motion state information for restart.
virtual autoPtr< motionSolver > clone() const
Clone function.
motionSolver(const word &name, const polyMesh &mesh, const dictionary &, const word &type)
Construct from polyMesh and dictionary and type.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
void correctPoints(pointField &p) const
Correct motion points.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dlLibraryTable libs
Table of loaded dynamic libraries.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
defineTypeNameAndDebug(combustionModel, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.