Reply To: Modifying Parameters
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Modifying Parameters › Reply To: Modifying Parameters
Hello Anas,
as you’re regarding a thermal flow case, those properties are handled by the ThermalUnitConverter
(https://www.openlb.net/DoxyGen/html/d0/de2/classolb_1_1ThermalUnitConverter.html). For example, comparing the constructor with the usage in the squareCavity2D case shows that lx
is the characteristic length and is set at the beginning of the main
function. Similar is true for other values.
The relaxation time, on other hand, is not a parameter of the used constructor, but is calculated from other values (see the implementation of the constructor: https://www.openlb.net/DoxyGen/html/d0/de2/classolb_1_1ThermalUnitConverter.html#a60ea34c354f56edbee5b720bf2cadac4).
If this does not answer your question, please be more specific.
Best regards,
Jan