com1DFA.com1DFA.initializeSimulation

initializeSimulation(cfg, demOri, inputSimLines, logName, relThField)[source]

create simulaton report dictionary

Parameters
  • cfg (str) – simulation scenario name

  • demOri (dict) – dictionary with original dem

  • inputSimLines (dict) –

    releaseLinedict

    release line dictionary

    secondaryReleaseLinedict

    secondary release line dictionary

    entLinedict

    entrainment line dictionary

    resLinedict

    resistance line dictionary

  • logName (str) – simulation scenario name

  • relThField (2D numpy array) – inhomogeneous release thickness if wanted (relThField=’’ by default - in this case release thickness from (a) shapefile or if not provided (b) configuration file is used)

Returns

  • particles (dict) – particles dictionary at initial time step list of secondary release particles to be used

  • fields (dict) – fields dictionary at initial time step

  • dem (dict) – dictionary with new dem (lower left center at origin)