User convenience class to handle the input of time-varying rotational speed in rad/s if omega
is specified or rpm if rpm
is specified.
More...
Public Member Functions | |
omega () | |
Construct null. More... | |
omega (const dictionary &dict) | |
Construct from dictionary. More... | |
omega (const omega &) | |
Copy constructor. More... | |
bool | read (const dictionary &dict) |
Update omega function from given dictionary. More... | |
scalar | value (const scalar t) const |
Return value for time t. More... | |
scalar | integral (const scalar t1, const scalar t2) const |
Return the integral between times t1 and t2. More... | |
void | write (Ostream &os) const |
Write data to dictionary stream. More... | |
void | operator= (const omega &)=delete |
Disallow default bitwise assignment. More... | |
User convenience class to handle the input of time-varying rotational speed in rad/s if omega
is specified or rpm if rpm
is specified.
MRF { cellZone rotor; origin (0 0 0); axis (0 0 1); rpm 60; }or the equivalent specified in rad/s:
MRF { cellZone rotor; origin (0 0 0); axis (0 0 1); omega 6.28319; }or for a tabulated ramped rotational speed of a solid body:
mover { type motionSolver; libs ("libfvMeshMovers.so" "libfvMotionSolvers.so"); motionSolver solidBody; cellZone innerCylinder; solidBodyMotionFunction rotatingMotion; origin (0 0 0); axis (0 1 0); rpm table ( (0 0) (0.01 6000) (0.022 6000) (0.03 4000) (100 4000) ); }
omega | ( | const dictionary & | dict | ) |
bool read | ( | const dictionary & | dict | ) |
Update omega function from given dictionary.
Definition at line 61 of file omega.C.
References dict, and Foam::constant::mathematical::pi().
|
inline |
|
inline |
void write | ( | Ostream & | os | ) | const |
Write data to dictionary stream.
Definition at line 77 of file omega.C.
References Foam::Function1s::writeEntry().
Referenced by Foam::Function1s::writeEntry().
|
delete |
Disallow default bitwise assignment.