tkeskita / swiftBlock

Blender add-on to generate OpenFOAM blockMeshDict
GNU General Public License v3.0
28 stars 5 forks source link

Meshes with many blocks and few cells #13

Closed LucasLangnaese closed 1 year ago

LucasLangnaese commented 1 year ago

Hello, thank you very much for this powerful tool! I use it for FSI simulations of blood vessels. I create conformal structure meshes for my given fluid meshes. I do this by extruding the interface mesh for the fluid to the outside. So I get meshes with a lot of blocks but a maximum of 1 - 3 cells per block. However, as the number of blocks increases, the computing effort required for “automatic block detection” increases significantly. Is there a way to use the tool more optimal for such a purpose? (many blocks; max 1 - 3 cells per block) Best regards Lucas Screenshot from 2023-10-05 11-37-47

tkeskita commented 1 year ago

Hi,

yes, large number of blocks cause slowness. You can try if Numba works and helps with speed (see the docs).

Alternatively, if you're just trying to create boundary layers, try to use the Shell Extrusion method in the Unstructured Grids add-on. Please note the limitations mentioned in docs.

tkeskita commented 1 year ago

Here's an example of the Shell Extrusion method in the Unstructured Grids add-on

LucasLangnaese commented 1 year ago

Thank you, the Shell Extrusion method in the Unstructured Grids add-on is exactly the right tool for my problem.