# Input Border Data from an External File in FreeFEM++

**URL:** <https://community.freefem.org/t/input-border-data-from-an-external-file-in-freefem/3713>\
**Category:** General Discussion\
**Created:** [January 27, 2025, 11:55am UTC](https://community.freefem.org/t/input-border-data-from-an-external-file-in-freefem/3713 "2025-01-27T11:55:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fb77](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/fb77/32/3796_2.png) [@fb77](https://community.freefem.org/u/fb77)\
**Post date:** [January 31, 2025, 9:55am UTC](https://community.freefem.org/t/input-border-data-from-an-external-file-in-freefem/3713/3 "2025-01-31T09:55:34Z")

</div>

There is a much simpler way by using a multi-border  
[borderdatatomesh.edp](https://community.freefem.org/uploads/short-url/1OdIGkDQ0hrwnZILTNozCpI25h.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.

---

_[View the full topic](https://community.freefem.org/t/input-border-data-from-an-external-file-in-freefem/3713)._
