Function1s::omega: New user convenience class to handle the input of time-varying rotational speed
Description
User convenience class to handle the input of time-varying rotational speed
in rad/s if \c omega is specified or rpm if \c rpm is specified.
Usage
For specifying the rotational speed in rpm of an MRF zone:
\verbatim
MRF
{
cellZone rotor;
origin (0 0 0);
axis (0 0 1);
rpm 60;
}
\endverbatim
or the equivalent specified in rad/s:
\verbatim
MRF
{
cellZone rotor;
origin (0 0 0);
axis (0 0 1);
rpm 6.28319;
}
\endverbatim
or for a tabulated ramped rotational speed of a solid body:
\verbatim
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)
);
}
\endverbatim
The following classes have been updated to use the new Function1s::omega class:
solidBodyMotionFunctions::rotatingMotion
MRFZone
rotatingPressureInletOutletVelocityFvPatchVectorField
rotatingTotalPressureFvPatchScalarField
rotatingWallVelocityFvPatchVectorField
and all tutorials using these models and BCs updated to use rpm where appropriate.
This commit is contained in:
@ -28,7 +28,8 @@ mover
|
||||
|
||||
origin (0 0 0);
|
||||
axis (1 0 0);
|
||||
omega 6.2832;
|
||||
|
||||
rpm 60;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -28,7 +28,8 @@ mover
|
||||
|
||||
origin (0 0 0);
|
||||
axis (0 1 0);
|
||||
omega 158; // rad/s
|
||||
|
||||
rpm 1500;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -26,7 +26,8 @@ mover
|
||||
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
omega 6.2832; // rad/s
|
||||
|
||||
rpm 60;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user