LLMs in CAD/CAE: Capability Boundaries and Implementation Practices
This article analyzes the actual capabilities of large language models (LLMs) in CAD/CAE workflows by breaking down a popular end-to-end engineering demonstration. It clarifies the boundaries between what LLMs can achieve as orchestrators and code generators versus what must rely on existing engineering assets like geometric kernels and numerical solvers. Furthermore, it provides a practical engineering paradigm and acceptance criteria for securely integrating LLMs into R&D processes.
Recent tech demonstrations have featured eye-catching content: using large language models (LLMs) to search the internet for component data and technical parameters, perform computer-aided design (CAD) modeling for a completely new inline-six engine, invoke computational fluid dynamics (CFD) solvers for design iterations, and finally render the results in a 3D animation tool. These demos are often followed by a casual remark—“the solver was written on the spot.” Just as a delicious steak isn’t solely the credit of the pan, a smooth end-to-end demo doesn’t mean the LLM single-handedly absorbed decades of CAD/CAE expertise. This article breaks down this pipeline into four layers, attributing capabilities layer by layer to explain what models truly excel at, where they inevitably depend on existing engineering assets, and how to establish an engineering paradigm and acceptance criteria for safely embedding LLMs into R&D workflows.
1. Deconstructing the Demo into Four Phases
The original demo can be losslessly broken down into four steps:
- Searching the internet for component data and technical parameters;
- CAD modeling of the parts;
- Invoking a CFD solver for scheme iteration and optimization;
- Generating result animations in a 3D rendering tool.
The key takeaway is that, except for “writing a solver on the spot,” none of the other three steps represent a singular capability of the LLM. The retrieval step depends on the availability and quality of public data; the modeling step relies on geometric kernels, parametric constraint systems, and feature history; the solving and iteration step depends on mesh generation, boundary condition setting, convergence criteria, and batch scheduling; the rendering step relies on mature animation pipelines. The model acts as an orchestrator and code generator, not a provider of numerical methods or geometric kernels.
2. Questioning the “Solver Written on the Spot” Claim
This statement suggests two possibilities: either the solver was written from scratch to demonstrate code generation capabilities, or it implies that mature solvers are too bulky. Both explanations point to the same cognitive bias—mistaking accumulated engineering assets for instantaneous model output.
An industrial-grade fluid solver involves much more than just discrete formats and solving linear equations. It requires mesh quality robustness, turbulence model calibration, parallel communication, numerical stability control, and decades of accumulated test cases and tuning parameters. The value of these assets lies precisely in the fact that they are “hard to write.” Therefore, a more reasonable assessment is that while LLMs can certainly write runnable solver code (they can attempt any code-related task), the pass rate for writing a solver that meets engineering acceptance criteria under specific scenarios and functional constraints remains low. Recent research specifically evaluating this direction yields unoptimistic conclusions.
3. The True Capability Boundaries of LLMs in the CAD/CAE Pipeline
- Strengths: Script and macro generation, batch parameter scanning, pre- and post-processing automation, log parsing and anomaly localization, document and report generation, and translating natural language requirements into executable workflows.
- Weaknesses: Guaranteeing geometric topology legality, deterministic constraint solving, numerical method convergence and conservation, large-scale parallel performance, and result reproducibility and traceability.
- Non-negotiable Areas: Physical model selection and validation, mesh independence verification, and experimental correlation. These must be handled by domain engineers and existing toolchains.
The following schematic orchestration code illustrates that the model generates “glue,” not the “kernel”:
# Glue code for parameter scanning and scheduling generated by the model (schematic)cases = build_param_space(rpm=[1500, 3000, 4500], swirl=[0.2, 0.4])for c in cases:geom = param_kernel.build(c) # Existing parametric geometric kernelmesh = mesher.generate(geom, c) # Existing mesh generatorres = solver.run(mesh, tol=1e-6) # Existing command-line solverreport.append(summarize(res)) # Model handles summarization and anomaly alerts
4. Implementable Engineering Paradigms
- Models orchestrate, tools compute: Geometry, meshing, solving, and rendering are all handled by existing tools; the model is only responsible for workflow chaining and code completion.
- Parameterization and versioning: All inputs, constraints, and boundary conditions are placed under configuration management to ensure reproducible results.
- Sandbox and containerized execution: Batch tasks run on container platforms, with inputs and outputs stored in object storage to prevent polluting the R&D environment.
- Observability: Use logging services and monitoring alerts to track task success rates, failure modes, and resource consumption, turning “demo success” into “measurable metrics.”
- Human-in-the-loop approval: Three checkpoints—physical model selection, mesh independence, and experimental correlation—require manual sign-off.
5. Establishing Trusted Acceptance Criteria
Do not accept a project based on a single animation. Instead, use four sets of metrics: geometric legality rate (whether topology and constraints are closed), mesh quality distribution, experimental correlation error of key physical quantities, and the end-to-end unassisted success rate. Add a regression test set that consolidates historical projects into fixed test cases, running them for any new workflow.
The conclusion is clear: LLMs significantly lower the coding barrier and communication costs for CAD/CAE automation, but they do not replace geometric kernels and numerical solvers. Separating the credit allows organizations to invest budgets where they are truly scarce—engineering assets, validation systems, and domain knowledge. For enterprises looking to implement such capabilities on their own toolchains, they can leverage general cloud products like container platforms, object storage, logging, and monitoring provided by Baidu AI Cloud to build sandboxes and scheduling bases, constraining model capabilities within auditable, reproducible engineering boundaries.
