Butterfly simple meshing problem indoor case

Hi,
Thanks for reading this.
I am trying to mesh the following figures:

As you can see, in one case the two boxes are connected by a single shape connector
In the second case, the boxes have 2 connectors.
This is a simplification of my real case which has dozens of connectors
The mesh for the single connection looks like this:

It is not great but is fine at least follows the curves and shapes, you can see some mesh coming out of the original volume.
The mesh for the multiple connectors look like this:

For some reason the mesh does not like the tunnel to be divided and creates a larger mesh and treats the case as an outdoor flow.
My grasshopper code looks like this:

In general, identical to the indoor flow tutorial.
Does anyone has some pointers to improve my mesh in both cases?
Much appreciated!
Thanks,
CM

There is a tip can fix the bug. For the background, Butterfly used Openfoam as engine for CFD simulation. OpenFOAM used snappyHexMesh for meshing. During the workflow of meshing , you need to set a point to tell snappyHexMesh which mesh is useful.

As for the setting for butterfly, you should connect a new point inside the geometry to the location_in_mesh
image

Here is a detailed tutorial for snappyHexMesh

1 Like

Thanks minggangyin, it worked very well thanks :grinning: