Skip to content

Reply To: Modifying Parameters

Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums on OpenLB General Topics Modifying Parameters Reply To: Modifying Parameters

#6800
jan
Participant

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