pyLBM.Scheme.set_initialization

Scheme.set_initialization(scheme)

set the initialization functions for the conserved moments.

Parameters:

scheme : dictionnary that describes the LBM schemes

Returns:

init : dictionnary where the keys are the indices of the conserved moments and the values must be

  • a constant (int or float)
  • a tuple of size 2 that describes a function and its extra args