Merge pull request #175 from ramin1728/banarySystemOfParticles

binarySystemOfParticles is Updated.
This commit is contained in:
PhasicFlow 2025-02-24 12:33:33 +03:30 committed by GitHub
commit 25b2e37d93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 77 additions and 98 deletions

View File

@ -1,3 +1,5 @@
# 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.
@ -15,12 +17,12 @@ a view of the rotating drum with small and large particles after 7 seconds of ro
# 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)
### 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">
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]
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
--discription What does this app do?
--positionParticles-only Exectue the positionParticles part only and store the created pointStructure in the time folder.

View File

@ -42,8 +42,6 @@ model
en (0.7); // coefficient of normal restitution
et (1.0); // coefficient of tangential restitution
mu (0.3); // dynamic friction
mur (0.1); // rolling friction

View File

@ -6,6 +6,4 @@ objectName particleInsertion;
objectType dicrionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
collisionCheck No; // is checked -> yes or no
active No; // is insertion active -> yes or no

View File

@ -6,63 +6,44 @@ 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.12 -0.12 0);
max (0.12 0.12 0.1);
}
decomposition
{
direction z;
}
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
{
type exit; // other options: periodict, 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
}
}

View File

@ -34,5 +34,5 @@ writeFormat ascii; // data writting format (ascii or binary
timersReport Yes; // report timers
timersReportInterval 0.01; // time interval for reporting timers
timersReportInterval 0.1; // time interval for reporting timers