The Chartership Forum

Computational Engineering / Diagnosing computational models

Conditioning and meshing

Conditioning and mesh accuracy describe different errors.

Lesson review: expert verification remains open

This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.

Checks needed for project use

  • A computational engineering reviewer must check algorithms, convergence claims, statistical assumptions and numerical examples beyond the cases explicitly recorded.
  • Model Doctor lab case banks are separate from these lesson blocks and need their own full technical audit.
  • Confirm mesh-quality limits and punching checks for each adopted element and design standard.
  • Confirm that diagnostic corrections explain the physical discrepancy and do not merely remove solver warnings.

These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.

Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.

Read the lesson register and outstanding review notes

Why this matters

A mesh can give smooth contours while missing a stress concentration. A very large condition number can also make the equation solution sensitive to small perturbations.

By the end of this lesson you should be able to

  • Name the three causes of ill-conditioning and estimate the digits each costs
  • Distinguish a converging refinement sequence from a singular one
  • Explain why a peak stress at a singularity is meaningless and what to use instead
  • Judge element quality by aspect ratio, skew and Jacobian
  • Explain what nodal averaging removes

Convergent displacement and growing peak stress differ

Convergent displacement and growing peak stress differThe left sequence approaches a finite reference. The right sequence grows under refinement. These schematic trends prompt different investigations; a short sequence alone cannot prove a singularity.DisplacementPeak stressRefine the quantity needed for the decision
The left sequence approaches a finite reference. The right sequence grows under refinement. These schematic trends prompt different investigations; a short sequence alone cannot prove a singularity.
Left sequence
Assess a stated response tolerance against systematic refinement.
Right sequence
Review the local idealisation and choose an appropriate physical quantity.

Check numerical sensitivity and spatial resolution

Conditioning describes sensitivity of the equation solution. Near-mechanisms, stiffness contrast, scaling and element quality can affect it. A rough lost-digit estimate is a warning, not a count of trustworthy engineering digits.

Refine systematically and track the output needed for the decision. A growing peak at an idealised singularity may not converge, even when a displacement or integrated force does. Examine the boundary idealisation and use a physically relevant quantity or local model.

Assess aspect ratio, skew and Jacobian against the formulation and expected field. Compare averaged and unaveraged stress output, retaining legitimate material discontinuities. Smoothing can hide jumps, so record the recovery method rather than judging accuracy from appearance.

Try it

Mesh convergence tool

Two refinement sequences. One settles; one grows at a constant ratio and never will.

Quantity

The series settles. Halving the element size stops changing the answer, and that is what 'the mesh is fine enough' means — not that the mesh looks nice.

Successive refinements. Watch the change column, and the ratio between values.
ElementsValueChangeRatio to previous
10.0307——
20.03080.14 %1.0014
40.03080.04 %1.0004
80.03080.01 %1.0001
160.03080.00 %1.0000
320.03080.00 %1.0000
Converges?
yes
Limit
0.0308
Adequate at
2 elements

change below 2 %

The increments shrink. That is convergence, and the last value is usable.

The discriminator

  • Look at the RATIO column, not the value column. A converging sequence has ratios tending to 1; a singular one has a constant ratio above 1.
  • One extra refinement settles which you are looking at, and it is the cheapest question you can ask of a mesh.
  • For the singular case the honest fix is not a finer mesh. It is a different quantity: the punching shear at a flat-slab column is the difference in column axial force above and below, which has no mesh in it at all.

What this shows: 'The answer changed when I refined it' tells you the previous mesh was inadequate. Whether the new one is adequate depends on how the increments behave, not on the values.

Try it

Mesh quality explorer

Distort a quadrilateral and watch three independent metrics move. Then size a mesh by the two rules.

Slide the top edge sideways to introduce pure skew.

Mesh sizing

m
m
Aspect ratio
1.00
Worst corner off square
0.0°
Smallest internal angle
90.0°
Minimum Jacobian
0.2500
Verdict
good

Sizing the mesh

Twice the thickness
0.60 m
Span over ten
0.72 m
Span-to-depth ratio
24.0
Recommended
0.60 m

At a span/depth of 24 the two rules give nearly the same size, which is why either is a reasonable start.

What this shows: Aspect ratio, skew and a negative Jacobian are three different defects with three different consequences — and a folded element is not an element at all.

Worked example

Converging, or not?

Given

  • Two quantities are tracked through four mesh refinements, each halving the element size
  • Quantity A: 12.1, 13.4, 13.8, 13.9 mm
  • Quantity B: 41, 56, 77, 106 N/mm²

Find

Which is converging, and what to do about each

    Practice

    A reduced stiffness matrix has a condition number of 10¹². Using the rule that 10ᵏ costs about k of sixteen significant digits, how many significant digits survive?

    Practice

    A 300 mm slab spans 7.2 m. Two illustrative trial mesh spacings are twice the thickness and one tenth of the span. What is the smaller value, in metres? This arithmetic does not set an element-size requirement.

    Check yourself

    A flat-slab model's peak moment at a column keeps rising with every refinement. What is the correct design quantity to use for the punching check?

    Check yourself

    How do you tell a converging refinement sequence from a singular one?

    Check yourself

    What sets a model's condition number in practice?

    Summary

    • Conditioning and mesh accuracy describe different errors.
    • Track the required output through refinement.
    • Inspect singular idealisations and stress recovery.

    Sources & further information

    NASA NPARC verification and validation tutorial (CFD background on general V&V methods).

    Reviewed 19 October 2026: explanations, teaching calculations and figures checked within the recorded course audit. This is not independent engineering approval. Confirm that diagnostic corrections explain the physical discrepancy and do not merely remove solver warnings.