← All tasks
CAE 04Physical & Kinematic Reasoning

Analyse offset steel link under loads

Tools
Gmsh, CalculiX
Time limit
8 hours

Agent is asked to calculate an offset steel link's response to a 1000 N load in each of three directions, and find which direction is most demanding and where the stress concentrates.

Agent Input

What the agent is given: the instruction and its input files.

instruction.md

This offset steel link has two circular mounts. Calculate its response to a load in each of three directions, and find which direction is most demanding and where the stress concentrates. The part is /workspace/link.step. Save the submission in /workspace/submission.

link.step is the only source of geometry. Its units are millimetres. The supports, loads and material are in /workspace/link_details.md.

Use Gmsh and CalculiX as needed. The grader runs model/run.sh for each level, then solves the link.inp that it wrote. Each run.sh run must finish in at most 5 minutes. Each solve must finish in at most 10 minutes in CalculiX, using 1 thread. These times are measured on the grading machine, which can be slower than this one.

Submit these items:

  1. model/run.sh
    • The command is bash model/run.sh OUT_DIR LEVEL. LEVEL is coarse or fine.
    • The script runs read-only, with no network and only the packages installed here.
    • Only scripts in model/ are copied (.py, .sh, .geo, .json). These scripts must be at most 5 MB in total.
    • Each run must mesh /workspace/link.step with Gmsh.
    • Each run must write the Gmsh mesh link.msh and the CalculiX input link.inp to OUT_DIR. It must also write any files that link.inp includes. The grader uses only these files, not copies elsewhere in the submission.
    • run.sh does not need to solve. The grader solves link.inp itself.
  2. link.inp
    • Use mm, N and MPa.
    • Write the load cases as three *STEP blocks, in the order X, Y, Z. Solve each in one increment.
    • Each mesh has at most 300,000 cells.
    • The fine mesh has more cells than the coarse mesh. Its median cell size is at least 15% smaller.
    • Write each load with *CLOAD.
  3. results.json, with coarse, fine, mesh_change_percent, highest_stress_direction, largest_displacement_direction and worst_xz_load.
    • The coarse and fine objects each hold X, Y and Z objects. Each of these holds:
      • max_displacement_mm, the largest nodal displacement magnitude
      • gauges_MPa, the two gauge stresses, in the order given in link_details.md. A gauge stress uses the cells whose corner-node mean lies inside the gauge sphere. It is the mean of the integration-point von Mises values of each cell, weighted by the cell volume. The volume of a 10-node cell is its curved (isoparametric) volume.
      • support_force_N [x, y, z], the sum of the CalculiX RF forces at the fixed nodes
      • support_moment_Nmm [x, y, z], the moment of those forces about the large-bore centre
      • strain_energy_Nmm, the elastic strain energy as CalculiX integrates it: the sum, over the integration points, of the strain-energy density times the volume of that point
      • external_work_Nmm, half the sum of each nodal load dot its displacement
      • highest_stress, which holds:
        • von_mises_MPa, the largest integration-point value
        • xyz_mm, the mean position of the corner nodes of that cell
        • region_mean_MPa, the gauge-stress rule for the cells whose corner-node mean is within 4 mm of xyz_mm
    • The mesh_change_percent object holds X, Y and Z objects. Each holds 100 × (fine / coarse - 1) for max_displacement and peak.
    • highest_stress_direction is X, Y or Z: the direction with the largest fine-mesh peak.
    • largest_displacement_direction is X, Y or Z: the direction with the largest fine-mesh displacement.
    • worst_xz_load, with angle_deg and von_mises_MPa: the load 1000 × (cos θ, 0, sin θ) N, with θ from 0 up to (not including) 180 degrees, that gives the largest fine-mesh peak, and that peak.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

Grading & Reference Solution

How the submission is scored, and a human expert-authored reference solution.

rubric

Gates

G1Submission correctness
Pass / fail

Script builds both meshes; verifier solves them and reads three cases back.

  • Results file is valid · results.json exists and parses as a JSON object.
  • Model scripts present · model/run.sh exists; only .py, .sh, .geo, .json copied to an offline read-only sandbox.
  • Model script builds each mesh×2 · run.sh OUT_DIR LEVEL (coarse, fine) writes link.msh and a readable link.inp; one retry.
  • CalculiX finishes×2 · Each level's deck, one thread.
  • Solve reads back×2 · Each level reads back as cases X, Y, Z covering the whole mesh.
G2Analysis integrity
Pass / fail

