mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
solidBodyMotionFunctions: Changed CofG to origin where appropriate and support run-time selectable omega specification in rotatingMotion
This commit is contained in:
@ -26,8 +26,9 @@ solidBodyMotionFvMeshCoeffs
|
||||
solidBodyMotionFunction rotatingMotion;
|
||||
rotatingMotionCoeffs
|
||||
{
|
||||
CofG (0 0 0);
|
||||
radialVelocity (0 0 -288); // deg/s -> 5 rad/s -> 48 rpm
|
||||
origin (0 0 0);
|
||||
axis (0 0 1);
|
||||
omega -5; // 5 rad/s
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -29,8 +29,9 @@ solidBodyMotionFvMeshCoeffs
|
||||
solidBodyMotionFunction rotatingMotion;
|
||||
rotatingMotionCoeffs
|
||||
{
|
||||
CofG (0 0.1 0);
|
||||
radialVelocity (0 0 360); // degrees/s
|
||||
origin (0 0.1 0);
|
||||
axis (0 0 1);
|
||||
omega 6.2832; // rad/s
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,17 +41,19 @@ solidBodyMotionFvMeshCoeffs
|
||||
// solidBodyMotionFunction rotatingMotion;
|
||||
// rotatingMotionCoeffs
|
||||
// {
|
||||
// CofG (0 0 0);
|
||||
// radialVelocity (720 0 0); // degrees/s
|
||||
// origin (0 0 0);
|
||||
// axis (1 0 0);
|
||||
// omega 12.5664; // rad/s
|
||||
// }
|
||||
//}
|
||||
|
||||
// Tube rocking on rotating table
|
||||
rotatingBox
|
||||
{
|
||||
solidBodyMotionFunction oscillatingRotatingMotion;
|
||||
oscillatingRotatingMotionCoeffs
|
||||
{
|
||||
CofG (0 0 0);
|
||||
origin (0 0 0);
|
||||
omega 40; // rad/s
|
||||
amplitude (45 0 0); // 45 degrees max tilt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user