Go to the documentation of this file.
48 if (
dict.registerObject())
100 const word solverTypeName(solverDict.
lookup(
"solver"));
102 Info<<
"Selecting motion solver: " << solverTypeName <<
endl;
108 dictionaryConstructorTablePtr_
111 if (!dictionaryConstructorTablePtr_)
114 <<
"solver table is empty"
118 dictionaryConstructorTable::iterator cstrIter =
119 dictionaryConstructorTablePtr_->find(solverTypeName);
121 if (cstrIter == dictionaryConstructorTablePtr_->end())
124 <<
"Unknown solver type "
125 << solverTypeName <<
nl <<
nl
126 <<
"Valid solver types are:" <<
endl
127 << dictionaryConstructorTablePtr_->sortedToc()
193 coeffDict_ = subDict(
type() +
"Coeffs");
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
A class for managing temporary objects.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
compressionType
Enumeration for the format of data in the stream.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual bool read()
Read object.
virtual void twoDCorrectPoints(pointField &) const
Ostream & endl(Ostream &os)
Add newline and flush stream.
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
Mesh consisting of general polyhedral cells.
static const twoDPointCorrector & New(const polyMesh &mesh)
Constant dispersed-phase particle diameter model.
Pre-declare SubField and related Field type.
bool & registerObject()
Register object created from this IOobject with registry if true.
virtual bool read()
Read dynamicMeshDict dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
static IOobject stealRegistration(const IOdictionary &dict)
De-register object if registered and assign to current.
const word & constant() const
Return constant name.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const Time & time() const
Return the top-level database.
void correctPoints(pointField &p) const
Correct motion points.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
defineTypeNameAndDebug(combustionModel, 0)
virtual ~motionSolver()
Destructor.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
Write state using given format, version and compression.
streamFormat
Enumeration for the format of data in the stream.