mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
new solidBodyMotionFunctions
This commit is contained in:
@ -34,14 +34,25 @@ solidBodyMotionFvMeshCoeffs
|
||||
}
|
||||
}
|
||||
|
||||
// Box rotates on rotating table
|
||||
//// Box rotates on rotating table
|
||||
//rotatingBox
|
||||
//{
|
||||
// solidBodyMotionFunction rotationMotion;
|
||||
// rotationMotionCoeffs
|
||||
// {
|
||||
// CofG (0 0 0);
|
||||
// radialVelocity (720 0 0); // degrees/s
|
||||
// }
|
||||
//}
|
||||
// Box rocking on rotating table
|
||||
rotatingBox
|
||||
{
|
||||
solidBodyMotionFunction rotationMotion;
|
||||
rotationMotionCoeffs
|
||||
solidBodyMotionFunction rockingMotion;
|
||||
rockingMotionCoeffs
|
||||
{
|
||||
CofG (0 0 0);
|
||||
radialVelocity (720 0 0); // degrees/s
|
||||
omega 40; // rad/s
|
||||
amplitude (45 0 0); // 45 degrees max tilt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ regions
|
||||
(
|
||||
boxToCell
|
||||
{
|
||||
box ( -100 -100 -100 ) ( 100 -0.02 100);
|
||||
box ( -100 -100 -100 ) ( 100 100 -0.0025);
|
||||
fieldValues ( volScalarFieldValue alpha1 1 );
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user