LLMs for CAD/CAE: Why the Model Doesn't Deserve All the Credit
A recent wave of demos shows large language models retrieving part specifications, building parametric geometry, driving a CFD solver, and rendering an animation. This article breaks that pipeline into four stages—spec retrieval, parametric modeling, solving, and visualization—and explains who actually does the work at each stage. You will learn why single-scenario solver generation still has a low pass rate, what a practical engineering architecture looks like, and which evaluation questions separate real capability from demo polish. The goal is a reusable attribution method, not a dismissal of the demos.
LLMs for CAD/CAE: Why the Model Doesn’t Deserve All the Credit
1. The Trigger: A Demo That Invites Misattribution
A certain kind of demo has been circulating in the industry lately. A model first retrieves part documentation and technical parameters, then produces a parametric geometric model, then drives a fluid dynamics solver to iterate on the design, and finally outputs an animation in a 3D rendering environment. The whole thing gets compressed into a single paragraph, and what audiences remember is the brightest conclusion at the end: “the model designed the engine by itself.”
The demo has real value. It demonstrates that end-to-end orchestration is feasible. But treating it as proof of a single model’s capability leads to the wrong conclusion. A closer analogy is cooking: if a steak tastes good, the credit belongs to the ingredients, the cook, and the pan. Give all the credit to the pan, and next time you will reach for the wrong tool.
This article is not an attempt to discredit the demo. It offers a reusable attribution method so that developers evaluating “can an LLM do engineering computation” can see what each layer is actually doing.
2. Decomposition: Who Really Carries Each of the Four Stages
Split the demo into four segments and examine the boundary of responsibility in each.
2.1 Spec Retrieval and Parameter Extraction
This stage tests retrieval and structured extraction: can the system find public manuals, can it pull torque curves and dimension chains out of tables into structured fields, can it detect unit and dimensional conflicts. Its output is “trusted input,” not a “design conclusion.” One misplaced decimal in the input and the entire downstream chain is wasted.
The more robust engineering practice is to connect the model to an enterprise’s own material library and standards library, use retrieval augmentation to constrain the model to answer only from the provided material, and apply dimensional and range validation to the extracted results:
def validate_spec(spec):assert spec["length_unit"] in {"mm", "m"}assert 0 < spec["bore_mm"] < 200# Normalize units before entering the modeling stagereturn normalize_units(spec)
2.2 Parametric Geometry Modeling
This stage depends on the geometry kernel and the parametric constraint solver. The model’s job is “write the script, pick the features, order the operations.” Whether sketch constraints close, whether the feature order causes a topology failure, whether a boolean operation produces a degenerate face—none of these are language-level problems. They are boundary conditions of the kernel. The model’s contribution is lowering the cost of writing scripts; geometric correctness is still decided by the kernel and the validators.
2.3 Solving and Design Iteration
This is the most frequently misread stage. In the demo, “casually writing a solver” amounts, in an engineering context, to building a new kitchen just to fry one steak. The mesh handling, robustness of boundary conditions, parallel scalability, and numerical stability that mature solvers have accumulated over decades cannot be reproduced by a short piece of code. The more sensible route: the model generates boundary conditions, mesh parameters, and the operating-condition matrix, calls an existing solver to execute, then reads residuals and convergence curves to decide the next set of parameters.
Judging convergence cannot rely on “it finished running.” You have to look at residual reduction and conserved quantities:
def is_converged(residual, tol=1e-5, window=50):tail = residual[-window:]return max(tail) < tol and (tail[0] / tail[-1]) > 10
2.4 Result Presentation and Animation Output
Rendering and animation belong to the visualization stage. They are highly scriptable and fault-tolerant, which makes them the segment a model can complete most reliably. They are also the most visually striking part of the demo, so they naturally absorb all the attention.
3. Why Single-Scenario Solver Pass Rates Stay Low
Even when the task is narrowed to “develop a solver for a single scenario with a single function,” the success rate remains limited, for four reasons:
- Numerical method selection needs priors. Stability conditions, discretization schemes, time step size, and nonlinear iteration strategies are coupled to one another. Without feedback, the model easily produces code that “runs but returns meaningless results.”
- Correctness is hard to determine. Without an analytical solution or a benchmark case, the model cannot prove itself correct and must rely on indirect indicators such as conserved quantities and mesh independence.
- Boundary conditions are tightly coupled to geometry. Change the geometry slightly and the boundary naming and topological relationships break, leaving the script fragile.
- Verification costs more than generation. Generating code takes seconds; building cases, comparing against benchmarks, and running mesh-independence studies take hours.
So evaluating this kind of capability should look at the closed loop of “generate + automatically verify + fall back on failure,” not the impression left by a single demo.
4. A Practical Engineering Architecture
Put the model where it is strong, and use engineering components to cover what it is not:
- Input layer: enterprise standards library, material library, and historical case library, with unified units and fields.
- Orchestration layer: a task graph splits retrieval, modeling, solving, and visualization into nodes, decoupled by a message queue, with retries on failure.
- Execution layer: geometry kernel, solver, and renderer run on a container platform and scale elastically per case.
- Validation layer: geometry checks, unit checks, convergence criteria, and mesh-independence checks; failing any one triggers a fallback.
- Observability layer: logging and monitoring/alerting record the parameters, residuals, and elapsed time of every iteration, forming a traceable experiment record.
- Asset layer: object storage keeps models, meshes, and results for reproduction and secondary analysis.
A schematic task graph definition:
nodes:- id: fetch_spec # Retrieval and structuring- id: build_geometry # Parametric modeling- id: solve # Call the existing solver- id: postprocess # Convergence check and visualizationedges: [fetch_spec->build_geometry, build_geometry->solve, solve->postprocess]retry: {solve: 2}
5. Evaluation Checklist: Assigning Credit Correctly
- Does the input come from a controlled data source, and is it subject to unit and range validation?
- Who decides geometric correctness, and is failure recoverable?
- Is the solve a call to a mature engine or freshly generated code, and is the convergence criterion explicit?
- Are there benchmark cases and mesh-independence verification?
- In total pipeline time, how much is model generation and how much is verification?
- Are results reproducible, with parameters and versions recorded?
6. Conclusion
The real value of LLMs in a CAD/CAE pipeline is driving the marginal cost of “writing scripts, configuring operating conditions, organizing workflows, and interpreting results” very low—not replacing the geometry kernel or the numerical solver. Only when you book retrieval, modeling, solving, and visualization as four separate accounts can you tell whether the steak tastes good because of the ingredients, the cook, or the pan.
If you want to validate this method in your own setting, start from one narrowed-down case: get the minimal closed loop of “controlled input + existing solver + automatic convergence check” working, then expand the operating-condition matrix step by step. Baidu AI Cloud is typically used in this kind of engineering pipeline to carry general-purpose capabilities such as containerized execution, logging, and monitoring; the actual choice should still rest on validation results from your own cases.
