file
@@ -165,7 +206,7 @@ model
}
```
-Dictionary `contactSearch` sets the methods for particle-particle and particle-wall contact search. `method` specifies the algorithm for finding neighbor list for particle-particle contacts and `wallMapping` shows how particles are mapped onto walls for finding neighbor list for particle-wall contacts. `updateFrequency` sets the frequency for updating neighbor list and `sizeRatio` sets the size of enlarged cells (with respect to particle diameter) for finding neighbor list. Larger `sizeRatio` include more particles in the neighbor list and you require to update it less frequent.
+Dictionary `contactSearch` sets the methods for particle-particle and particle-wall contact search. Larger `sizeRatio` include more particles in the neighbor list and you require to update it less frequent.
in
caseSetup/interaction file
@@ -174,63 +215,60 @@ in
caseSetup/interaction file
```C++
contactSearch
{
- method NBS; // method for broad search particle-particle
- wallMapping cellsSimple; // method for broad search particle-wall
+
+ method NBS; // method for broad search
+
+ updateInterval 10;
- NBSInfo
- {
- updateFrequency 20; // each 20 timesteps, update neighbor list
- sizeRatio 1.1; // bounding box size to particle diameter (max)
- }
+ sizeRatio 1.1;
- cellsSimpleInfo
- {
- updateFrequency 20; // each 20 timesteps, update neighbor list
- cellExtent 0.7; // bounding box for particle-wall search (> 0.5)
- }
+ cellExtent 0.55;
-}
+ adjustableBox Yes;
+}
```
-In the file `caseSetup/sphereShape`, you can define a list of `names` for shapes (`shapeName` in particle field), a list of diameters for shapes and their `properties` names.
+In the file `caseSetup/shapes`, you can define a list of `names` for shapes (`shapeName` in particle field), a list of diameters for shapes and their `properties` names.
-in caseSetup/sphereShape file
+in caseSetup/shapes file
```C++
-names (sphere1); // names of shapes
-diameters (0.004); // diameter of shapes
-materials (prop1); // material names for shapes
+names (sphere1); // names of shapes
+diameters (0.004); // diameter of shapes
+materials (prop1); // material names for shapes
```
-Other settings for the simulation can be set in file `settings/settingsDict`. The dictionary `domain` defines the a rectangular bounding box with two corner points for the simulation. Each particle that gets out of this box, will be deleted automatically.
+Other settings for the simulation can be set in file `settings/settingsDict`.
in settings/settingsDict file
```C++
-dt 0.00001; // time step for integration (s)
-startTime 0; // start time for simulation
-endTime 10; // end time for simulation
-saveInterval 0.1; // time interval for saving the simulation
-timePrecision 6; // maximum number of digits for time folder
-g (0 -9.8 0); // gravity vector (m/s2)
-domain
-{
- min (-0.12 -0.12 0);
- max (0.12 0.12 0.11);
-}
+dt 0.00001; // time step for integration (s)
+startTime 0; // start time for simulation
+endTime 10; // end time for simulation
+saveInterval 0.1; // time interval for saving the simulation
+timePrecision 6; // maximum number of digits for time folder
+g (0 -9.8 0); // gravity vector (m/s2)
+
+includeObjects (diameter); // save necessary (i.e., required) data on disk
+// exclude unnecessary data from saving on disk
+excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
integrationMethod AdamsBashforth2; // integration method
+writeFormat ascii; // data writting format (ascii or binary)
+timersReport Yes; // report timers (Yes or No)
+timersReportInterval 0.01; // time interval for reporting timers
```
## Running the case
-The solver for this simulation is `sphereGranFlow`. Enter the following command in the terminal. Depending on the computational power, it may take a few minutes to a few hours to complete.
+The solver for this simulation is `sphereGranFlow`. Type the following command in a terminal. Depending on your computer's computation power, it may take from a few minutes to a few hours to complete.
`> sphereGranFlow`
## Post processing
-After finishing the simulation, you can render the results in Paraview. To convert the results to VTK format, just enter the following command in the terminal. This will converts all the results (particles and geometry) to VTK format and store them in folder `VTK/`.
+When the simulation is finished, you can render the results in Paraview. To convert the results to VTK format, just type the following command in a terminal. This will convert all results (particles and geometry) to VTK format and save them in the folder `VTK/`.
-`> pFlowToVTK`
+`> pFlowToVTK`
\ No newline at end of file