Hele-Shaw flow past a circle in dolfinx

Next time it would be useful if you post the whole error message:

Traceback (most recent call last):
  File "/root/shared/mwe123.py", line 49, in <module>
    mesh_obj, a, b = dolfinx.io.gmshio.model_to_mesh(
  File "/usr/local/dolfinx-real/lib/python3.10/dist-packages/dolfinx/io/gmshio.py", line 232, in model_to_mesh
    cell_id = cell_information[perm_sort[-1]]["id"]
IndexError: index -1 is out of bounds for axis 0 with size 0

You can search for the IndexError on the forum to find

which all points you to the fact that you need to add physical groups to your mesh in GMSH to be able to read it with gmshio.model_to_mesh
https://docs.fenicsproject.org/dolfinx/v0.7.3/python/generated/dolfinx.io.gmshio.html?highlight=model_to_mesh#dolfinx.io.gmshio.model_to_mesh