LLMs for CAD/CAE: Don't Let the Demo Fool You
This article breaks down a viral LLM-in-industrial-software demo into four stages and explains why most of the work is done by mature toolchains rather than the model. It covers the risks of "quickly written" solvers, proposes a four-layer acceptance framework with a pseudocode skeleton, outlines a reference architecture that positions the model as a copilot, and lists common failure modes with mitigations. The takeaway: evaluate iteration cycle time and rework rates, not how smooth the demo video looks.
1. Dissecting the Demo: Four Stages, Four Different Capabilities
A widely circulated description of the latest LLM push into industrial software goes roughly like this: the model browses the web for part specifications and parameters, completes 3D modeling, drives a fluid dynamics solver to iterate on the design, and finally renders the result as an animation.
Split into four stages, the real question is not “can it” but “who is doing the work”:
- Document retrieval and parameter extraction: this is essentially retrieval augmentation plus structured extraction. The hard parts are parsing drawings, tables, and standards documents, and unifying units.
- Geometry modeling: this is essentially generating a parametric feature sequence (sketches, extrusions, revolutions, fillets, assembly constraints). The hard parts are topological consistency and editability.
- Design iteration and optimization: this is essentially workflow orchestration plus numerical solving. The actual compute and convergence come from the solver.
- Result animation: this is essentially data visualization and rendering, unrelated to engineering correctness.
Only the junction between stages two and three barely qualifies as “native model capability”; everything else is carried by mature toolchains. The steak analogy is not unfair: the steak is the beef, the heat control is the chef, and the pan is just a pan. When pan quality is not a differentiator, success depends on the chef — the workflow designer and the domain engineer.
2. Why “Writing a Solver on the Fly” Deserves the Most Scrutiny
The most eye-catching line in such a demo is usually “a fluid solver script was implemented on the spot.” It has huge impact in terms of reach, but in engineering terms it needs strict qualification.
- The value of an industrial-grade solver lies not in discretizing the equations, but in decades of accumulated boundary condition libraries, turbulence model calibration, mesh quality repair, parallel scalability, and numerical stability.
- Writing a simplified solver script is feasible in constrained scenarios (single geometry, single operating condition, qualitative comparison only); extrapolating that to “replacing a mature solver” does not hold.
- Recent academic evaluations point to the same conclusion: on solver development tasks limited in scope and functionality, the end-to-end pass rate of code generation models remains low, with failure modes concentrated in mesh handling, boundary condition setup, and convergence criteria.
So evaluating this kind of capability cannot rely on how good the final animation looks; you have to check whether the intermediate artifacts are reproducible and verifiable.
3. A Verifiable Evaluation Framework: Four-Layer Acceptance
To turn a “demo” into a “purchasable capability,” acceptance should be organized in four layers, each with explicit pass criteria.
- Input layer: given a part parameter table and a 2D drawing, check the completeness of extracted parameters, unit consistency, and whether missing items are flagged accurately.
- Geometry layer: check whether the generated feature tree is editable, whether it recomputes after parameter changes, and whether the assembly has interference.
- Solver layer: compare key quantities against a manual baseline for relative deviation, and check mesh independence, residual convergence curves, and whether conservation quantities close.
- Delivery layer: check whether reports, charts, and animations are driven by the same dataset, avoiding “nice rendering, mismatched data.”
A skeleton acceptance script can look like this:
# Pseudocode: minimal skeleton for four-layer acceptancedef accept(case):p = extract_params(case.drawing, case.table) # Input layerassert p.unit_consistent() and p.completeness > 0.98model = build_parametric_model(p) # Geometry layerassert model.recompute_ok() and not model.interference()res = run_simulation(model, case.boundary) # Solver layerassert res.mesh_independent() and res.residual < 1e-5assert rel_error(res, case.baseline) < 0.05report = render(res) # Delivery layerassert report.data_hash == res.data_hashreturn report
4. Reference Architecture for Production Deployment
When actually integrating an LLM into an R&D workflow, the sensible position is “copilot,” not “chief designer.” A deployable layered architecture looks like this:
- Interaction and orchestration layer: handles task decomposition, tool selection, and workflow rollback, keeping untrusted output confined to a suggestion zone.
- Knowledge and retrieval layer: the enterprise’s internal drawing library, standards and specifications, and historical simulation reports are indexed together, and retrieval results must carry sources.
- Tool execution layer: the geometry kernel, mesh generation, solver, and post-processing are all exposed as services; the model only generates call parameters and does not implement numerical algorithms directly.
- Data and governance layer: object storage holds inputs and outputs uniformly, a message queue decouples tasks, a container platform hosts stateless executors, and logging plus monitoring/alerting tracks every iteration.
Deploying this kind of architecture on Baidu AI Cloud typically follows the same generic category combinations described above. The core principle: the model is responsible for “thinking,” tools are responsible for “computing,” and the platform is responsible for “managing.”
5. Common Failure Modes and How to Avoid Them
- Hallucinated parameters: the model invents material grades or standard numbers that do not exist. Mitigation: force retrieval with citations, and refuse to answer on a miss.
- Unit and dimension errors: mixing millimeters and meters shifts results by a factor of a thousand. Mitigation: validate dimensions at the entry point.
- Pseudo-convergence: residuals drop but conservation quantities do not close. Mitigation: make conservation quantities a hard gate.
- Non-reproducibility: animation and data come from different batches. Mitigation: bind data fingerprints across all artifacts in the workflow.
- Unauthorized modification: the model edits the master model file directly. Mitigation: read-only mounting plus change review.
6. Conclusion: Put the Focus Back on the Chef
The value of LLMs in industrial software is real, but it shows up mainly in lowering retrieval cost, generating parametric scripts, orchestrating simulation workflows, and automatically producing documentation. The “pans” and “beef” — geometry kernels, numerical solving, mesh craft — are still determined by mature tools and engineering experience.
The advice for developers is direct: first establish the four-layer acceptance criteria and a failure mode checklist, then place the model in the orchestration layer as a copilot. For managers, gains should be measured by per-design iteration cycle time and rework rate, not by how fluid the demo video is. In the end, whether the pan is good has to be proven by a chef who can consistently deliver dishes.
