pyLBM.Simulation.initialization

Simulation.initialization(dico)

initialize all the numy array with the initial conditions

Parameters:dico : the dictionary with the key:value ‘init’
Returns:set the initial values to the numpy arrays _F and _m

Notes

The initial values are set to _m, the array _F is then initialized with the equilibrium values. If the initial values have to be set to _F, use the optional key:value ‘inittype’ with the value ‘distributions’ (default value is set to ‘moments’).