mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
tutorials-1 after diameter->distance
This commit is contained in:
@ -2,46 +2,48 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName domainDict;
|
||||
objectType dictionary;
|
||||
objectName domainDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
globalBox // Simulation domain: every particles that goes outside this domain will be deleted
|
||||
|
||||
// Simulation domain: every particles that goes outside this domain will be deleted
|
||||
globalBox
|
||||
{
|
||||
min (0.397538 0.178212 0.00);
|
||||
|
||||
max (0.725537 0.600214 0.06);
|
||||
min (0.397538 0.178212 0.00);
|
||||
|
||||
max (0.725537 0.600214 0.06);
|
||||
}
|
||||
|
||||
boundaries
|
||||
{
|
||||
left
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
left
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
right
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
top
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
rear
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
rear
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
front
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
}
|
||||
|
@ -2,50 +2,50 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
motionModel rotatingAxis; // motion model: rotating object around an axis
|
||||
|
||||
rotatingAxisInfo // information for rotatingAxisMotion motion model
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
p1 (0.561547 0.372714 0.000); // first point for the axis of rotation
|
||||
|
||||
p2 (0.561547 0.372714 0.010); // second point for the axis of rotation
|
||||
rotAxis
|
||||
{
|
||||
p1 (0.561547 0.372714 0.000); // first point for the axis of rotation
|
||||
|
||||
p2 (0.561547 0.372714 0.010); // second point for the axis of rotation
|
||||
|
||||
omega 2.1; // rotation speed (rad/s)
|
||||
omega 2.1; // rotation speed (rad/s)
|
||||
|
||||
startTime 1.25; // Start time of Geometry Rotating (s)
|
||||
|
||||
endTime 7; // End time of Geometry Rotating (s)
|
||||
}
|
||||
startTime 1.25; // Start time of Geometry Rotating (s)
|
||||
|
||||
endTime 7; // End time of Geometry Rotating (s)
|
||||
}
|
||||
}
|
||||
|
||||
surfaces
|
||||
{
|
||||
gear
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
gear
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file gear.stl; // file name in stl folder
|
||||
file gear.stl; // file name in stl folder
|
||||
|
||||
material wallMat; // material name of this wall
|
||||
material wallMat; // material name of this wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
surfaces
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file surfaces.stl; // file name in stl folder
|
||||
file surfaces.stl; // file name in stl folder
|
||||
|
||||
material wallMat; // material name of this wall
|
||||
material wallMat; // material name of this wall
|
||||
|
||||
motion none; // motion component name
|
||||
}
|
||||
motion none; // motion component name
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName particlesDict;
|
||||
objectType dictionary;
|
||||
objectName particlesDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -25,10 +25,12 @@ g (0 -9.8 0); // gravity vector (m/s2)
|
||||
includeObjects (diameter mass);
|
||||
|
||||
// exclude unnecessary data from saving on disk
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
excludeObjects ();
|
||||
|
||||
integrationMethod AdamsBashforth2;
|
||||
|
||||
integrationHistory off;
|
||||
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
|
||||
timersReport Yes; // report timers: Yes or No
|
||||
|
Reference in New Issue
Block a user