# Analyze Custom-generated mesh

**URL:** <https://community.freefem.org/t/analyze-custom-generated-mesh/418>\
**Category:** General Discussion\
**Created:** [May 19, 2020, 5:45pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418 "2020-05-19T17:45:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carbaholic](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/carbaholic/32/158_2.png) [@Carbaholic](https://community.freefem.org/u/Carbaholic)\
**Post date:** [May 19, 2020, 5:45pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/1 "2020-05-19T17:45:08Z")

</div>

Is it possible to directly create nodes and elements in FreeFEM? I am working on a structural optimization application and I am doing the meshing myself. I couldn’t find anything in the documentation.

Regards,  
Eric

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [May 19, 2020, 6:19pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/2 "2020-05-19T18:19:15Z")

</div>

If you are doing the meshing yourself, using some custom mesh generator I guess, then couldn’t you create nodes and elements yourself as well? What would be the exact use case, please?

---

<div class="post-metadata">

**Author:** ![Carbaholic](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/carbaholic/32/158_2.png) [@Carbaholic](https://community.freefem.org/u/Carbaholic)\
**Post date:** [May 19, 2020, 7:07pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/3 "2020-05-19T19:07:18Z")

</div>

Yes, I’m looking for the syntax to create a node, and the syntax to create an element.

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [May 19, 2020, 7:16pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/4 "2020-05-19T19:16:06Z")

</div>

to day they is no way to create mesh or element, the easy way is to can create a file en read the file.

---

<div class="post-metadata">

**Author:** ![Carbaholic](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/carbaholic/32/158_2.png) [@Carbaholic](https://community.freefem.org/u/Carbaholic)\
**Post date:** [May 19, 2020, 7:22pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/5 "2020-05-19T19:22:46Z")

</div>

a mesh file?

I see them used in the documentation, but I haven’t found a specification for those files yet.

---

<div class="post-metadata">

**Author:** ![Carbaholic](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/carbaholic/32/158_2.png) [@Carbaholic](https://community.freefem.org/u/Carbaholic)\
**Post date:** [May 19, 2020, 7:30pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418/6 "2020-05-19T19:30:00Z")

</div>

Ah, found it here:

[https://doc.freefem.org/documentation/mesh-generation.html](https://doc.freefem.org/documentation/mesh-generation.html)

In the section titled: “Read/Write Statements for meshes”.

Thank you for your help

Eric
