ivan-pi / periodic-lbm

A personal collection of research codes for LBM in periodic domains
Apache License 2.0
9 stars 1 forks source link

Distribution shifting #8

Open ivan-pi opened 2 years ago

ivan-pi commented 2 years ago

For increased accuracy, particularly with lower precision formats, it can be worthwhile to use distribution shifting. This means instead of storing the PDF, we only store the deviation from the equilibrium values.

The idea was first introduced by Skordos. It is also mentioned in the book by Succi and later in a paper by Dellar. For relative deviations see the document I wrote a while ago: relative_pdfs.pdf.

In lbmpy (see #7) you can get distribution shifting by setting zero_centered=True in the LBMConfig.

ivan-pi commented 7 months ago

The article from Chopard: Chopard2008_LBMPrecision.pdf

Works mentioning DDF: