mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
RotatingDrumWithBaffles is Updated.
This commit is contained in:
@ -13,25 +13,8 @@ globalBox // Simulation domain: every par
|
||||
max (-0.068 0.355 0.125); // upper corner point of the box
|
||||
}
|
||||
|
||||
decomposition
|
||||
{
|
||||
direction z;
|
||||
}
|
||||
|
||||
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
|
||||
|
@ -12,15 +12,15 @@ rotatingAxisInfo
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
p1 (-0.1974 0.2269 0); // first point for the axis of rotation
|
||||
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
|
||||
p2 (-0.1974 0.2269 0.1); // second point for the axis of rotation
|
||||
|
||||
omega 2.38733; // rotation speed (rad/s) => 15 rpm
|
||||
omega 2.38733; // rotation speed (rad/s) => 15 rpm
|
||||
|
||||
startTime 2; // Start time of Geometry Rotating
|
||||
startTime 2; // Start time of Geometry Rotating
|
||||
|
||||
endTime 9.5; // End time of Geometry Rotating
|
||||
endTime 9.5; // End time of Geometry Rotating
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,13 +28,13 @@ surfaces
|
||||
{
|
||||
body
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file Body.stl; // file name in stl folder
|
||||
file Body.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
|
||||
}
|
||||
|
||||
/*
|
||||
@ -43,19 +43,19 @@ surfaces
|
||||
|
||||
rearEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
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
|
||||
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
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
/*
|
||||
@ -64,19 +64,18 @@ surfaces
|
||||
|
||||
frontEnd
|
||||
{
|
||||
type cylinderWall; // type of the wall
|
||||
type cylinderWall; // type of the wall
|
||||
|
||||
p1 (-0.1974 0.2269 0.0989); // first point for the axis of rotation
|
||||
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
|
||||
p2 (-0.1974 0.2269 0.0990); // second point for the axis of rotation
|
||||
|
||||
radius1 0.0001; // Radius of p1
|
||||
radius1 0.0001; // Radius of p1
|
||||
|
||||
radius2 0.12; // Radius of p2
|
||||
radius2 0.12; // Radius of p2
|
||||
|
||||
material wallMat; // material name of the wall
|
||||
material wallMat; // material name of the wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,11 +18,11 @@ setFields
|
||||
|
||||
defaultValue
|
||||
{
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
|
||||
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||
|
||||
shapeName word smallSphere; // name of the particle shape
|
||||
}
|
||||
@ -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 20000; // end index of points
|
||||
end 20000; // end index of points
|
||||
|
||||
stride 3; // stride for selector
|
||||
stride 3; // stride for selector
|
||||
}
|
||||
|
||||
fieldValue // fields that the selector is applied to
|
||||
@ -52,27 +52,7 @@ setFields
|
||||
|
||||
positionParticles // positions particles
|
||||
{
|
||||
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
|
||||
|
||||
numPoints 20000; // number of particles in the simulation
|
||||
|
||||
axisOrder (z y x); // axis order for filling the space with particles
|
||||
}
|
||||
|
||||
regionType box; // other options: cylinder and sphere
|
||||
|
||||
boxInfo // box information for positioning particles
|
||||
{
|
||||
min (-0.08 -0.08 0.015); // lower corner point of the box
|
||||
|
||||
max ( 0.08 0.08 0.2); // upper corner point of the box
|
||||
}
|
||||
method empty; // other options: random and ordered
|
||||
}
|
||||
|
||||
|
||||
|
@ -6,29 +6,30 @@ 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)
|
||||
|
||||
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.01; // time interval for reporting timers
|
||||
timersReportInterval 0.1; // time interval for reporting timers
|
||||
|
Reference in New Issue
Block a user