Merge pull request #175 from ramin1728/banarySystemOfParticles
binarySystemOfParticles is Updated.
This commit is contained in:
commit
25b2e37d93
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
# Problem definition
|
# Problem definition
|
||||||
|
|
||||||
A rotating drum is randomly filled with two particle sizes and rotated to observe particle segregation. The focus of this tutorial is to show how to use the preprocessing tool `particlesPhasicFlow` to create the initial mixture of small and large particles.
|
A rotating drum is randomly filled with two particle sizes and rotated to observe particle segregation. The focus of this tutorial is to show how to use the preprocessing tool `particlesPhasicFlow` to create the initial mixture of small and large particles.
|
||||||
|
@ -15,12 +17,12 @@ a view of the rotating drum with small and large particles after 7 seconds of ro
|
||||||
|
|
||||||
# Case setup
|
# Case setup
|
||||||
|
|
||||||
In the file `caseSetup/sphereShape` two particle types with the names `smallSphere` and `largeSphere` and the diameters 3 and 5 mm are defined.
|
In the file `caseSetup/shapes` two particle types with the names `smallSphere` and `largeSphere` and the diameters 3 and 5 mm are defined.
|
||||||
|
|
||||||
[Simulation case setup files can be found in tutorials/sphereGranFlow folder.](https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/binarySystemOfParticles)
|
[Simulation case setup files can be found in tutorials/sphereGranFlow folder.](https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/binarySystemOfParticles)
|
||||||
### Shape definition
|
### Shape definition
|
||||||
|
|
||||||
In the file `caseSetup/sphereShape` two particle types with the names `smallSphere` and `largeSphere` and the diameters 3 and 5 mm are defined.
|
In the file `caseSetup/shapes` two particle types with the names `smallSphere` and `largeSphere` and the diameters 3 and 5 mm are defined.
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
in <b>caseSetup/sphereShape</b> file
|
in <b>caseSetup/sphereShape</b> file
|
||||||
|
@ -132,7 +134,7 @@ Each executable in PhasicFlow comes with some command line options that you can
|
||||||
Usage: particlesPhasicFlow [OPTIONS]
|
Usage: particlesPhasicFlow [OPTIONS]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h,--help Help for using createParticles of phasicFlow v-0.1
|
-h,--help Help for using createParticles of phasicFlow v-1.0
|
||||||
-v,--version Program version information
|
-v,--version Program version information
|
||||||
--discription What does this app do?
|
--discription What does this app do?
|
||||||
--positionParticles-only Exectue the positionParticles part only and store the created pointStructure in the time folder.
|
--positionParticles-only Exectue the positionParticles part only and store the created pointStructure in the time folder.
|
||||||
|
|
|
@ -42,8 +42,6 @@ model
|
||||||
|
|
||||||
en (0.7); // coefficient of normal restitution
|
en (0.7); // coefficient of normal restitution
|
||||||
|
|
||||||
et (1.0); // coefficient of tangential restitution
|
|
||||||
|
|
||||||
mu (0.3); // dynamic friction
|
mu (0.3); // dynamic friction
|
||||||
|
|
||||||
mur (0.1); // rolling friction
|
mur (0.1); // rolling friction
|
||||||
|
|
|
@ -6,6 +6,4 @@ objectName particleInsertion;
|
||||||
objectType dicrionary;
|
objectType dicrionary;
|
||||||
fileFormat ASCII;
|
fileFormat ASCII;
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
collisionCheck No; // is checked -> yes or no
|
|
||||||
|
|
||||||
active No; // is insertion active -> yes or no
|
active No; // is insertion active -> yes or no
|
||||||
|
|
|
@ -6,63 +6,44 @@ objectName domainDict;
|
||||||
objectType dictionary;
|
objectType dictionary;
|
||||||
fileFormat ASCII;
|
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.12 -0.12 0);
|
min (-0.12 -0.12 0);
|
||||||
|
|
||||||
max (0.12 0.12 0.1);
|
max (0.12 0.12 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
decomposition
|
|
||||||
{
|
|
||||||
direction z;
|
|
||||||
}
|
|
||||||
|
|
||||||
boundaries
|
boundaries
|
||||||
{
|
{
|
||||||
// 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
|
|
||||||
|
|
||||||
neighborListUpdateInterval 50;
|
|
||||||
|
|
||||||
// Determines how often do you want to update the new changes in the boundary
|
|
||||||
|
|
||||||
updateInterval 10;
|
|
||||||
|
|
||||||
// The distance from the boundary plane within which particles are marked to be in the boundary list
|
|
||||||
|
|
||||||
neighborLength 0.004;
|
|
||||||
|
|
||||||
left
|
left
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
|
|
||||||
right
|
right
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
|
|
||||||
bottom
|
bottom
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
|
|
||||||
top
|
top
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
|
|
||||||
rear
|
rear
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
|
|
||||||
front
|
front
|
||||||
{
|
{
|
||||||
type exit; // other options: periodict, reflective
|
type exit; // other options: periodic, reflective
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,5 +34,5 @@ writeFormat ascii; // data writting format (ascii or binary
|
||||||
|
|
||||||
timersReport Yes; // report timers
|
timersReport Yes; // report timers
|
||||||
|
|
||||||
timersReportInterval 0.01; // time interval for reporting timers
|
timersReportInterval 0.1; // time interval for reporting timers
|
||||||
|
|
Loading…
Reference in New Issue