42Foam::freePiston::freePiston
89 return pistonPositionTime_->
value(theta);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const objectRegistry & db() const noexcept
Return the local objectRegistry.
scalar deltaTValue() const noexcept
Return time step value.
const fileName & rootPath() const noexcept
The root path.
const fileName & caseName() const noexcept
The case name.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const scalar & value() const noexcept
An abstract class for the time description of the piston motion.
engineTime(const word &name, const fileName &rootPath, const fileName &caseName, const fileName &systemName="system", const fileName &constantName="constant", const fileName &dictName="engineGeometry")
Construct from objectRegistry arguments.
dimensionedScalar pistonPosition() const
Return current piston position.
static autoPtr< engineTime > New(const word &name, const fileName &rootPath, const fileName &caseName, const fileName &systemName="system", const fileName &constantName="constant", const fileName &dictName="engineGeometry")
A class for handling file names.
In case of free pistons, the piston position is determined by a user-defined position according to ti...
virtual scalar theta() const
Return current engine time.
virtual scalar deltaTheta() const
Return engine time increment.
virtual word unit() const
Return time unit.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const word dictName("faMeshDefinition")
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.