152 lines
3.3 KiB
Plaintext
152 lines
3.3 KiB
Plaintext
|
/* -------------------------------*- C++ -*--------------------------------- *\
|
||
|
| phasicFlow File |
|
||
|
| copyright: www.cemf.ir |
|
||
|
\* ------------------------------------------------------------------------- */
|
||
|
objectName geometryDict;
|
||
|
objectType dictionary;
|
||
|
/* ------------------------------------------------------------------------- */
|
||
|
// motion model: rotating object around an axis
|
||
|
motionModel rotatingAxisMotion;
|
||
|
|
||
|
surfaces
|
||
|
{
|
||
|
enterGate
|
||
|
{
|
||
|
// type of wall
|
||
|
type planeWall;
|
||
|
// coords of wall
|
||
|
p1 (-0.05 -0.05 0.3);
|
||
|
p2 (-0.05 0.05 0.3);
|
||
|
p3 ( 0.05 0.05 0.3);
|
||
|
p4 (0.05 -0.05 0.3);
|
||
|
// material of wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
|
||
|
cylinderinlet
|
||
|
{
|
||
|
// type of the wall
|
||
|
type cylinderWall;
|
||
|
// begin point of cylinder axis
|
||
|
p1 (0.0 0.0 0.28);
|
||
|
// end point of cylinder axis
|
||
|
p2 (0.0 0.0 0.3);
|
||
|
// radius at p1
|
||
|
radius1 0.03;
|
||
|
// radius at p2
|
||
|
radius2 0.03;
|
||
|
// number of divisions
|
||
|
resolution 36;
|
||
|
// material name of this wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
|
||
|
coneShelltop
|
||
|
{
|
||
|
// type of the wall
|
||
|
type cylinderWall;
|
||
|
// begin point of cylinder axis
|
||
|
p1 (0.0 0.0 0.2);
|
||
|
// end point of cylinder axis
|
||
|
p2 (0.0 0.0 0.28);
|
||
|
// radius at p1
|
||
|
radius1 0.1;
|
||
|
// radius at p2
|
||
|
radius2 0.03;
|
||
|
// number of divisions
|
||
|
resolution 36;
|
||
|
// material name of this wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
|
||
|
cylinderShell
|
||
|
{
|
||
|
// type of the wall
|
||
|
type cylinderWall;
|
||
|
// begin point of cylinder axis
|
||
|
p1 (0.0 0.0 0.1);
|
||
|
// end point of cylinder axis
|
||
|
p2 (0.0 0.0 0.2);
|
||
|
// radius at p1
|
||
|
radius1 0.1;
|
||
|
// radius at p2
|
||
|
radius2 0.1;
|
||
|
// number of divisions
|
||
|
resolution 36;
|
||
|
// material name of this wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
|
||
|
coneShelldown
|
||
|
{
|
||
|
// type of the wall
|
||
|
type cylinderWall;
|
||
|
// begin point of cylinder axis
|
||
|
p1 (0.0 0.0 0.02);
|
||
|
// end point of cylinder axis
|
||
|
p2 (0.0 0.0 0.1);
|
||
|
// radius at p1
|
||
|
radius1 0.03;
|
||
|
// radius at p2
|
||
|
radius2 0.1;
|
||
|
// number of divisions
|
||
|
resolution 36;
|
||
|
// material name of this wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
/*
|
||
|
This is a plane wall at the exit of silo
|
||
|
*/
|
||
|
|
||
|
cylinderoutlet
|
||
|
{
|
||
|
// type of the wall
|
||
|
type cylinderWall;
|
||
|
// begin point of cylinder axis
|
||
|
p1 (0.0 0.0 0.0);
|
||
|
// end point of cylinder axis
|
||
|
p2 (0.0 0.0 0.02);
|
||
|
// radius at p1
|
||
|
radius1 0.03;
|
||
|
// radius at p2
|
||
|
radius2 0.03;
|
||
|
// number of divisions
|
||
|
resolution 36;
|
||
|
// material name of this wall
|
||
|
material prop1;
|
||
|
// motion component name
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
exitGate
|
||
|
{
|
||
|
type planeWall;
|
||
|
p1 (-0.05 -0.05 0);
|
||
|
p2 (-0.05 0.05 0);
|
||
|
p3 ( 0.05 0.05 0);
|
||
|
p4 (0.05 -0.05 0);
|
||
|
material prop1;
|
||
|
motion rotAxis;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
// information for rotatingAxisMotion motion model
|
||
|
rotatingAxisMotionInfo
|
||
|
{
|
||
|
rotAxis
|
||
|
{
|
||
|
p1 (-0.1 0.0 0.15); // first point for the axis of rotation
|
||
|
p2 (0.1 0.0 0.15); // second point for the axis of rotation
|
||
|
omega 3; // rotation speed (rad/s)
|
||
|
}
|
||
|
}
|