com1DFA.com1DFA.computeEulerTimeStep

computeEulerTimeStep(cfg, particles, fields, dt, 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

  • dt (float) – time step

  • 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