com1DFA.debrisFunctions.addReleaseParticles
- addReleaseParticles(cfg, particles, inputSimLines, thickness, velocityMag, dem, zPartArray0)[source]
add new particles initialized by a time dependent release to particles that are in the flow already
- Parameters
cfg (configparser object) – configuration settings
particles (dict) – particles dictionary at t that are in the flow already
inputSimLines (dict) – dictionary with input data dictionaries (releaseLine,…)
thickness (float) – thickness of current release
velocityMag (float) – velocity of current release
dem (dict) – dictionary with info on DEM data
zPartArray0 (numpy array) – z - value of particles at timestep 0
- Returns
particles (dict) – particles dictionary at t including the current released particles
zPartArray0 (dict) – dictionary containing z - value of particles at timestep 0