Files
OneCAD-Simulation/ROADMAP.md
T
40f98f0af9 Implicit solver: fem kernels (tet4/10, hex8, hex20), sparse Cholesky, block Lanczos, solve.* commands (M4) (#23)
* Renumber the layer table for solver crates: fem at L1, solver at L2, fsi at L3

L0 model -> L1 geometry, mesh, fem, decks, render -> L2 solver (explicit, lbm later)
-> L3 fsi (later) -> L4 doc -> L5 io -> L6 engine -> L7 ui-egui, mcp -> apps.
UI_MIN_LAYER moves to 7, the testkit sits above it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* modelcraft-fem: element kernels for tet4, tet10, hex8 (full, incompatible modes), hex20 (full, reduced)

Shape functions, Gauss and conical-product quadrature, stiffness, consistent and HRZ-lumped
mass, body forces, consistent pressure loads on faces, integration-point stresses and their
least-squares extrapolation to nodes, isotropic and orthotropic elasticity. The element table is
one row per kind, so wedges, shells and beams are added locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* modelcraft-solver: linear static and frequency analysis with an analytic verification suite

Assembly from the resolved model on the node graph, boundary conditions by elimination,
consistent pressure, gravity and body-force loads, nested-dissection ordering, sparse up-looking
Cholesky with a factor-size cap, reactions, integration-point and nodal-averaged stresses, von
Mises; shift-invert block Lanczos with full reorthogonalization for natural modes, participation
and effective mass. ADR 0001 records the own-linear-algebra decision (determinism, wasm).

Verified against closed forms: displacement and traction patch tests for every element, cantilever
tip deflection (Timoshenko) with convergence rates, Lamé cylinder, Kirsch hole (Kt -> 3),
cantilever and free-free beam frequencies with six rigid-body modes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* Engine: solve.static, solve.frequency and solve.probe; results kept in the session

Results are stored per step, restored on a failed command and cleared when the model changes.
Caps (degrees of freedom, factor entries, Lanczos vectors) may only be lowered; hostile parameters
are tested against a solvable session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* docs: implicit solver architecture, roadmap M4, parity and references

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* Simplify the solver: shared face integration, block assembly, cached extrapolation

- model: one face integrator (nodal::face_normal_weights) for tractions and pressures
- fem: mid-side tables from ElementKind::edges, orthotropic via inverse3, symmetric
  accumulation without a symmetrize pass, incompatible-mode recovery without K_uu, model's
  coordinate check, dead table rows removed
- solver: one pattern search per node pair (block, scalar and diagonal adds), extrapolation built
  once per element type, reactions from the prescribed rows only, matrices dropped after
  restriction, the free-body shift keyed on the factorization error, step selection in the solver,
  Error::Element naming the element
- engine: the solver owns the default step and the shift check; the model comparison runs once

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* docs: results are stamped with the session revision

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

---------

Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:44:21 -04:00

6.8 KiB
Raw Blame History

Roadmap

ModelCraft's goal is CAE modeling on par with Abaqus/CAE, Nastran pre-processors and LS-PrePost, with hexahedral meshing as the centre of gravity, plus its own linear solver. Abaqus/CAE is the reference for scope (its documentation is excellent and its solver strong); its application is where we aim to be clearly better: parametric geometry from SolidCraft, sets that survive remeshing, automatic hex partitioning, undo, a text-diffable model and agent control. The capability checklist is docs/parity.md. Beyond the pre-processor and the linear solver come our own explicit, CFD (lattice Boltzmann) and fluid–structure solvers (M10–M14; methods and papers in docs/solvers/literature.md).

Order (revised 2026-10-13): one end-to-end slice first — SolidCraft part → named faces → sets → mesh → material and section → BCs and loads → static and frequency steps → Abaqus, Nastran and LS-DYNA decks and our own solve → contour plot — on tet meshes, so every hex mesher lands in a pipeline that already produces solvable, verified models. Then hex: structured (sweep and mapped, with partitions proposed automatically) before octree all-hex, because that is how analysts get hex meshes today and it gives the best elements where stresses are read.

Milestone Scope Status
M0 Foundation Workspace, quality gates, FE model, command engine with rollback and panic guard, CLI, geometry boundary on SolidCraft done
M1 Geometry in and surface preparation Open .solidcraft designs with persistent face names, assemblies placed (done); face-tagged 3MF (done); test corpus, cargo xtask corpus (done); exact predicates (done); quality metrics and certified validity gate (done); weld, closed/manifold/orientation and self-intersection checks, feature edges (modelcraft-mesh::surface, mesh.surface.check, done) in progress
M2 Tet meshing and size field Size field (global, per face and edge seeds, curvature and proximity; the modelcraft_mesh::size::SizeField trait and edge-division helpers are in); Bowyer–Watson Delaunay (exact, symbolic perturbation, verified; modelcraft-mesh::delaunay, done); robust CDT boundary recovery (Diazzi et al. 2023); Delaunay refinement, ODT smoothing, sliver removal; tet4 and tet10 with mid-side nodes on the B-rep; mesh verify per set in progress
M3 First deck Sets and surfaces bound to SolidCraft face, edge, vertex and body names, resolved after meshing; materials (isotropic and orthotropic elastic, density) with a unit-system label and consistency check; sections (solid, shell, beam profiles) assigned by set; element formulation per region mapped to each solver; BCs (fixed, displacement, symmetry); loads (force and moment on reference points, pressure, gravity); reference points with kinematic and distributing coupling; steps (linear static, frequency) with explicit per-step load and BC tables and output presets; model.check naming every missing or bad item; model.* and mesh.tag commands (model definition: done); writers for Abaqus input (done: deck.write), Nastran SOL 101/103 (done: deck.write) and LS-DYNA implicit (done); the .modelcraft file (text definition, binary mesh, geometry references reopened on load, journal; atomic saves, autosave and recovery; undo/redo on the journal: done) in progress
M4 Own solver and first results Linear static and modal solver (tet4/10, hex8, hex20; sparse direct, Lanczos), verified against analytic solutions (solver: done — modelcraft-fem kernels, modelcraft-solver with nested dissection, sparse Cholesky and block Lanczos, solve.static/solve.frequency/solve.probe, patch, cantilever, Lamé, Kirsch and beam-frequency tests); deformed shape, contours, mode shapes, probes, reaction sums started
M5 Structured hex 2D quad meshing of faces (modelcraft-mesh::quad: transfinite mapped meshes, free all-quad meshes of polygons with holes on prescribed boundary nodes, exact planar quad validity, shared SizeField and even edge divisions; done for planar faces); mapped hex of six-sided regions; sweep meshing; conforming interfaces and tet–hex transition; automatic decomposition into sweepable and mappable regions, proposed as SolidCraft splits started
M6 Automatic hex Octree/grid-dual all-hex for any part; hex-dominant by tet recombination; polycube for blocky parts; smoothing, untangling, boundary padding, layers through thin walls; mesh editing and orphan-mesh import planned
M7 Assemblies and contact Part instances from SolidCraft occurrences; tie between non-matching meshes; general and pairwise contact with automatic pair detection, friction; bolt pretension, springs, point masses; amplitudes, multiple steps; nonlinear static steps in decks planned
M8 Materials, explicit, shells, composites Plasticity, hyperelasticity, damage data per solver; explicit dynamics decks (Abaqus/Explicit, LS-DYNA); midsurface shells; composite layups and material orientations, continuum shells on swept hex; heat transfer planned
M9 Post-processing and deck readers Results readers for public formats (Nastran OP2, LS-DYNA d3plot, Abaqus .fil); XY and path plots, cuts, display groups, free-body forces; deck readers that keep unknown keywords; mesh convergence studies planned
M10 Explicit dynamics Shared element and material kernels with the implicit solver (fem); central-difference solver with lumped mass, stable time step, one-point hex8 with hourglass control and nodal-pressure tet4, bulk viscosity, energy accounting; large-deformation materials (objective rates, J2, Johnson–Cook, damage, erosion); contact (global search, penalty with friction, rigid walls); runs on hex and tet meshes planned
M11 Equations of state and shells Polynomial, ideal-gas, Mie–Grüneisen, JWL with programmed burn, tabulated; energy coupling; shock verification (Rankine–Hugoniot, Sod, Noh, Sedov); Belytschko–Lin–Tsay shells with self-contact on quad meshes planned
M12 CFD: lattice Boltzmann D3Q19/D3Q27 on grids voxelised from the face-tagged surface; TRT, regularised and cumulant collision; interpolated walls, inlets and outlets; LES; octree refinement shared with the hex mesher; wgpu backend (deterministic per device, checked against the CPU) planned
M13 Fluid–structure interaction Immersed-boundary coupling of the lattice Boltzmann fluid with the explicit or implicit structure; interface force transfer; sub-cycling; Aitken then interface quasi-Newton coupling; free-surface flow planned
M14 Blast and impact fluids EOS-driven fluids in the explicit solver: ALE multi-material or SPH, with fluid–structure contact planned
Continuous: desktop and agents Desktop app (viewport, model tree, commands, control channel: done), MCP server, browser build, command schema as the public API started