Closed wjsjtu123 closed 4 months ago
I would like to know exactly how this scale variable should be defined and what exactly it means in the code
Hi @wjsjtu123,
lbm_length
is 40% of the longest side of the simulation box (let's say 300 LBM cells long).fuselage->get_bounding_box_size().x
is the length of the fuselage mesh, as it is loaded from .stl
coordinates (could be 10 for example); the .x
component here is the length because the mesh is rotated such that its length is along the x-axisscale
is the ratio of the twoscale
to the fuselage
mesh first divides its length by itself (fuselage->get_bounding_box_size().x
) so that it now is 1 LBM cell long, and then multiplies by lbm_length
to make it 300 LBM cells long.stl
coordinatesKind regards, Moritz