There are plenty of posts regarding this already, see
for updated meshio syntax in the create_mesh function.
create_mesh