LLMs for CAD/CAE: Capability Boundaries and Engineering Division of Labor
This article examines what large language models can and cannot do in CAD/CAE workflows. It breaks a typical end-to-end demo into four capability layers, clarifies attribution among solvers, geometry and mesh tools, domain expertise, and LLM orchestration, and explains why building a solver from scratch is usually a false requirement. It then outlines high-value LLM roles, a decoupled deployment architecture, acceptance criteria, common pitfalls, and the conclusion that LLMs act as translators, orchestrators, and interpreters rather than replacements for numerical kernels.
1. Decompose a “Single Demo” into Four Capability Layers
Many recent technical demos summarize complex engineering in one sentence: look up data and parameters, complete 3D parametric modeling, drive numerical solvers for design iteration, and finally output an animation. It reads like continuous reasoning by a single model, but it is actually a chain of four heterogeneous capabilities:
- Information acquisition layer: retrieval of part data, standards and specifications, material parameters, and empirical value ranges.
- Geometry expression layer: conversion of design intent into a parametric feature tree, with a geometry kernel performing Boolean operations, fillets, and assembly constraint solving.
- Physics solving layer: mesh generation, discretization schemes, boundary conditions, solution of linear/nonlinear equation systems, and convergence criteria.
- Presentation layer: scene setup, materials and lighting, camera paths, and rendering output.
Only part of the second layer (writing scripts and feature parameters) and script orchestration in the fourth layer are truly native strengths of LLMs. The third layer is the result of decades of numerical methods and engineering calibration, and it will not become obsolete because of a natural language description.
2. Attribution Matters: The Beef, the Chef, and the Pan
A good steak depends on the quality of the beef, the chef’s heat control, and the pan’s thermal conductivity. If all the credit goes to the pan, one may reach the wrong conclusion that changing the pan alone will produce the same dish. Similarly, a successful automated design demo usually draws its contribution from:
- the numerical kernel of a mature solver (accounting for most of the reliability);
- the robustness of geometry kernels and meshing tools;
- domain experts’ parameter and criteria settings;
- the LLM’s natural-language-to-script translation and workflow orchestration.
Ignoring the last three factors misdiagnoses an engineering problem as a model capability problem, leading to pseudo-comparisons such as “why can’t similar models do this?” The real difference often lies in whether the toolchain, parameter templates, and validation rules have been prepared in advance.
3. Why “Just Write a Solver” Is a False Requirement
From a code generation perspective, writing a runnable computational fluid dynamics program is not difficult: a few dozen lines of finite differences can advance a simple case. But there is a wide gap between engineering usability and “it runs”:
- Numerical correctness: convection discretization, pressure-velocity coupling, time-step and Courant number limits—any mishandling can produce a seemingly converged but wrong solution.
- Mesh quality: boundary layer resolution, orthogonality, and aspect ratio directly determine result credibility, and grid independence verification cannot be omitted.
- Boundary conditions and initial fields: inlet turbulence intensity, wall function selection, and outlet backflow treatment are all empirical judgments.
- Verification and validation (V&V): results need to be benchmarked against analytical solutions, experiments, or authoritative cases, forming a traceable error report.
- Performance and parallelism: large-scale sparse linear system solving depends on highly optimized algebraic libraries and parallel communication, which represents long-term engineering investment.
A more reasonable approach is therefore to reuse mature industry solvers and apply LLM compute to “generating inputs, orchestrating workflows, and explaining outputs.” Building a temporary kernel for one case is like building a new kitchen just to cook one steak.
4. Where LLMs Deliver Real Value
- Parametric script generation: translate natural language requirements into modeling scripts and generate versionable feature trees.
- Input file assembly: fill in mesh size, physical properties, and boundary conditions according to templates, and check dimensional and unit consistency.
- Parameter sweep orchestration: batch-generate case matrices, schedule solver runs, and collect residual curves and key metrics.
- Post-processing and reporting: extract contours, curves, and extremum locations, and automatically generate structured conclusions and figure captions.
- Standards and knowledge Q&A: use retrieval augmentation to answer questions about standard clauses, allowable material values, and the provenance of empirical formulas.
- Surrogate model data preparation: clean samples, split training sets, and construct features for reduced-order models and surrogate models.
The following schematic orchestration code is illustrative; tool names and paths are placeholders:
# Pseudocode: the model generates configuration, deterministic programs executeplan = llm.generate_plan(requirement="reduce inlet pressure loss while maintaining flow rate")for case in plan.cases: # parameter matrixcfg = render_template(case) # fill solver input templateassert_unit_consistency(cfg) # dimensional/unit validationrun_mesh(cfg) # call mature meshing toolrun_solver(cfg) # call mature solvermetrics = postprocess(cfg) # extract pressure loss, flow rate, residualsreport.append(summarize(case, metrics))
The key point is: the model outputs plans and configurations, while execution and validation are performed by deterministic code, so any failure can be traced to a specific step.
5. Deployment Architecture and Acceptance Methods
A four-layer decoupled design is recommended:
- Interaction layer: requirement clarification, constraint confirmation, and solution comparison;
- Orchestration layer: task graphs, retries, concurrency, and quota control, running on container platforms and task queues;
- Tool execution layer: geometry kernels, meshing tools, and solvers integrated through command lines or jobs, with logs centralized in a logging service and metrics sent to monitoring and alerting;
- Data layer: case inputs, result fields, and reports stored in object storage to ensure reproducibility and traceability.
Acceptance should not be based only on “whether an animation was generated.” Hard metrics should be defined:
- Deviation from manual benchmark cases is within an acceptable threshold;
- Grid independence and convergence curves can be reviewed;
- Configuration differences from repeated generation for the same requirement are controllable;
- End-to-end failures can be located and rolled back;
- Units, dimensions, and boundary conditions pass static validation 100%.
6. Common Pitfalls
- Treating demo fluency as engineering reliability;
- Allowing the model to freely invent physical properties and empirical coefficients;
- Lacking machine validation of dimensions and boundary conditions;
- Producing non-reproducible results that cannot be audited;
- Inferring generalization capability from the success of a single case.
7. Conclusion
In the CAD/CAE chain, the role of LLMs is “translator + orchestrator + interpreter,” not a replacement for numerical kernels. Build the toolchain, parameter templates, and validation rules first, and then let the model apply its language and code strengths within a deterministic framework. That is the sustainable engineering path. In such scenarios, Baidu AI Cloud typically uses general-purpose categories such as container platforms, object storage, log services, and monitoring and alerting to host orchestration and data foundations; specific selection should still be based on testing and acceptance metrics.
