Mesh Convergence and Solver Diagnostics¶
A finite-element result is only as good as its mesh. Silicofeller Quantum Studio can refine the mesh automatically for eigenmode runs and reports solver diagnostics for every run. This page explains both and how to decide whether a result is converged.
Auto-converge¶
Turn on Auto-converge in the eigenmode parameters before you run. Quantum Studio then:
Meshes and solves at the starting mesh (set by Mesh Quality).
Scales the mesh sizes by 0.75 and solves again.
Compares the frequency of the lowest
physicalmode with the previous level.Stops when the relative change is at or below the tolerance, or when a limit is reached.
Setting |
Default |
API key in |
|---|---|---|
Tolerance |
0.5 % (UI) |
|
Maximum levels |
5 |
|
Refinement factor per level |
0.75 |
|
Degrees-of-freedom cap |
2,000,000 |
|
Timeout per level |
2,700 s |
|
Timeout for the whole sweep |
18,000 s |
|
The result carries a convergence block:
Field |
Meaning |
|---|---|
|
|
|
|
|
Relative frequency change at each level. |
|
Number of levels solved. |
When the DOF cap is exceeded, the sweep returns the results of the previous level.
Only the lowest physical mode is checked. If you care about a higher mode, for example a readout resonator, compare its frequency across runs at two mesh qualities yourself.
Solver diagnostics¶
Every run reads Palace’s palace.json and stores a diagnostics block. The status bar on
the Simulations page shows the first four.
Field |
Meaning |
|---|---|
|
Solver version. |
|
Size of the finite-element problem. |
|
Number of mesh elements. |
|
Total iterations of the linear solver. |
|
MPI processes used. |
|
Peak memory, worst process. |
The Metrics endpoint (GET /api/simulations/{id}/metrics) gives the time spent in each
pipeline phase.
Decide whether a result is converged¶
Run once at Mesh Quality 2 to check the mode structure.
Run with Auto-converge on. Accept the result if
statusisconverged.If the status is
hit-cap, look attrend. A change that is still shrinking level by level is close; a change that jumps around points to a geometry or meshing problem near a junction or narrow gap. Check Volume Mesh.For capacitance and inductance runs, which have no auto-converge, compare two runs at different Mesh Quality values. Values that agree within your design margin are usable.