You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-axis
scale is the ratio of the two
applying scale 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
this allows to make the mesh always the same size within the LBM simulation box, regardless how large or small it was in .stl coordinates
I would like to know exactly how this scale variable should be defined and what exactly it means in the code
The text was updated successfully, but these errors were encountered: