Merge pull request #3 from omid-khosravi/tutorial

tote blender geometry dict fix
This commit is contained in:
Omid Khosravi 2023-03-26 23:09:10 +03:30 committed by GitHub
commit 2ccc9760b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 13 deletions

View File

@ -7,7 +7,16 @@ objectType dictionary;
/* ------------------------------------------------------------------------- */
// motion model: rotating object around an axis
motionModel rotatingAxisMotion;
// information for rotatingAxisMotion motion model
rotatingAxisMotionInfo
{
axisOfRotation
{
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 1.5708; // rotation speed ==> 15 rad/s
}
}
surfaces
{
enterGate
@ -22,7 +31,7 @@ surfaces
// material of wall
material prop1;
// motion component name
motion rotAxis;
motion axisOfRotation;
}
cylinderinlet
@ -139,13 +148,3 @@ surfaces
}
}
// 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)
}
}

View File

@ -23,7 +23,7 @@ g (0 0 -9.8);
/* every particles that goes outside this domain is deleted. */
domain
{
min (-0.5 -0.5 -0.5);
min (-0.3 -0.3 -0.3);
max (0.5 0.5 0.5);
}
// integration method