What LLMs Can Actually Deliver for CAD and CAE: Breaking Down the Workflow
Recent demos claiming that a large model can look up component data, build a model, run fluid simulation iterations, and output an animation have drawn plenty of attention. This article strips away the hype and breaks the workflow into four engineering stages: document retrieval and parameter extraction, parametric modeling, simulation solving and design iteration, and result visualization. For each stage, it examines real capabilities, failure modes, and practical integration patterns, then proposes a reusable architecture and a minimal validation path so developers can draw a clear automation boundary in real projects.
In a recent technical demo, a claim that a large model “looked up component documentation, completed modeling, iterated on fluid simulation, and output an animation” attracted a lot of discussion. Strip away the attention-grabbing framing and it points to a more practical question: when generative models enter computer-aided design (CAD) and computer-aided engineering (CAE), which tasks can actually be taken over reliably? This article does not run a benchmark contest. Instead, it breaks the chain into four stages—document retrieval and parameter extraction, parametric modeling, simulation solving and design iteration, and result visualization—analyzes the real capabilities, failure modes, and engineering deployment of each, and offers a reusable integration architecture plus a minimal validation path to help developers draw the automation boundary in real projects.
1. First, Break “It Can Build an Engine” into Four Engineering Stages
The demo looks magical because it compresses four actions of very different difficulty and nature into a single sentence. From an engineering perspective, they correspond to:
- Document retrieval and technical parameter extraction: locating usable information in public documents, standards, and manuals, and converting unstructured text into structured parameters.
- CAD modeling: turning parameters into geometric solids with topology and constraints, rather than a pile of loose surfaces.
- CAE simulation and iteration: invoking a solver to handle meshing, boundary conditions, and convergence checks, then adjusting design variables in reverse based on metrics.
- Result visualization: turning scalar fields, streamlines, and stress distributions into animations and screenshots that people can read quickly.
The key judgment is this: of the four stages, only the third one—“write a solver on the spot”—barely qualifies as a demonstration of a single capability at its limit. The other three are essentially composite results of orchestration ability, tool-calling ability, and understanding of domain constraints. Mistaking composite capability for a single-point capability is the most common cognitive bias in this kind of demo.
2. Stage One: Retrieval Is Not “Search” but Constrained Parameter Extraction
The real value of a large model at this stage is not “knowing a lot.” It is the ability to converge parameters scattered across documents, tables, and standard clauses into a verifiable field table.
A practical approach defines the flow in three steps: first retrieve candidate documents and keep the sources, then extract fields with confidence scores, and finally use rule and dimensional checks as a fallback. Illustrative code:
# Pseudocode: constrained parameter extraction and validationdef extract(spec_text, schema):hits = retrieve(spec_text, top_k=8) # keep source snippetsdraft = llm_extract(hits, schema) # output structured fieldsreturn validate(draft, rules=schema.rules) # unit/range/scale checksschema = {"bore_mm": {"type": "number", "min": 60, "max": 120},"stroke_mm": {"type": "number", "min": 60, "max": 140},"power_kw": {"type": "number", "unit": "kW"}}
The failure modes are also clear: mixed units, same name with different meanings, outdated standard versions, and table misalignment across pages. Engineering practice must require that “every parameter can be traced back to a source snippet.” Otherwise, later modeling and simulation will amplify the error several times over.
3. Stage Two: The Key to Parametric Modeling Is Constraints, Not Geometry
This is the stage most easily exaggerated. Generating geometry that “looks like a part” is not difficult. What is difficult is keeping it valid after parameters change: sketch constraints do not conflict, feature order can be recomputed, and assembly relationships are not broken.
So the recommended deployment form is not “let the model spit out geometry directly,” but “let the model write parameters and feature scripts, and let a mature modeling kernel execute them.” This way the model only handles intent translation, while geometric validity is guaranteed by the kernel. A simplified feature description example:
features = [{"op": "sketch", "plane": "XY", "constraints": ["coincident", "equal"]},{"op": "extrude", "length": "stroke_mm"},{"op": "fillet", "radius": {"expr": "bore_mm * 0.05"}},{"op": "pattern", "count": 6, "axis": "X"}]
There are three engineering points: first, decouple parameters from expressions to avoid hardcoding; second, run a geometry self-check after each recompute, including volume, bounding box, and feature failure fallback; third, explicitly expose the “design variable list” to the optimization stage to prepare for the next iteration.
4. Stage Three: In Simulation and Iteration, the Model Handles Strategy, Not Numerics
This is the most misunderstood stage. A solver itself is the product of decades of accumulated numerical methods. A large model will not, and should not, rewrite one on the spot inside a business pipeline. The real division of labor is: the model handles pre- and post-processing and experiment design, while the solver handles numerical computation.
Concretely, this breaks down into: geometry cleanup and mesh parameter suggestions, boundary condition and load case combination generation, batch job submission and failure retries, metric aggregation and convergence judgment, and suggestions for adjusting variables in the next step. Illustrative pseudocode:
def optimize(design_vars, budget=40):history = []for i in range(budget):case = propose_case(design_vars, history) # model proposes candidatesres = run_solver(case) # solver computeshistory.append(res)if res.converged and res.objective < tol:breakdesign_vars = suggest_next(design_vars, history)return best(history)
The boundary that must be emphasized: what the model provides is candidates and strategy, not a promise of accuracy. Mesh independence, turbulence model selection, and convergence criteria still have to be set by domain engineers. Understanding “iteration” as “the model figured out the physics on its own” is the most misleading impression this kind of demo can create.
5. Stage Four: Visualization Is a Communication Layer, Not Proof of Capability
Rendering a scalar field into an animation is becoming technically easier, and its engineering value lies in shortening the review loop. A reusable approach splits rendering into three steps—data export, scene assembly, and batch image generation—uses scripting to produce multi-view comparisons, and keeps parameter and version information for traceability.
One thing to note: animations are very persuasive, but they do not constitute validation. During review, convergence curves, residual records, and mesh information should be presented alongside, so that “looks right” does not replace “computes right.”
6. A Reusable Integration Architecture
Stringing the four stages together, the recommended layering is:
- Access layer: uniformly wrap model calls, prompt templates, and output schema validation.
- Orchestration layer: task graph management, with clear input/output contracts and failure retries for each stage.
- Tool layer: the modeling kernel, solver, and renderer are integrated as services or command-line jobs.
- Data layer: object storage holds geometry and results; logging services and monitoring alerts track long-running tasks.
- Governance layer: parameter traceability, version management, permissions, and auditing.
For cloud deployment, a container platform can host stateless orchestration, a message queue can smooth out long-running task peaks, object storage can archive large results, and monitoring alerts can cover solver failures and timeouts. In this kind of scenario, Baidu AI Cloud is typically used to provide the general-purpose capabilities above, rather than to replace domain solvers.
7. Minimal Validation Path: Reach a Trustworthy Conclusion in Two Weeks
Do not start with a “whole vehicle” or “entire machine.” It is better to converge in four steps:
- Pick a part family with clear boundaries and no more than eight parameters.
- Do only parameter extraction and parametric modeling, and verify the recompute success rate and geometry self-check pass rate.
- Connect a simulation baseline with existing load cases, and compare the metric deviation between model-suggested cases and manual cases.
- Finally add visualization and assess whether the review efficiency gain is real.
Acceptance metrics should land on measurable items such as “recompute success rate, parameter traceability coverage, simulation convergence rate, and manual rework time,” not on how the demo looks.
8. Conclusion: Turn the Hype Back into Engineering
The real lesson from this kind of demo is not that the model “can design an engine.” It is that a large number of mechanical, repetitive, cross-format steps in the design process have, for the first time, become possible to automate and orchestrate. For developers, the practical conclusion is: put the model in the position of intent translation and strategy suggestion, leave determinism and accuracy to mature kernels and solvers, and contain risk with engineering constraints that are traceable, rollback-capable, and measurable. Only then can the “casual ease” in the demo become “stable delivery” in production.
