Reply To: About LES+RayleighBernard flow
to double-check the correctness of your code, the examples in olb/examples/thermal should be helpful. You might want to start with the example and modify it step by step with compile and run in between to find the source of divergence.
Please use the smagoPrefactor as defined in the examples since there is a unique mapping between the thermal and incompressible LES (see https://publikationen.bibliothek.kit.edu/1000126904).
The arguments of the couplingGenerator should be in lattice units.
To specify the effect of other values (passed in lattice units), please use the default example and evaluate the difference when changing the physical parameters.