mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
diameter->distance, update in tutorials, v-Blender readme.md
This commit is contained in:
@ -6,42 +6,44 @@ objectName domainDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
globalBox // Simulation domain: every particles that goes outside this domain will be deleted
|
||||
{
|
||||
min (-0.328 0.095 -0.025); // lower corner point of the box
|
||||
|
||||
max (-0.068 0.355 0.125); // upper corner point of the box
|
||||
// Simulation domain: every particles that goes outside this domain will be deleted
|
||||
globalBox
|
||||
{
|
||||
min (-0.328 0.095 -0.025); // lower corner point of the box
|
||||
|
||||
max (-0.068 0.355 0.125); // upper corner point of the box
|
||||
}
|
||||
|
||||
boundaries
|
||||
{
|
||||
left
|
||||
{
|
||||
type exit; // other options: periodic, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
rear
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
}
|
||||
|
@ -2,80 +2,81 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
motionModel rotatingAxis;
|
||||
|
||||
rotatingAxisInfo
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
p1 (-0.1974 0.2269 0); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.1); // second point for the axis of rotation
|
||||
|
||||
omega 2.38733; // rotation speed (rad/s) => 15 rpm
|
||||
|
||||
startTime 2; // Start time of Geometry Rotating
|
||||
|
||||
endTime 9.5; // End time of Geometry Rotating
|
||||
}
|
||||
{
|
||||
p1 (-0.1974 0.2269 0); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.1); // second point for the axis of rotation
|
||||
|
||||
omega 2.38733; // rotation speed (rad/s) => 15 rpm
|
||||
|
||||
startTime 2; // Start time of Geometry Rotating
|
||||
|
||||
endTime 9.5; // End time of Geometry Rotating
|
||||
}
|
||||
}
|
||||
|
||||
surfaces
|
||||
{
|
||||
body
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file Body.stl; // file name in stl folder
|
||||
|
||||
material wallMat; // material name of this wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
body
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file Body.stl; // file name in stl folder
|
||||
|
||||
material wallMat; // material name of this wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
/*
|
||||
This is a Cylinder Wall at the rear of cylinder
|
||||
*/
|
||||
/*
|
||||
This is a Cylinder Wall at the rear of cylinder
|
||||
*/
|
||||
|
||||
rearEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (-0.1974 0.2269 -0.001); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.0); // second point for the axis of rotation
|
||||
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
rearEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (-0.1974 0.2269 -0.001); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.0); // second point for the axis of rotation
|
||||
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
/*
|
||||
This a cylinder Wall at the front of Cylinder
|
||||
*/
|
||||
/*
|
||||
This a cylinder Wall at the front of Cylinder
|
||||
*/
|
||||
|
||||
frontEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (-0.1974 0.2269 0.0989); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.0990); // second point for the axis of rotation
|
||||
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
frontEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (-0.1974 0.2269 0.0989); // first point for the axis of rotation
|
||||
|
||||
p2 (-0.1974 0.2269 0.0990); // second point for the axis of rotation
|
||||
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,7 @@ setFields
|
||||
{
|
||||
/*
|
||||
Default value for fields defined for particles
|
||||
|
||||
These fields should always be defined for simulations with
|
||||
|
||||
spherical particles.
|
||||
*/
|
||||
|
||||
@ -29,30 +27,13 @@ setFields
|
||||
|
||||
selectors
|
||||
{
|
||||
shapeAssigne
|
||||
{
|
||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
||||
|
||||
stridedRangeInfo
|
||||
{
|
||||
begin 0; // begin index of points
|
||||
|
||||
end 20000; // end index of points
|
||||
|
||||
stride 3; // stride for selector
|
||||
}
|
||||
|
||||
fieldValue // fields that the selector is applied to
|
||||
{
|
||||
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
positionParticles // positions particles
|
||||
positionParticles
|
||||
{
|
||||
method empty; // other options: random and ordered
|
||||
method empty; // other options: random, file and ordered
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,34 +2,36 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName settingsDict;
|
||||
objectType dictionary;
|
||||
objectName settingsDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
run RotatingDrumwithBaffles;
|
||||
run RotatingDrumwithBaffles;
|
||||
|
||||
dt 0.00001; // time step for integration (s)
|
||||
dt 0.00001; // time step for integration (s)
|
||||
|
||||
startTime 0; // start time for simulation
|
||||
startTime 0; // start time for simulation
|
||||
|
||||
endTime 10; // end time for simulation
|
||||
endTime 10; // end time for simulation
|
||||
|
||||
saveInterval 0.05; // time interval for saving the simulation
|
||||
saveInterval 0.05; // time interval for saving the simulation
|
||||
|
||||
timePrecision 6; // maximum number of digits for time folder
|
||||
timePrecision 6; // maximum number of digits for time folder
|
||||
|
||||
g (0 -9.8 0); // gravity vector (m/s2)
|
||||
g (0 -9.8 0); // gravity vector (m/s2)
|
||||
|
||||
// save necessary (i.e., required) data on disk
|
||||
// save necessary data on disk
|
||||
includeObjects (diameter);
|
||||
|
||||
// exclude unnecessary data from saving on disk
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
excludeObjects ();
|
||||
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
integrationHistory off; // to sace space on disk
|
||||
|
||||
timersReport Yes; // report timers (Yes or No)
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
|
||||
timersReportInterval 0.1; // time interval for reporting timers
|
||||
timersReport Yes; // report timers (Yes or No)
|
||||
|
||||
timersReportInterval 0.1; // time interval for reporting timers
|
||||
|
Reference in New Issue
Block a user