First time here? Checkout the FAQ!
x
0 votes
ago by (320 points)
Hi everyone,

I am running simulations on HPC and I noticed that when I run with mass_lumping=1 everything is fine, but when I run with mass_lumping=0 the simulation diverges on the very first step (L5 : parabolic PDE (PETSc) solver diverged. Reason: indefinite preconditioning.). When I run the same code on my PC, it works with both mass_lumping on and off.

I installed openCARP on HPC by using Spack.

Do you know where I should look for the issue? I guess it could relate to some solver settings, but I don't know where to start investigating this problem.

Best,

Jakub

1 Answer

0 votes
ago by (8.1k points)
Hi,

In my experience these kind of issues originate from bad mesh quality, i.e. collapsed elements.

The parabolic system is more resistant, as it is diagonal dominant (and even more so with mass lumping), but then solvability problems pop up when changing parallel layout or region parameters. One thinks that the issue was introduced by the change in parameters, while it has been present all the time.

To test my hypothesis, I would suggest running "meshtool query quality" on your input mesh, to sanity check it. The max. quality metric should not be over 0.98.

Best wishes, Aurel
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...