pylbm.algorithm.PullAlgorithm.one_time_step_local

method

PullAlgorithm.one_time_step_local(f, fnew, m)

Return symbolic expression which makes one time step of LBM algorithm using the pull algorithm. The difference with the basic algorithm is the transport and the computation of the moments from the distributed functions is made in one step.

  • compute the moments from the distributed functions + transport

  • source terms with dt/2 (with the moments)

  • relaxation (with the moments)

  • source terms with dt/2 (with the moments)

  • compute the new distributed functions from the moments

Parameters:
fSymPy Matrix

indexed objects for the old distributed functions

fnewSymPy Matrix

indexed objects for the new distributed functions

mSymPy Matrix

indexed objects for the moments