Dear hhan,
sorry, it has been a while.
However, your question is interesting.
So, in our code, we make use of the model described here:
[1] https://doi.org/10.1017/jfm.2012.155
and here:
[2] https://doi.org/10.1016/j.jcp.2005.03.022
In the latter reference [2], Equation (15) has an additional sqrt(2) which should be deleted.
Nevertheless, in the same notation, let’s assume that bar(Q) := sqrt(2 sum Q_ij Q_ij).
Then we replace the Q_ij with PiNeq_ij computed in OpenLB and insert this bar(PiNeq) into Equation (15).
The sqrt(2) in our code hence resembles the prefactor of 2 when computing the magnitude of the strain rate tensor ||S|| = sqrt(2 sum S_ij S_ij) (which is a common thing to do in CFD, see [1], page 516).
All of this, also leads to same expressions as in the paper you referenced above (https://doi.org/https://doi.org/10.1016/j.camwa.2018.08.018).
Let me know if you disagree here.
Please also consider testing the tgv3d example with SmagorinskyBGKdynamics (once including the sqrt(2) and once without it in the EffectiveOmega computation) and post the results here in the forum.
Thanks again for posting and BR,
Stephan