Skip to content

Reply To: Velocity based error in secondary lattice

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB Bug Reports Velocity based error in secondary lattice Reply To: Velocity based error in secondary lattice

#5047
mgaedtke
Keymaster

Hey Julius,

I can’t reproduce your errors. Please make sure to understand the return values of our cell objects: The distribution functions we save in the data structure are actually f* = f – weight, so that the sum of f* = rho – 1, because the sum of the weights equals to 1. We apply the same shift to all the equilibrium distributions.

See Section V in https://journals.aps.org/pre/abstract/10.1103/PhysRevE.48.4823 for some more information on this topic.

Cheers,
Max