com1DFA.debrisFunctions.initializeTimeDepRelease
- initializeTimeDepRelease(cfg, inputSimLines, particles, fields, dem, zPartArray0, t, atol=1e-05)[source]
Update particles with “new” particles initialised by a time dependent release.
- Parameters
cfg (configparser) – configuration settings
inputSimLines (dict) – dictionary with input data dictionaries (releaseLine,…)
particles (dict) – particles dictionary at timestep t that are in the flow already
fields (dict) – fields dictionary at timestep t
dem (dict) – dictionary with info on DEM data
zPartArray0 (dict) – dictionary containing z - value of particles at timestep 0
t (float) – timestep of iteration
atol (float) – look for matching time steps with atol tolerance - default is atol=1.e-5
- Returns
particles (dict) – particles dictionary at t including the new released particles
fields (dict) – updated fields dictionary at t including the new released particles
zPartArray0 (dict) – dictionary containing z - value of particles at timestep 0