# No convergence achieved when refining internal isoparametric coordinates

**URL:** <https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613>\
**Category:** Garfield++\
**Created:** [April 27, 2021, 6:13pm UTC](https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613 "2021-04-27T18:13:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![selrahc](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@selrahc](https://root-forum.cern.ch/u/selrahc)\
**Post date:** [April 27, 2021, 6:13pm UTC](https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613/1 "2021-04-27T18:13:34Z")

</div>

Hello,

I’m running a gem simulation based on the example found in Examples/Elmer/lem. I modified the gmsh code so I could get a double and a triple gem foil cell. When I simulate an avalanche with the single or double foil geometry I get some nice avalanches, but when I run the triple foil geometry and get the following warning message and the simulation doesn’t seem to move on:

ComponentElmer::Coordinates13:  
No convergence achieved when refining internal isoparametric coordinates  
at position (0.00213346, 0.00276998, -0.202893).

The position showing above is located inside the gas volume.

What does this warning mean and how can I fix it?

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [April 27, 2021, 6:47pm UTC](https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613/2 "2021-04-27T18:47:55Z")

</div>

Hi,

this message tells you that the calculation of the local coordinates within an element did not achieve the usual precision. This can be due to very much curved elements. In such cases, the first order approximation is used - this is usually good at the percent level.

Since this function is called many, many times it is harmless to have a few 100 of such messages. You can turn off the warning using `ComponentFieldMap::EnableConvergenceWarnings(false);`.

Having lots of those messages can point at poor meshing or (near) conflicts of volumes.

---

<div class="post-metadata">

**Author:** ![selrahc](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@selrahc](https://root-forum.cern.ch/u/selrahc)\
**Post date:** [May 11, 2021, 9:56am UTC](https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613/3 "2021-05-11T09:56:30Z")

</div>

Thank you. I waited about 6 hours and the program did show an avalanche. I guess I’ll have to go over the meshing.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [May 25, 2021, 9:57am UTC](https://root-forum.cern.ch/t/no-convergence-achieved-when-refining-internal-isoparametric-coordinates/44613/4 "2021-05-25T09:57:30Z")

</div>

Closed on May 25, 2021, 9:57am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
