# Mesh warning/error

**URL:** https://forum.spis.org/t/mesh-warning-error/1315
**Category:** SPIS
**Created:** [25 January 2024 09:28 UTC](https://forum.spis.org/t/mesh-warning-error/1315 "2024-01-25T09:28:44Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mbengtson](https://forum.spis.org/user_avatar/forum.spis.org/mbengtson/32/151_2.png) [@mbengtson](https://forum.spis.org/u/mbengtson)
#### Post date: [25 January 2024 18:00 UTC](https://forum.spis.org/t/mesh-warning-error/1315/2 "2024-01-25T18:00:51Z")

</div>

Hi Marianna,

There is some useful information in this post: [How to get good mesh quality？ - SPIS - SPINE Forum](https://forum.spis.org/t/how-to-get-good-mesh-quality/878)

You can improve the mesh quality by using the “Optimize 3D” and “Optimize 3D (Netgen)” buttons in the Gmsh editor. For example, I will do Optimize 3D (Netgen) 3-4 times, then Optimize 3D once. Normally, I define and optimize the mesh in this window, then save it with a different name, then load and select this mesh when you get to the mesh tab.

Also, you can improve the mesh by using finer resolution around objects of interest and lower resolution on the external boundary (to keep the simulation time reasonable). The resolution is set when you define an object like a sphere or a box and the units are in meters. This sets how far apart the mesh points are on the object being defined.

As I understand, a lot of simulations will still work even if the mesh quality is bad, so sometimes this warning can be ignored.

---

_[View the full topic](https://forum.spis.org/t/mesh-warning-error/1315)._
