55 rpm_(SRFModelCoeffs_.get<scalar>(
"rpm"))
68 SRFModelCoeffs_.readEntry(
"rpm", rpm_);
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 model for single rotating frame.
dimensionedVector omega_
Angular velocity of the frame (rad/s).
vector axis_
Axis of rotation, a direction vector which passes through the origin.
dictionary SRFModelCoeffs_
SRF model coefficients dictionary.
tmp< volVectorField > U() const
Return velocity of SRF for complete mesh.
virtual bool read()
Read radiationProperties dictionary.
Basic SRF model whereby angular velocity is specified in terms of a (global) axis and revolutions-per...
bool read()
Read coefficients.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Namespace for single rotating frame (SRF) models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
constexpr scalar rpmToRads() noexcept
Multiplication factor for revolutions/minute to radians/sec.
Unit conversion functions.