mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-08-07 03:37:02 +00:00
toteblender is Updated.
This commit is contained in:
@ -6,35 +6,19 @@ 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.3 -0.3 -0.3); // lower corner point of the box
|
||||
min (-0.3 -0.3 -0.3); // lower corner point of the box
|
||||
|
||||
max (0.5 0.5 0.5); // upper corner point of the box
|
||||
}
|
||||
|
||||
decomposition
|
||||
{
|
||||
direction z;
|
||||
max (0.5 0.5 0.5); // upper corner point of the box
|
||||
}
|
||||
|
||||
boundaries
|
||||
{
|
||||
|
||||
|
||||
neighborListUpdateInterval 50; /* Determines how often (how many iterations) do you want to
|
||||
|
||||
rebuild the list of particles in the neighbor list
|
||||
|
||||
of all boundaries in the simulation domain */
|
||||
|
||||
updateInterval 10; // Determines how often do you want to update the new changes in the boundary
|
||||
|
||||
neighborLength 0.004; // The distance from the boundary plane within which particles are marked to be in the boundary list
|
||||
|
||||
left
|
||||
{
|
||||
type exit; // other options: periodic, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
right
|
||||
|
@ -12,15 +12,15 @@ rotatingAxisInfo // information for rotatingAxis
|
||||
{
|
||||
axisOfRotation
|
||||
{
|
||||
p1 (-0.1 0.0 0.15); // first point for the axis of rotation
|
||||
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
|
||||
p2 (0.1 0.0 0.15); // second point for the axis of rotation
|
||||
|
||||
omega 1.5708; // rotation speed ==> 15 rad/s
|
||||
omega 1.5708; // rotation speed ==> 15 rad/s
|
||||
|
||||
startTime 0.5; // Start time of Geometry Rotating (s)
|
||||
startTime 0.5; // Start time of Geometry Rotating (s)
|
||||
|
||||
endTime 9.5; // End time of Geometry Rotating (s)
|
||||
endTime 9.5; // End time of Geometry Rotating (s)
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,132 +28,132 @@ surfaces
|
||||
{
|
||||
topGate
|
||||
{
|
||||
type cylinderWall; // type of wall
|
||||
type cylinderWall; // type of wall
|
||||
|
||||
p1 (0.0 0.0 0.3); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.3); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.301); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.301); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.0001; // radius at p2
|
||||
radius2 0.0001; // radius at p2
|
||||
|
||||
material solidProperty; // material of wall
|
||||
material solidProperty; // material of wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
topCylinder
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 0.28); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.28); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.3); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.3); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.03; // radius at p2
|
||||
radius2 0.03; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
coneShelltop
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 0.2); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.2); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.28); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.28); // end point of cylinder axis
|
||||
|
||||
radius1 0.1; // radius at p1
|
||||
radius1 0.1; // radius at p1
|
||||
|
||||
radius2 0.03; // radius at p2
|
||||
radius2 0.03; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
cylinderShell
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 0.1); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.1); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.2); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.2); // end point of cylinder axis
|
||||
|
||||
radius1 0.1; // radius at p1
|
||||
radius1 0.1; // radius at p1
|
||||
|
||||
radius2 0.1; // radius at p2
|
||||
radius2 0.1; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
coneShelldown
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 0.02); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.02); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.1); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.1); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.1; // radius at p2
|
||||
radius2 0.1; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
bottomCylinder
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 0.0); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.0); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.02); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.02); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.03; // radius at p2
|
||||
radius2 0.03; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
|
||||
exitGate
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (0.0 0.0 -0.001); // begin point of cylinder axis
|
||||
p1 (0.0 0.0 -0.001); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.0); // end point of cylinder axis
|
||||
p2 (0.0 0.0 0.0); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.0001; // radius at p2
|
||||
radius2 0.0001; // radius at p2
|
||||
|
||||
resolution 36; // number of divisions
|
||||
resolution 36; // number of divisions
|
||||
|
||||
material solidProperty; // material name of this wall
|
||||
material solidProperty; // material name of this wall
|
||||
|
||||
motion axisOfRotation; // motion component name
|
||||
motion axisOfRotation; // motion component name
|
||||
}
|
||||
}
|
||||
|
@ -31,15 +31,15 @@ setFields
|
||||
{
|
||||
shapeAssigne
|
||||
{
|
||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
||||
|
||||
stridedRangeInfo
|
||||
{
|
||||
begin 0; // begin index of points
|
||||
begin 0; // begin index of points
|
||||
|
||||
end 24000; // end index of points
|
||||
end 24000; // end index of points
|
||||
|
||||
stride 3; // stride for selector
|
||||
stride 3; // stride for selector
|
||||
}
|
||||
|
||||
fieldValue // fields that the selector is applied to
|
||||
@ -53,27 +53,27 @@ setFields
|
||||
positionParticles // positions particles
|
||||
{
|
||||
|
||||
method ordered; // ordered positioning
|
||||
method ordered; // other options: random and empty
|
||||
|
||||
mortonSorting Yes; // perform initial sorting based on morton code?
|
||||
|
||||
orderedInfo
|
||||
{
|
||||
diameter 0.005; // minimum space between centers of particles
|
||||
diameter 0.005; // minimum space between centers of particles
|
||||
|
||||
numPoints 24000; // number of particles in the simulation
|
||||
numPoints 24000; // number of particles in the simulation
|
||||
|
||||
axisOrder (x y z); // axis order for filling the space with particles
|
||||
axisOrder (x y z); // axis order for filling the space with particles
|
||||
}
|
||||
|
||||
regionType cylinder; // other options: cylinder and sphere
|
||||
regionType cylinder; // other options: box and sphere
|
||||
|
||||
cylinderInfo // cylinder for positioning particles
|
||||
{
|
||||
p1 (0.0 0.0 0.09); // Coordinates of bottom cylinderRegion (m,m,m)
|
||||
p1 (0.0 0.0 0.09); // Coordinates of bottom cylinderRegion (m,m,m)
|
||||
|
||||
p2 (0.0 0.0 0.21); // Coordinates of top cylinderRegion (m,m,m)
|
||||
p2 (0.0 0.0 0.21); // Coordinates of top cylinderRegion (m,m,m)
|
||||
|
||||
radius 0.09; // radius of cylinder
|
||||
radius 0.09; // radius of cylinder
|
||||
}
|
||||
}
|
||||
|
@ -6,29 +6,31 @@ objectName settingsDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
run toteblender;
|
||||
run toteblender;
|
||||
|
||||
dt 0.00004; // time step for integration (s)
|
||||
dt 0.00004; // 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
|
||||
|
||||
timePrecision 3; // maximum number of digits for time folder
|
||||
timePrecision 3; // maximum number of digits for time folder
|
||||
|
||||
g (0 0 -9.8); // gravity vector (m/s2)
|
||||
g (0 0 -9.8); // gravity vector (m/s2)
|
||||
|
||||
includeObjects (diameter); // save necessary (i.e., required) data on disk
|
||||
|
||||
// save necessary (i.e., required) data on disk
|
||||
includeObjects (diameter);
|
||||
|
||||
// exclude unnecessary data from saving on disk
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
|
||||
timersReport Yes; // report timers (Yes or No)
|
||||
timersReport Yes; // report timers (Yes or No)
|
||||
|
||||
timersReportInterval 0.02; // time interval for reporting timers
|
||||
timersReportInterval 0.02; // time interval for reporting timers
|
||||
|
Reference in New Issue
Block a user