2022-09-05 18:51:19 +00:00
|
|
|
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
|
|
| phasicFlow File |
|
|
|
|
| copyright: www.cemf.ir |
|
|
|
|
\* ------------------------------------------------------------------------- */
|
2025-03-05 00:37:52 +00:00
|
|
|
objectName geometryDict;
|
|
|
|
objectType dictionary;
|
|
|
|
fileFormat ASCII;
|
2023-04-12 06:09:49 +00:00
|
|
|
/*---------------------------------------------------------------------------*/
|
2025-03-05 00:37:52 +00:00
|
|
|
motionModel rotatingAxis; // motion model: rotating object around an axis
|
2022-09-05 18:51:19 +00:00
|
|
|
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
rotatingAxisInfo // information for rotatingAxisMotion motion model
|
2024-12-24 14:44:19 +00:00
|
|
|
{
|
2025-03-05 00:37:52 +00:00
|
|
|
rotAxis
|
|
|
|
{
|
|
|
|
p1 (0.0 0.0 0.0); // first point for the axis of rotation
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p2 (0.0 0.0 1.0); // second point for the axis of rotation
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
omega 1.214; // rotation speed (rad/s) => 11.6 rpm
|
|
|
|
}
|
2024-12-24 14:44:19 +00:00
|
|
|
}
|
2022-09-05 18:51:19 +00:00
|
|
|
|
|
|
|
surfaces
|
|
|
|
{
|
2025-03-05 00:37:52 +00:00
|
|
|
/*
|
|
|
|
A cylinder with begin and end radii 0.12 m and axis points at (0 0 0) and (0 0 0.36)
|
|
|
|
*/
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
cylinder
|
|
|
|
{
|
|
|
|
type cylinderWall; // type of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p1 (0.0 0.0 0.0); // begin point of cylinder axis
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p2 (0.0 0.0 0.36); // end point of cylinder axis
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
radius1 0.12; // radius at p1
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
radius2 0.12; // radius at p2
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
resolution 24; // number of divisions
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
material wallMat; // material name of this wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
motion rotAxis; // motion component name
|
|
|
|
}
|
2022-09-05 18:51:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
/*
|
|
|
|
This is a plane wall at the rear end of cylinder
|
|
|
|
*/
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
wall1
|
|
|
|
{
|
|
|
|
type planeWall; // type of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p1 (-0.12 -0.12 0.0); // first point of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p2 ( 0.12 -0.12 0.0); // second point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p3 ( 0.12 0.12 0.0); // third point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p4 (-0.12 0.12 0.0); // fourth point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
material wallMat; // material name of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
motion rotAxis; // motion component name
|
|
|
|
}
|
2022-09-05 18:51:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
/*
|
|
|
|
This is a plane wall at the front end of cylinder
|
|
|
|
*/
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
wall2
|
|
|
|
{
|
|
|
|
type planeWall; // type of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p1 (-0.12 -0.12 0.36); // first point of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p2 ( 0.12 -0.12 0.36); // second point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p3 ( 0.12 0.12 0.36); // third point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
p4 (-0.12 0.12 0.36); // fourth point
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
material wallMat; // material name of the wall
|
2024-12-24 14:44:19 +00:00
|
|
|
|
2025-03-05 00:37:52 +00:00
|
|
|
motion rotAxis; // motion component name
|
|
|
|
}
|
2022-09-05 18:51:19 +00:00
|
|
|
}
|
|
|
|
|