Skip to content

Global Control

The global operator creates the slots shared by the whole simulation. Its default values are defined in data/config/config_globals.msp:

global:
  dt: 1.0e-4 s
  rcut_inc: 0.0 m
  simulation_end_iteration: 10000
  simulation_log_frequency: 10
  simulation_load_balance_frequency: 10000
  simulation_dump_frequency: 1000
  simulation_generator_frequency: -1
  simulation_analyses_frequency: -1
  simulation_driver_extractor_frequency: 100
  enable_contact_network: false
  analysis_interaction_dump_frequency: -1
  analysis_dump_stress_tensor_frequency: -1
  ...
Parameters' description
Parameter Description Type Default
dt time step double 1.0e-4 s
rcut_inc additional distance of the Verlet lists, so that the neighbor lists are not rebuilt at every step double 0.0 m
simulation_end_iteration number of time steps int 10000
simulation_log_frequency log line period (steps) int 10
simulation_paraview_frequency ParaView output period (steps), -1 = never int -1
simulation_dump_frequency checkpoint period (steps), -1 = never int 1000
simulation_load_balance_frequency MPI load balancing period (steps) int 10000
simulation_generator_frequency period of the particle generator add_generated_particles, -1 = never int -1
simulation_analyses_frequency period of the analyses batch, -1 = never int -1
simulation_driver_extractor_frequency period of the driver extractor int 100
enable_contact_network write the contact network with the ParaView files bool false
analysis_interaction_dump_frequency period of the interaction dump, -1 = never int -1
analysis_dump_stress_tensor_frequency period of the stress tensor output, -1 = never int -1
enable_load_balance, enable_domain_extension enable the load balancing and the extension of an expandable domain bool true
timestep, physical_time current step and time, set by the loop (or by a restart) 0

A deck overrides only what it needs:

1
2
3
4
5
6
7
8
global:
  simulation_dump_frequency: -1
  simulation_end_iteration: 10000
  simulation_log_frequency: 1000
  simulation_paraview_frequency: 5000
  dt: 0.0005 s
  rcut_inc: 0.4
  enable_contact_network: true

Time step

After the first force computation, check_dt_critical compares dt with the critical time step of the contact law and prints, for example, The time step is correctly defined, dt_critical: 0.001017.

Verlet radius

A larger rcut_inc means less frequent rebuilds of the neighbor lists, but longer lists to process at every step. A good trade-off between both depends on the particle velocities.