# Adapt not working properly for a 1D code

**URL:** https://community.freefem.org/t/adapt-not-working-properly-for-a-1d-code/3906
**Category:** General Discussion
**Created:** [May 7, 2025, 6:42pm UTC](https://community.freefem.org/t/adapt-not-working-properly-for-a-1d-code/3906 "2025-05-07T18:42:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![goutham2023](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/goutham2023/32/1759_2.png) [@goutham2023](https://community.freefem.org/u/goutham2023)
#### Post date: [May 7, 2025, 6:42pm UTC](https://community.freefem.org/t/adapt-not-working-properly-for-a-1d-code/3906/1 "2025-05-07T18:42:05Z")

</div>

Hi FF++ users,  
I am working on a simple 1D conduction problem that involves material recession. After displacing the mesh using movemesh, I am trying to adapt the mesh using the adaptmesh function. However, it doesn’t seem to be working correctly.  
Could someone please take a look and let me know if I’m using movemesh and adaptmesh correctly? I’ve attached my code for your reference.  
Thank you  
[meshmove1D.edp](https://community.freefem.org/uploads/short-url/sWFdXB0nQnMyXeePQk9tcI5sgnN.edp) (1.1 KB)

---

<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: [May 12, 2025, 7:10am UTC](https://community.freefem.org/t/adapt-not-working-properly-for-a-1d-code/3906/2 "2025-05-12T07:10:51Z")

</div>

Hello,  
it seems that adaptmesh is not available for a meshL. Apart from that, I don’t see really what is your problem.
