calculate command

Purpose

Collection of commands for different post-processing evaluations.

Warning

GPU support for this command has not been tested and may not work as expected.

Syntax

calculate style keywords values
  • style = mixing_index or center_of_mass or collision_statistics or spatial_average or spatio_temporal_average or residence_time or residence_distance or marked_particles or minimum or maximum or particle_contact_network or wall_contact_network or temporal_average or massflow or external_work or voronoi_decomposition

  • keywords values = style-dependent keyword/value pairs, see Description section below

Examples

calculate mixing_index
calculate center_of_mass
calculate collision_statistics
calculate spatial_average
calculate spatio_temporal_average
calculate residence_time check_every_time 0.01 regions {r1,r2}
calculate residence_distance regions {simulation_domain_}
calculate marked_particles region insertionRegion marker_id myMarker
calculate average quantity v_fx
calculate sum quantity v_fx
calculate minimum quantity v_fx
calculate minimum id minfx quantity v_fx
calculate maximum quantity v_vy
calculate particle_contact_network properties {vel,force,torque}
calculate wall_contact_network properties {force}
calculate temporal_average object myMesh
calculate massflow mesh inface outward_vector (0.,0.,-1.)
calculate external_work mesh mixer mode torque_only
calculate voronoi_decomposition

Description

This command provides a number of functionalities that are suitable for post-processing and which can partially be used for further calculations. Here is a list of the current implementations:

Default:

group-ID = all, count_particle_once = yes, inside_out = no, mode = write, write_to_terminal = no, delete_atoms = no

top