insertion mode rate_in_region command
Purpose
insertion mode rate_in_region is used to generate a pack of particles inside a region (examples).
Note
This command is supported by Aspherix GPU.Syntax
insertion mode pack keyword value
General insertion keywords are documented here. This document only describes
the specific keywords for the insertion of a pack of particles.
Return to the insertion documentation.
Keywords |
Description |
|---|---|
region |
obligatory, ID of the region where the particles will be generated |
mass insertion rate
range: (0,∞); units: [mass / time]
|
|
particle insertion rate
range: [1,∞); units: [1 / time]
|
|
desired mass to insert
range: (0,∞); units: [mass]
|
|
desired number of particles to insert
range: [1,∞); units: [-]
|
|
yes or no or maximum_radius or bounding_sphere or bounding_box, allowsto change distance to subdomain border for the insertion of nonspherical particles
default:
yes (= bounding_box) |
|
number of Monte-Carlo steps for calculating the region’s volume
default: 100000; range: [1,∞); units: [-]
|
particlerate and massrate are mutually exclusive.target_particle_count and target_mass are mutually exclusive.Examples
insertion mode rate_in_region region insertion_region particlerate 3000 &
particle_distribution p1 velocity constant ( -1, 0, -3 )
insertion mode rate_in_region region insertion_region insert_every_time 1e-2 massrate 6 &
target_mass 60 particle_distribution p1 velocity constant ( -1, 0, -3 ) id i2
insertion mode rate_in_region region insertion_region particlerate 3000 &
target_particle_count 6000 particle_distribution p1 velocity constant ( -1, 0, -3 )
insertion mode rate_in_region region insertion_region massrate 1 &
particle_distribution p1 velocity constant ( -1, 0, -3 ) &
check_distance_from_subdomain_border maximum_radius monte_carlo_steps 10000
Description
The command places as many particles in a region as required for reaching a specified
massrate or particlerate.
If neither of the quantities is defined, a case-dependent default particle rate is inserted.
The total number of inserted particles is limited either by the target_mass or the
target_number_of_particles. The number of particles always applies to the number of
particle templates / particle conglomerates for composed particles such as multispheres,
fibers or concave triangulated particles.
If the general insertion keyword check_overlap is set to yes (default),
optimized or legacy, then check_distance_from_subdomain_border keyword can be used to control
the insertion distance of particles from processor domain borders. Valid options are maximum_radius
(of a single sphere within a multisphere particle), bounding_radius (of the whole particle, the default
if check_overlap = legacy), or bounding_box (only valid and the default if
check_overlap = optimized).
The monte_carlo_steps keyword is used to control the number of Monte-Carlo tries that are used
for the volume calculation.