# Moving interface and remesh across cores in parallel

**URL:** https://community.freefem.org/t/moving-interface-and-remesh-across-cores-in-parallel/1023
**Category:** General Discussion
**Created:** [June 9, 2021, 6:10pm UTC](https://community.freefem.org/t/moving-interface-and-remesh-across-cores-in-parallel/1023 "2021-06-09T18:10:57Z")
**Posts on this page:** 1
**Showing post:** 5

<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: [June 10, 2021, 1:00pm UTC](https://community.freefem.org/t/moving-interface-and-remesh-across-cores-in-parallel/1023/5 "2021-06-10T13:00:20Z")

</div>

> <https://github.com/FreeFem/FreeFem-sources/blob/develop/examples/hpddm/newton-adaptmesh-2d-PETSc.edp>

You need to centralize your velocity first. Then, interpolate the centralized velocity. And eventually, dispatch the globally interpolated velocity on each subdomain.

You can also search the forum to find other ways to achieve this, e.g., [Copy variables between different meshes with PETSc](https://community.freefem.org/t/copy-variables-between-different-meshes-with-petsc/390).

---

_[View the full topic](https://community.freefem.org/t/moving-interface-and-remesh-across-cores-in-parallel/1023)._
