There is a much simpler way by using a multi-border
borderdatatomesh.edp (1.0 KB)
The domain needs not be star-shaped.
You have simply to set nbsegborder
in order to define the level of discretization.
1 Like