com1DFA.com1DFA.computeEulerTimeStep

computeEulerTimeStep(cfg, particles, fields, zPartArray0, dem, tCPU, frictType)[source]

compute next time step using an euler forward scheme

Parameters
  • cfg (configparser) – configuration for DFA simulation

  • particles (dict) – particles dictionary at t

  • fields (dict) – fields dictionary at t

  • zPartArray0 (dict) – z coordinate of particles at t=0s

  • dem (dict) – dictionary with dem information

  • tCPU (dict) – computation time dictionary

  • frictType (int) – indicator for chosen type of friction model

Returns

  • particles (dict) – particles dictionary at t + dt

  • fields (dict) – fields dictionary at t + dt

  • tCPU (dict) – computation time dictionary