40 ignitionSiteDict_(is),
41 location_(ignitionSiteDict_.lookup(
"location")),
42 diameter_(
readScalar(ignitionSiteDict_.lookup(
"diameter"))),
54 readScalar(ignitionSiteDict_.lookup(
"duration"))
57 strength_(
readScalar(ignitionSiteDict_.lookup(
"strength"))),
58 timeIndex_(db_.timeIndex())
61 is.
check(
"ignitionSite::ignitionSite(Istream&)");
63 findIgnitionCells(mesh_);
76 ignitionSiteDict_(is),
77 location_(ignitionSiteDict_.lookup(
"location")),
78 diameter_(
readScalar(ignitionSiteDict_.lookup(
"diameter"))),
93 strength_(
readScalar(ignitionSiteDict_.lookup(
"strength"))),
94 timeIndex_(db_.timeIndex())
97 is.
check(
"ignitionSite::ignitionSite(Istream&)");
99 findIgnitionCells(mesh_);
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
ignitionSite(Istream &, const Time &, const fvMesh &)
Construct from Istream and database.
An abstract class for the time description of the piston motion.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual scalar userTimeToTime(const scalar theta) const
Convert the user-time (e.g. CA deg) to real-time (s).
Mesh data needed to do the Finite Volume discretisation.