Invntr
Source

All instruments

fea2d

2D finite elements (quadratic triangles) from ForgeCraft: plane stress, plane strain or axisymmetric; linear, or elastic-plastic with stages and contact when the study has "nonlinear". Units are whatever the study uses consistently (mm, N, MPa). Readings: solver summary (peak von Mises, displacement, reactions, equilibrium error) and fields at probe points. File nodes.csv. Curves: a run of loop points that lie on one circle (a fillet, a hole drawn as facets) is meshed as the true arc with curved elements, re-drawn at the element size, so the answer does not depend on how finely it was drawn (summary.arcs lists them; study.curves = "asDrawn" turns this off). Linear studies run the mesh convergence check by default: summary.convergence says whether the governing peak converged, is singular, is not converged, or is limited by the drawing (it sits on a faceted curve that is not a circle, so a finer drawing could move it); summary.peaks gives each peak's finest value and status.

Field
Mechanics, CAD and finite elements
Version
0.2.0
Runs as
Compiled (Rust)
Typical run
2 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replayfea2d 0.2.0 · files 0ed7a99ec8d7…5304
  1. r0001Lame thick cylinder, ri 50, ro 100, p 10 (axisymmetric): hoop stress 16.667 / 9.259 / 6.667 at r = 50 / 75 / 100, within 2%passed

    probes.0.stress.3{"value": 16.6667, "rel_tol": 0.02}
    probes.1.stress.3{"value": 9.2593, "rel_tol": 0.02}
    probes.2.stress.3{"value": 6.6667, "rel_tol": 0.02}
    summary.residual{"max": 1e-06}
    scene.legend_max_is_reported_peak= truemisseddiffers
    scene.bounds_max.1{"value": 20, "abs_tol": 1e-06}
    scene.bounds_max.0{"value": 100, "abs_tol": 1e-06}
  2. r0002Kirsch: quarter plate with a hole in tension, peak stress 2.9-3.25 x far fieldpassed

    probes.0.stress.0{"min": 2.9, "max": 3.25}
  3. r0003Heywood: plate with a hole d/W = 0.1 in tension (quarter, 300 long), the hole drawn as 6 straight facets per quarter: taken as the true circle; peak 3.032 x the gross stress (Heywood 1952, Kt_net = 2 + (1 - d/W)^3, gross = Kt_net / (1 - d/W); Howland 1930 gives the same within 1%) within 1.5%, convergedpassed

    summary.peaks.overall.value{"value": 3.032, "rel_tol": 0.015}
    summary.convergence.status= convergedmisseddiffers
    summary.arcs.0.radius{"value": 10, "abs_tol": 1e-06}
    summary.arcs.0.points= 7misseddiffers
  4. r0004Heywood again, the same hole drawn with 90 facets per quarter: the same true circle, the same 3.032 within 1.5%, converged (the answer does not depend on the drawing)passed

    summary.peaks.overall.value{"value": 3.032, "rel_tol": 0.015}
    summary.convergence.status= convergedmisseddiffers
    summary.arcs.0.points= 91misseddiffers
  5. r0005Lame ring in plane stress, ri 50, ro 100, p 10, both circles drawn as 6 facets per quarter: von Mises at the bore sqrt(16.667^2 + 16.667*10 + 10^2) = 23.333 within 0.5%, hoop 16.667 at the bore and 6.667 outside within 1%, convergedpassed

    summary.peaks.overall.value{"value": 23.3333, "rel_tol": 0.005}
    probes.0.stress.0{"value": 16.6667, "rel_tol": 0.01}
    probes.1.stress.0{"value": 6.6667, "rel_tol": 0.01}
    summary.convergence.status= convergedmisseddiffers
    summary.arcs.1.radius{"value": 100, "abs_tol": 1e-06}
  6. r0006Inglis 1913: an elliptic hole (semi-axes 10 across the load, 5 along it) in a wide plate, Kt = 1 + 2a/b = 5, drawn as 45 facets per quarter: an ellipse is not a circle, so it stays faceted, and the check says the peak is limited by the drawing; its value within 5% of 5passed

    summary.convergence.status= limitedByDrawingmisseddiffers
    summary.peaks.overall.value{"value": 5.0, "rel_tol": 0.05}
  7. r0007The Heywood hole drawn as 6 facets with curves: asDrawn: meshed as its facets, the peak is limited by the drawing, never convergedpassed

    summary.convergence.status= limitedByDrawingmisseddiffers
    summary.peaks.overall.status= limitedByDrawingmisseddiffers
7 of 7 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
studyForgeCraft study JSON: {name, loops: [[[x,y],...]], analysis: planeStress|planeStrain|axisymmetric, thickness, material: {name, e, nu, yieldStrength?}, meshSize?, supports: [{at, x, y}], loads: [{kind: pressure|traction|force|..., at, ...}], nonlinear?}. Selectors: {kind: segment, a, b} | {kind: window, min, max} | {kind: circle, center, radius}. curves?: "arcs" (default: runs of points on one circle are meshed as the true circle) | "asDrawn" (straight facets as given).
probesPoints [x, y]; each returns the nearest node's displacement and stress.
convergencetrueRun the mesh convergence check (re-solves refined around each peak; linear studies).

Readings

NameUnitMeaning
summary
probes
nodes.csv
scene.glb