Three static steps on the submitted link mesh; every solve in equilibrium.

  • Three static steps×2 · Per level: three closed *STEP blocks, one *STATIC each.
  • Mesh is the declared mesh×2 · Per level: deck nodes and cells vs link.msh.
  • One continuous part×2 · Per level: connected components.
  • Material volume×6 · Per case and level: mesh volume vs the link (105,590 mm³).
  • Material in the right place×6 · Per case and level: occupancy spread on a reference grid; catches misplaced material.
  • Force balance×6 · Per case and level: reactions vs minus the 1000 N load.
  • Moment balance×6 · Per case and level: reaction moment about (0, 20, 0) vs minus the load moment.
  • Energy closure×6 · Per case and level: strain energy / external work.

Scored Categories

A1Setup and report accuracy
30.8%

Linear static set-up with stated support, material and loads; results.json matches.

  • Only the asked physics×2 · Per level: no *PLASTIC, *DYNAMIC, *TIE, *CONTACT PAIR, *EQUATION or similar; no gravity.
  • Concentrated loads only×2 · Per level: *CLOAD only; no pressure or distributed loads.
  • Small displacements×2 · Per level: no NLGEOM.
  • One element order×2 · Per level: all C3D4 or all C3D10.
  • One increment per step×2 · Per level: each step's time period and initial increment.
  • Large bore fixed×6 · Per case and level: largest fixed-node displacement.
  • Support is the large-bore wall×2 · Per level: xyz-fixed nodes vs large-bore wall nodes (r 20 mm, y 0–40 mm).
  • Material×2 · Per level: E and ν vs 210,000 MPa and 0.30.
  • Loads applied×6 · Per case and level: loads on small-bore wall, 1000 N on axis, no moment about (0, −20, −125), area-spread.
  • Reported values×6 · Per case and level: max displacement, gauges, support force and moment, energy, work vs verifier.
  • Reported highest stress×6 · Per case and level: peak von Mises, its cell position, mean within 4 mm.
  • Reported critical directions×2 · Directions of the highest fine-mesh peak and largest displacement vs verifier's.
  • Reported worst XZ load · Reported angle's combined X–Z peak vs worst over 0–180°; reported peak vs that angle's.
  • Reported mesh change · 100 × (fine / coarse − 1) for max displacement and peak, X, Y, Z.
A2Meshing and convergence
15.4%

Two meshes within budget, a real coarse–fine pair, sound cells at the peak, results settle.

  • Gauges measurable×6 · Per case and level: cells in each 15 mm gauge sphere.
  • Cell budget×6 · Per case and level: mesh cell count.
  • Fine mesh is finer×3 · Per case: fine has more cells and smaller median cell size.
  • Valid cells at the peak×3 · Per case, fine mesh: min Jacobian ratio within 4 mm of the verifier's peak.
  • Displacement settles×3 · Per case: coarse vs fine max displacement.
  • Peak stress settles×3 · Per case: peak change coarse to fine.
A4Key results and findings
53.8%

Fine-mesh directions, displacements, stresses, peak location and worst load match the reference.

  • Critical directions×2 · Direction of highest peak and of largest displacement.
  • Largest displacement×3 · Per case vs reference (X 0.19247, Y 0.11700, Z 0.02929 mm).
  • Gauge stresses×6 · Per case, volume-weighted mean von Mises per gauge (X: 26.44, 13.87 MPa).
  • Gauge coverage×6 · Per case, cell volume counted per gauge (3,862 and 5,656 mm³).
  • Peak stress×3 · Per case: max integration-point von Mises vs extrapolated ref (X 117.27, Y 77.69, Z 28.83 MPa).
  • Mean stress near the peak×3 · Per case: mean within 4 mm of peak (X 44.83, Y 69.33, Z 8.73 MPa).
  • Worst combined load · Max peak of 1000 (cos θ, 0, sin θ) N, θ 0–180°, from X and Z solves (ref 117.97 MPa at 6.15°).
  • Peak location×3 · Per case: peak cell distance to nearest reference hotspot.
Reference results
Reference results

Sample Model Trials

Claude Fable 5.21.00
Setup and report accuracyMeshing and convergenceKey results and findings
✓Full scoreEvery check passed.
GPT-6.2 Astra0.308
Setup and report accuracyMeshing and convergenceKey results and findings
GPT-6.2 Astra's results against reference on the true design, with its failed checks in red
  • Loses 9 of 13 weight points on 2 of 3 categories (meshing and convergence, key results and findings).
Gemini 4 Neon0.462
Setup and report accuracyMeshing and convergenceKey results and findings
Gemini 4 Neon's results against reference on the true design, with its failed checks in red
  • Loses 7 of 13 weight points on 1 of 3 categories (key results and findings).

Reference Agent Output Failed Checks