Inserting concave particles in a box

In this tutorial we insert a pack of concave particles in a box and let them settle under the influence of gravity.

_images/result5.png

Name of the case: Project_Concave

Setting up the simulation

As a first step, the particle shape, the used material and the simulation domain are defined in the General Settings tab. Please note that in case of multiple dependent simulations, the dimensions of the simulation domain can only be defined in the first simulation. This means that the box forming the simulation domain has to be chosen big enough from the beginning.

General settings

In this simulation we set particles of particle shape concave:

_images/01_particle_shape11.png

A single materials command with the name default is used:

_images/01_materials11.png

The simulation domain with x, y and z dimensions ranging from -0.7 to 0.7 is created:

_images/01_simulation_domain12.png

Meshes and regions

We use a box-shaped mesh as container for the particles, which we insert via the mesh command command:

_images/02_mesh4.png

Physics models

The contact models are now defined. For the particles we use the normal contact model hertz and the tangential model history:

_images/03_particle_contact_model12.png

Since we added a mesh in the previous section, a wall contact model is also added automatically to this section. We use the same properties as for the particle contact model:

_images/03_wall_contact_model11.png

Please note that for convex and concave simulations the setting store_force_contact has to be set to yes.

Finally, the gravity is enabled:

_images/03_enable_gravity7.png

Per default the gravity has a magnitude of 9.807 and acts into negative z-direction. These defaults can be changed by either setting the magnitude or the direction manually.

Particles

In the general settings tab we only defined a single material type (default), whose settings have to be specified here:

default

Density

2500

Young’s modulus

5e7

Poisson’s ratio

0.45

Coefficient of restitution

0.5

Coefficient of friction

0.5

Coefficient of rolling friction

0.05

_images/04_material_properties9.png

A particle template for concave particles consists of a set of convex bodies. We define three of them:

_images/04_convex_body_1.png _images/04_convex_body_2.png _images/04_convex_body_3.png

Please note that you can either specify mass and center of mass, or none of them. The moment_of_inertia keyword is optional. If the quantities are not specified, an analytical formula is used for their computation. Apart from defining the moment of inerta for the single convex bodies, it is possible to define this quantity for the complete concave body when adding the template.

We now add a particle template of style concave and use it for a particle distribution:

_images/04_particle_template_concave.png _images/04_particle_distribution11.png

A pack of particles with a velocity of 0.2 m/s in negative z-direction is inserted using an insertion command command with mode pack:

_images/04_insertion6.png

Simulation control

In this tab, we first define the time-step settings such as the desired simulation timestep of 1e-4 seconds and the total simulation time of 1 second. Per default also the check_timestep command command is enabled, which throws a warning when the time step exceeds 10 % of the Rayleigh or the Hertz time. These thresholds can be changed by setting an alternative value for hertz_fraction or rayleigh_fraction.

_images/06_timestep_settings15.png

Output settings

In this tab we first define the timestep width for the file and the terminal output:

_images/07_output_timestep_settings11.png

The output_settings command command the takes care that all particle information and the meshes are written to files accordingly. Furthermore it triggers the output of global quantities such as the kinetic energy of the particles or total normal and shear stresses onto meshes to the terminal. Please note that if the output of per-cell information on meshes such as wear, velocity of stress are desired, one has to add the keyword mesh_properties and select the required output.

_images/07_output_settings14.png

Running the simulation

After completing the setup and saving it, the simulation can be launched. Hence, change to the Simulation view. First hit the “Check settings” button, and if the check returns “Check settings successfully completed” the simulation can be run by hitting “Start”. As can be seen in the the kinetic energy graph below, the settling process is completed after 6000 steps, i.e. 0.6 s:

_images/10_ke4.png

Postprocessing with Paraview

After the simulation is completed, all data written with the output_settings command can be visualized automatically by going to the Visualization view and hitting the “Start Paraview” button.

The images below show the final state of the settled particles, the coloring is chosen according to the ids:

_images/result5.png