Skip to content

Particle (Lagrangian) stress history differs from serial by 1.2e-5 at np >= 4 #797

Open

Description

@lmoresi

Symptom

On the turned-over Maxwell box of tests/parallel/test_1062 (shear modulus varying in x, two counter-rotating cells between no-slip walls, unstructured simplex mesh, 10 steps), the shear stress at (0.5, 0.2) with stress_transport="lagrangian" is

ranks sxy
1 -0.1214269
3 -0.1214269
4 -0.1214385
6 -0.1214385

Every other stress history (backward/forward from nodes and integration points, the SUPG grid) gives the serial value to 1e-7 at np 3, 4 and 6 on feature/forward-from-nodes (b20c992 and after); tests/parallel/test_1066 holds them to 1e-6 and marks this case as an expected failure at np >= 4.

What is ruled out

  • the flux evaluated at the particles: no point extrapolated, every particle owned by the rank that evaluates it, the same 3220 particles in total;
  • the cell proxy's fit: no thin or empty cells (at least 5 particles per cell);
  • point location: every departure point has exactly one owner.

The stress read at step 0 already differs by 1e-8, and the velocity at step 1 by 7e-6.

Reproduction

mpirun -n 4 python -m pytest --with-mpi tests/parallel/test_1066_transport_schemes_mpi.py -k lagrangian

Underworld development team with AI support from Claude Code

Activity

  1. added
    bug
    on Sep 27, 2026
  2. lmoresi commented on Nov 15, 2026

    @lmoresi
    MemberAuthor

    Update from H1's probe sweep (2026-11-16, development 176958a; probe-pass/H1.md in the campaigns repository, commit f8aaa39). The filed point is now fixed: at (0.5, 0.2) the Lagrangian history is within 2e-7 of serial at np 2 to 8, where this issue had 1.2e-5 at np 4 and 6. The defect is still live at another point. At np 8, (-0.3, -0.35) reads 0.0675042 against serial's 0.0672076, a difference of 3.0e-4. One rank owns that point, and its local evaluate agrees with the global one, so it is the stored history that differs, not the evaluation.

    Underworld development team with AI support from Claude Code


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions