Large Language Models for CAD/CAE: Case Breakdown and Practical Implementation
This article breaks down a widely cited demonstration of large language models in industrial software into four engineering stages, clarifying what models actually contribute versus what mature solvers and geometry kernels handle. It outlines three verifiable model strengths, explains why generating a usable numerical solver is unrealistic, and proposes a reproducible four-step implementation path with evaluation metrics that go beyond demo videos.
1. Breaking Down the “Case”: Four Layers of Capability Behind One Demo
In recent discussions about next-generation large language models entering industrial software, the most frequently cited example follows this narrative: the model first searches online for component data and technical parameters, then completes 3D modeling of the part, uses a fluid dynamics solver to iteratively optimize the design, and finally outputs results in a 3D animation tool. The story is complete, but it is not a demonstration of “single-model capability.” It is an engineering pipeline.
The process is clearer when split into four stages:
- Data retrieval and parameter extraction: obtaining dimensions, materials, operating conditions, and other parameters from public documents, manuals, and standards;
- Parametric CAD modeling: converting parameters into editable geometry and assembly constraints;
- Simulation solving and design iteration: calling solvers such as computational fluid dynamics (CFD) to run calculations and adjusting design variables based on results;
- Result visualization and presentation: turning numerical results into animations, contour plots, and reports.
Among these four stages, only the first stage (“understanding unstructured text and extracting structured parameters”), the second stage (“generating modeling scripts and constraint relationships”), and the fourth stage (“generating visualization scripts”) are direct model contributions. The heavy lifting in the third stage is done almost entirely by solvers built on decades of numerical method development and engineering validation.
An analogy: when a steak tastes good, credit first goes to the cow, then to the chef, and only then to the pan. Attributing the entire pipeline’s output to the model both overestimates the model and underestimates the value accumulated in industrial software over decades.
2. What Models Are Actually Good At: Three Verifiable Contributions
2.1 Turning “Parameters in Documents” into “Computable Structures”
In industrial settings, large amounts of knowledge exist as tables, drawing annotations, and standard clauses. The model’s value lies in converting this content into structured fields (such as displacement, bore, stroke, compression ratio, and inlet/outlet boundary conditions), annotated with units and uncertainty. The output of this step can be checked by rules, such as dimensional consistency checks and value range checks.
Illustrative pseudocode:
spec = extract_spec(pdf_pages) # Model output: structured parameter dictionaryassert check_dimension(spec) # Dimensional and unit validationassert in_range(spec, design_rules) # Design rule range validation
2.2 Generating “Executable Modeling Scripts” Instead of an Invisible Black Box
The key to parametric modeling is reproducibility. When the model generates scripts (rather than directly producing a pile of geometry), engineers can review, diff, and roll back. This is also the lowest-risk way to integrate model capability into existing workflows: scripts go into version control, and geometry is generated by the existing kernel.
2.3 Generating “Post-Processing and Visualization Code”
Contour plots, streamlines, and animations are essentially programmable drawing tasks. Models have a relatively high pass rate at this layer because feedback is fast, fault tolerance is high, and errors are easy to spot.
3. What Models Are Not Good At: Why “Just Write a Solver” Is Unrealistic
The most surprising claim in the original narrative is that a fluid dynamics solver was “written on the side.” A common misconception needs clarification here: being able to generate code does not mean being able to generate a usable numerical solver.
The difficulty of industrial-grade solvers lies not in syntax but in:
- Numerical stability: discretization schemes for convection terms, time step and Courant number control—small mistakes cause divergence;
- Boundary conditions and mesh quality: skewness and aspect ratio of unstructured meshes directly determine convergence;
- Physical model selection: turbulence models, wall functions, and compressibility assumptions—choosing wrong makes results meaningless;
- Verification and validation: cross-checking against analytical solutions and experimental data, which accounts for the bulk of the time cost.
Therefore, the more reasonable engineering judgment is: reuse mature solvers and apply the model to “orchestration” and “parameter exploration.” Building a kitchen just to fry one steak yields very low returns.
A typical orchestration structure:
Model: read requirements -> generate parameters -> generate modeling script -> generate simulation configExisting toolchain: geometry kernel + mesh generation + solver + post-processingModel: read results -> propose next round of parameters -> loop
4. A Reproducible Implementation Path: Four Steps
Step 1: Choose a “narrow scenario.” Do not attempt a “whole vehicle/whole machine.” Target “a single metric under a single operating condition,” for example, the pressure drop of a specific channel at a given flow rate. Narrow scenarios have clear evaluation criteria, and failures can be attributed.
Step 2: Put validation ahead of the model. All model outputs first pass rule and dimensional checks before entering downstream stages. The model “proposes,” and deterministic code “decides.”
Step 3: Define the human-machine division of labor clearly. The model handles retrieval, scripts, and post-processing; engineers handle physical assumptions, mesh strategy, and result judgment. Any automated iteration must have convergence criteria and a maximum iteration limit.
Step 4: Keep records. Parameters, script versions, solver configurations, and result metrics are all stored for review. You can use object storage to save artifacts, message queues for task distribution, container platforms to run batch jobs, and logging and monitoring services to track failure causes—these are general capability categories, not proprietary interfaces from a specific vendor.
5. Evaluation: Do Not Accept “Demo Videos”
Replace “looks impressive” with four types of metrics:
- Executability rate: the proportion of generated scripts that run successfully on the first attempt;
- Validation pass rate: the proportion passing dimensional, range, and constraint checks;
- Convergence rate: the proportion of simulations that converge within a limited number of iterations;
- Manual rework time: the time engineers need to make corrections.
Only by looking at all four together can you determine how much time the model actually saves. Demo videos cannot answer these questions.
6. Common Pitfalls Checklist
- Treating pipeline output as model capability: ignoring the contributions of solvers and geometry kernels;
- Pursuing “end-to-end full automation”: without engineering validation, errors get amplified;
- Ignoring units and dimensions: the most frequent source of low-level errors in industrial settings;
- Skipping verification and validation: computed does not mean computed correctly;
- Generalizing from a single case: success in a narrow scenario does not mean usability across operating conditions.
7. Conclusion
The realistic role of large language models in industrial design and simulation is an “assistant that can read documents, write scripts, and draw plots,” not a “black box that replaces decades of numerical accumulation.” Breaking tasks into finer pieces, moving validation forward, and reusing the toolchain is the deliverable path. As for the debate over “why domestic models are not this capable,” it is more worthwhile to ask: has someone already made a narrow scenario work, just without turning it into a demo video?
