← All tasks
CAE 01Physical & Kinematic Reasoning

Pull-out force of an interference-fit tube

Time limit
8 hours

Agent is asked to analyse, with a 2D axisymmetric finite-element model, the force on an aluminium tube pressed into a steel one, then pulled out and pushed back.

Agent Input

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

instruction.md

Analyze, with a 2D axisymmetric finite-element model, the axial force on an aluminium inner tube that is pressed into a steel outer tube, then pulled out and pushed back. Save the submission in /app/submission, laid out as /app/submission_format.md describes.

The inner tube has a 16 mm bore, a 20.08 mm outside diameter and a length of 20 mm. The outer edge of its leading end is rounded with a 0.2 mm radius. It is isotropic, with E = 70,000 MPa, Poisson's ratio 0.33 and a yield stress of 150 MPa, and it hardens by Armstrong–Frederick nonlinear kinematic hardening with C = 20,000 MPa and γ = 200, without isotropic hardening. The outer tube is isotropic and linear elastic, with E = 210,000 MPa and Poisson's ratio 0.30. It has a 20.00 mm bore and a 24 mm outside diameter, extends from z = −3 to 23 mm, and its outer surface is fixed. Its bore has a 15° lead-in chamfer, 0.5 mm long axially, at z = 23 mm. The edge between the chamfer and the bore is rounded with a 2 mm radius. The outer tube has no axial stop.

Before pressing, the tubes are coaxial and the inner tube extends from z = 23 to 43 mm, with its rounded end at z = 23 mm. Its end at z = 43 mm, the driven end, stays plane and normal to the axis and is free to move radially. The driven end is moved quasi-statically by −23 mm, with Coulomb friction of coefficient 0.10 at the interface. The axial force on the driven end is then released to zero. From the released position, with Coulomb friction of coefficient 0.20, the driven end is moved by +2 mm in +z, then back to 0 and on to −2 mm. The interface can open and slide throughout. All other surfaces, apart from the contact interface, are traction-free. Gravity and buckling can be neglected. Use mm, N and MPa, and report the force applied to the inner tube in +z for the complete circumference.

Submit the model files; the undeformed mesh of both tubes, resolving the contact interface along its full length; results from at least two mesh densities showing that the forces have converged with refinement; the force–displacement data for the pressing and for the path after release; the contact pressure, shear and status profiles at the end of pressing, after release, when the driven end first reaches +0.002 mm, at +2 mm, back at 0 and at −2 mm; the plastic strain and back stress results; and model/run.sh, which recomputes these results offline with the installed tools. model/run.sh must also accept an optional second argument, the friction coefficient for the path after release.

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

Submission format

Save all files under /app/submission. Use mm, N and MPa.

General rules

  • All paths are relative to /app/submission. Do not use symlinks, absolute paths or ...
  • Keep the submission to 50,000 files and 5 GiB or less. Each file must be nonempty and 250 MiB or less. Each CSV must be 30 MiB or less, and each JSON file 2 MiB or less.
  • Numbers must be finite. JSON keys must be unique, and a number must not be a boolean.
  • An NPZ file must be a standard NumPy .npz with numeric arrays only (no object arrays, no pickles), 32 entries or fewer.
  • Extra files, extra CSV columns and extra JSON keys are allowed.
  • "The driven end" is the inner tube's end that is at z = 43 mm before pressing.
  • "z_reference" is the axial position of a point of the inner tube in its undeformed state before pressing, measured from its leading end: z_reference = z − 23 mm. It runs from 0 at the rounded end to 20 at the driven end.
  • "After release" is the state at the end of the release, with zero axial force on the driven end.

Pressing data

insertion.csv has the columns step,displacement_mm,force_N.

  • step is the load-increment index. It starts at 0 before pressing and increases strictly.
  • displacement_mm is the displacement of the driven end in z from its position before pressing. It starts at 0 and decreases strictly to −23, where the file ends. Include one row at exactly −23.
  • force_N is the force applied to the inner tube in +z, for the complete circumference. It is negative while the inner tube is pushed in −z.
  • The rows must resolve the curve so that linear interpolation between consecutive rows reproduces the force at any point of the pressing.

Force–displacement data

force_displacement.csv has the columns step,displacement_mm,force_N.

  • step is the load-increment index. It starts at 0 in the state after release and increases strictly.
  • displacement_mm is the displacement of the driven end in z from its position after release. It follows the path 0 → +2 → 0 → −2: it starts at 0, increases strictly to +2, then decreases strictly to −2, where the file ends. Include one row at exactly +2 and one row at exactly 0 on the way back.
  • force_N is the force applied to the inner tube in +z, for the complete circumference. It is negative when the inner tube is pushed in −z.
  • The rows must resolve the curve so that linear interpolation between consecutive rows reproduces the force at any point of the path.

Contact profiles

Give one file for each of these six states:

FileState
contact_inserted.csvend of pressing, driven end at −23 mm, before release
contact_assembly.csvafter release
contact_0p002.csvdriven end at +0.002 mm, on the way to +2
contact_plus2.csvdriven end at +2 mm
contact_return0.csvdriven end back at 0 mm, after +2
contact_minus2.csvdriven end at −2 mm, at the end of the path

Each file has the columns z_reference_mm,z_current_mm,pressure_MPa,shear_MPa,status.

  • Each row is one node on the cylindrical contact surface of the inner tube in the results mesh. Give one row for every such node. All six files list the same nodes in the same order.
  • z_reference_mm is the node's z_reference. It starts at 0 and ends at 20, in strictly increasing order.
  • z_current_mm is the axial coordinate z of the same point in that state.
  • pressure_MPa is the contact pressure, positive in compression.
  • shear_MPa is the axial contact shear stress acting on the inner tube, positive in +z.
  • status is separation, stick or slip. A separation row has zero pressure.

Plasticity

plasticity.json has two objects, assembly (after release) and end (at −2 mm):

{
  "assembly": {"peeq_max": 0.0, "peeq_max_r_mm": 0.0, "peeq_max_z_mm": 0.0,
               "z10_plastic_zone_r_from_mm": 0.0, "z10_plastic_zone_r_to_mm": 0.0,
               "bore_z10_backstress_zz_MPa": 0.0, "bore_z10_backstress_tt_MPa": 0.0},
  "end": {"peeq_max": 0.0, "peeq_max_r_mm": 0.0, "peeq_max_z_mm": 0.0}
}
  • peeq_max is the largest equivalent plastic strain in the inner tube in that state (dimensionless).
  • peeq_max_r_mm and peeq_max_z_mm are the undeformed r and the z_reference of the point where it occurs.
  • z10_plastic_zone_r_from_mm and z10_plastic_zone_r_to_mm give the radial extent of the plastic zone at z_reference = 10 mm after release, as undeformed radii.
  • bore_z10_backstress_zz_MPa and bore_z10_backstress_tt_MPa are the axial and hoop components of the back stress after release, at the bore of the inner tube (r = 8 mm) at z_reference = 10 mm.

The zeros are examples only.

Mesh

Export the undeformed mesh used for the submitted results as an NPZ with three arrays:

  • points: an N×2 array of node coordinates (r, z) in mm, with the inner tube in its position before pressing.
  • cells: an M×3 or M×4 integer array of zero-based node indices. List the corner nodes of each cell in boundary order. For higher-order elements, list the corner nodes only. Use one cell type. If you mix triangles and quadrilaterals, split the quadrilaterals into triangles for this export.
  • region: an integer array of length M, 0 for a cell of the inner tube and 1 for a cell of the outer tube.

Include the cells of both tubes. A node belongs to one tube only.

Mesh study

Export the same NPZ for each mesh density, and write a JSON file with this layout:

{"levels": [
  {"mesh": "evidence/mesh_coarse.npz", "force_inserted_N": 0.0, "final_force_N": 0.0, "force_return0_N": 0.0, "force_minus2_N": 0.0},
  {"mesh": "evidence/mesh.npz", "force_inserted_N": 0.0, "final_force_N": 0.0, "force_return0_N": 0.0, "force_minus2_N": 0.0}
]}
  • levels has two or more entries, one for each mesh density.
  • mesh is the path of that level's NPZ.
  • force_inserted_N is the force at the end of pressing (−23 mm), final_force_N the force at +2 mm, force_return0_N the force on return to 0 mm and force_minus2_N the force at −2 mm, computed on that mesh.
  • The finest level is the mesh used for the submitted results. Its four forces are the values in the matching rows of insertion.csv and force_displacement.csv.
  • The finest level and the next level must differ in element size by a factor of 1.3 or more. The factor is the square root of the finest level's cell count over the next level's, counting a quadrilateral as two triangles.
  • For each of the four forces, the estimated remaining discretisation error of the finest level, |F_finest − F_next| / |F_finest| / (factor² − 1), must be 0.17 % or less. F_next is the force on the next level.

The paths and the zeros are examples only.

Reproduction script

Include model/run.sh. The grader runs bash model/run.sh OUT_DIR from the root of a copy of the submission. The script must recompute insertion.csv, force_displacement.csv, the six contact files and plasticity.json for the results mesh and write them to OUT_DIR. The recomputed values must match the submitted values:

  • insertion.csv and force_displacement.csv are compared as curves of displacement_mm. Each file is split where the displacement reverses, and the parts must match in number, direction and end displacements. Every row of either file is compared with the other file's force, linearly interpolated at the same displacement, so the rows of the two files can differ. step is not compared.
  • The six contact files are compared row by row. status must be the same word in every row.
  • Every value of plasticity.json is compared.
  • Each value must agree within 2 × 10⁻⁵ of the larger of the two values, or within an absolute limit when that is larger: 1 N for forces, 1 × 10⁻⁵ mm for displacements and coordinates, 1 × 10⁻³ MPa for pressure, shear and back stress, and 1 × 10⁻⁷ for plastic strain.
  • The grader runs the script on a different machine, so the solver's load stepping must not depend on floating-point rounding (for example, avoid automatic cutbacks or make them deterministic).

The script also takes an optional second argument: bash model/run.sh OUT_DIR MU. MU is the Coulomb friction coefficient for the path after release. When MU is not given, use 0.20. Change only this friction coefficient and keep everything else (mesh, pressing and release with friction 0.10, load steps) the same. The grader also runs the script with a different MU between 0.1 and 0.3, and the results it writes must be the solution of the model for that MU.

  • The grader removes the result files and data files (CSV, JSON, NPZ, logs and similar) from the copy before the run. It keeps a data file only if evidence.json lists it under source. Do not depend on saved results.
  • The script runs as an unprivileged user, without network, in an image with the same tools as this environment. Packages that you install yourself are not available.
  • The submission is read-only during the run. Write only to OUT_DIR or $TMPDIR.
  • The time limit is 1500 seconds for each run.

Evidence manifest

Write evidence.json:

{
  "schema": "steadywork-evidence-v2",
  "execution_claim": "saved_numerical_state",
  "isolated_rerun_verified": false,
  "views": {"mesh": "evidence/mesh.npz", "mesh_study": "evidence/mesh_study.json"},
  "artifacts": {
    "source": [{"path": "model/solve.py", "sha256": "64 hexadecimal characters"}],
    "native_fields": [{"path": "native/solution.dat", "sha256": "64 hexadecimal characters"}],
    "mesh": [{"path": "native/mesh.dat", "sha256": "64 hexadecimal characters"}],
    "solver_record": [{"path": "native/history.csv", "sha256": "64 hexadecimal characters"}],
    "audit_views": [{"path": "evidence/mesh.npz", "sha256": "64 hexadecimal characters"}]
  }
}
  • Keep the first three fields exactly as shown.
  • views.mesh is the results mesh NPZ. views.mesh_study is the mesh study JSON.
  • source lists the solver input or source files. native_fields lists the saved result fields. mesh lists the native mesh files. solver_record lists the solver log or iteration history. Each of these four lists has one or more entries. One file can appear in more than one list.
  • audit_views lists every file named in views and in the mesh study.
  • Each entry gives the file path and its SHA-256 hash. The manifest must name three or more different files.
  • The file names in this example are examples only.

Grading & Reference Solution

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

rubric

Gates

G1Submission correctness
Pass / fail

Files exist with the stated layout and can be rerun.

  • Submission folder rules · No symbolic links; file count and size within limits.
  • Result file columns×8 · Both curves and six contact-profile CSVs: required columns, ≥ 2 rows, finite numbers.
  • Load paths×5 · Steps increase; pressing 0 to −23 mm; pull-push 0 → +2 → 0 → −2 mm, starting near zero force.
  • Contact profiles×25 · Six states: zref 0–20 mm, p ≥ 0, no pressure when separated, valid status, same nodes.
  • Plasticity results · plasticity.json holds the ten stated keys.
  • Results mesh file · NPZ from evidence.json: 2D points, tri/quad cells, region 0 or 1 per cell, both tubes.
  • Evidence files are hashed×2 · Strict JSON; source, result, mesh and solver files listed with matching SHA-256, none outside.
  • Rerun script present · model/run.sh exists; data and result files stripped from rerun copy unless listed as source.
G2Analysis integrity
Pass / fail

Mesh is the stated geometry, results come from the model, friction matters.

  • Results mesh is clean×2 · No zero-area cell; no node shared by both tubes.
  • Tube bounds and section area×4 · Inner r 8–10.04, z 23–43; outer r 10–12, z −3–23 mm; area = exact half-section.
  • No copied results in the scripts · Scripts must not contain submitted forces, pressures or shears at full precision.
  • Both reruns finish×2 · run.sh at both friction values, unprivileged, one thread, no network; writes results.
  • Rerun reproduces the submission×9 · Curves vs displacement; contact profiles row by row, same status; plasticity by value.
  • Model responds to friction · Second-friction rerun: pull peak stays at +2 mm; force at +2 mm differs from μ = 0.20.

Scored Categories

A2Meshing and convergence
18.2%

Contact law holds, force equals contact force, mesh resolves and converges.

  • Coulomb law on slip rows×3 · Slip rows at +2 mm, back at 0 and −2 mm: ratio |τ| / (μp) should be 1.
  • Shear never exceeds friction×6 · All six states: no row carries shear above μp.
  • Friction opposes the motion×4 · Shear opposes sliding at end of pressing, +2 mm, back at 0 and −2 mm.
  • Contact shear matches force×5 · 2πr ∫ τ dz vs axial force at end of pressing, +0.002, +2, back at 0 and −2 mm.
  • Contact faces fully meshed×2 · Inner contact nodes z 23.2–43 mm; outer bore nodes z −3 to 22.237 mm (blend start).
  • Mesh study is real×2 · ≥ 2 hashed levels; finest is results mesh, has most cells; each passes geometry checks.
  • Forces converged · End of pressing, +2, 0, −2 mm: finest = reported; |ΔF| / |F| / (r² − 1), r = √(cell ratio), quad = 2 tri.
A3Field accuracy
18.2%

Contact pressure, shear and stick/slip zones match the reference.

  • Contact pressure×6 · Mean p in four 4.5 mm zones of zref 1–19 mm, six states, error / ref mean; end zone 1–5.5 mm apart.
  • Contact shear×3 · Mean |τ| in the same zones at +2 mm, back at 0 and −2 mm.
  • Stick and slip zones×2 · After release and at +0.002 mm: stick/slip boundary at 12.63 / 11.08 mm; zone shear; status laws.
  • No pressure outside the outer tube · Rows beyond the outer tube ends carry no pressure.
  • Driven-end position · Five post-pressing states at stated position from release; springback only in +z.
A4Key results and findings
63.6%

Forces, curves and back stress match the reference.

  • Key forces×5 · End of pressing, +0.002, +2, back at 0, −2 mm; |F − Fref| / |Fref|.
  • Force curves · Pull-push vs path length, error / max(|Fref|, 50 N); band distance at reversal; pressing 20–23 mm.
  • Radial contact force×6 · Fr = 2π × 10 mm × ∫ p dz, all six states.
  • Second-friction force at +2 mm · Second-friction rerun vs two-code reference envelope widened by 0.5 % of mean.
  • Back stress at the bore×2 · Axial and hoop after release, point nearest r = 8, zref = 10 mm.
Reference force curve
Reference force curve

Sample Model Trials

Claude Fable 5.20.00
Meshing and convergenceField accuracyKey results and findings
  • Fails a gate, so every category scores 0 (43 of 44 checks failed).
  • Its other run passed both gates and scored 0: the joint comes out 0.40 to 2.19 % stronger than the reference at every key point (0.4 % is allowed), and its own mesh study shows the forces have not settled with refinement.
  • Gate: Missing from the submission: insertion.csv, force_displacement.csv, contact_inserted.csv, contact_assembly.csv, contact_0p002.csv, contact_plus2.csv, contact_return0.csv, contact_minus2.csv, plasticity.json, evidence.json, model/run.sh
GPT-6.2 Astra1.00
Meshing and convergenceField accuracyKey results and findings
✓Full scoreEvery check passed.
Gemini 4 Neon0.818
Meshing and convergenceField accuracyKey results and findings
Gemini 4 Neon's pull and push on the true design, with its failed checks in red
  • Loses 2 of 11 weight points on 1 of 3 categories (field accuracy).

Reference Agent Output Failed Checks