# Smoothening interior boundaries - 3D microstructures

**URL:** <https://forum.mmgtools.org/t/smoothening-interior-boundaries-3d-microstructures/772>\
**Category:** Uncategorized\
**Created:** [October 28, 2023, 2:42pm UTC](https://forum.mmgtools.org/t/smoothening-interior-boundaries-3d-microstructures/772 "2023-10-28T14:42:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgnikhil](https://forum.mmgtools.org/letter_avatar_proxy/v4/letter/p/c2a13f/32.png) [@pgnikhil](https://forum.mmgtools.org/u/pgnikhil)\
**Post date:** [October 28, 2023, 2:42pm UTC](https://forum.mmgtools.org/t/smoothening-interior-boundaries-3d-microstructures/772/1 "2023-10-28T14:42:43Z")

</div>

Hi all,

I am trying to smoothen out irregular zigzag patterns that come from meshing voxel-based microstructure domains. For instance, the input mesh I am attaching is the following:

 ![Smoothen](https://forum.mmgtools.org/uploads/default/original/1X/a72b1330a06d4479e3bdcde4a87b86ed47bcae5e.jpeg)

I want to smoothen the zigzags to form a smooth surface boundary but I can’t seem to manage this with -ar or -nr. Moreover, I want the outer domain boundaries not to change.

Is there a way, we could do this with MMG3D? If so how should I proceed?

I am attaching the mesh file as well. (InputMesh.mesh)[InputMesh.mesh](https://forum.mmgtools.org/uploads/short-url/nvp37GQdMJhnJl7ASdlD5egUh9N.mesh) (1.6 MB)
