Can LLMs Really Write CFD Solvers? A Reality Check on CAD/CAE Demo Claims
A recent frontier LLM demo claimed it could design an inline-six engine, build the CAD models, run CFD solver iterations, and generate 3D result animations—all in one pass. This article breaks that pipeline down stage by stage, explains what the LLM actually did versus what mature toolchains did, examines whether writing a CFD solver from scratch is realistic, and proposes a practical layered workflow where AI handles language, code generation, and orchestration while verified kernels and human engineers retain computation and final judgment.
Why One Demo Sent Ripples Through the Engineering Community
At a recent launch event for a frontier large model, nearly half the presentation was devoted to its support for industrial software: computer-aided design (CAD) and computer-aided engineering (CAE). The most striking segment described the model retrieving component specifications and technical parameters from public web sources, then designing a brand-new inline-six engine, completing CAD modeling of the parts, invoking a computational fluid dynamics (CFD) solver to iteratively optimize the design, and finally generating a 3D animation of the results.
To a layperson, this sounds like the core chain of powertrain development completed in a single sentence. But to simulation engineers, each of these four stages is a mature field built from decades of specialized tools and expert experience. Compressing the entire chain into one breezy narrative inevitably creates the illusion that decades of hard-won craft were dismantled overnight.
The most effective way to figure out what the LLM actually did is to break the pipeline apart and perform capability attribution, stage by stage.
Stage-by-Stage Breakdown: Who Is Actually Doing the Work
1. Retrieving Component Specifications and Technical Parameters from the Web
This step is essentially information retrieval + parameter extraction + structured organization. LLMs genuinely excel here: parsing unstructured documents, reading datasheets across languages, and organizing key parameters scattered across tables and text (bore, stroke, material properties, allowable temperatures) into structured lists.
But be clear-eyed: retrieval quality depends on whether the sources are authoritative and whether parameters are mutually consistent. In engineering, if you use a specific heat capacity or turbulence intensity from the wrong source, every downstream simulation result becomes garbage-in, garbage-out. At this stage the LLM is an efficient assistant, but verification responsibility stays with the engineer.
2. CAD Modeling of the Parts
CAD modeling in this context typically means parametric scripting or modeling API calls. LLMs are good at translating natural-language requirements into parametric modeling code—batch-generating geometric features from bore, stroke, and cylinder-spacing parameters, for instance, or producing dimensional variants of existing templates.
The hard parts are not about writing code:
- Whether the geometry topology is manufacturable (draft angles, wall thickness, fillet transitions)
- Whether assembly constraints and tolerances make sense
- Whether the model supports high-quality meshing downstream
An LLM can dramatically accelerate first-draft generation from parameters to geometry, but manufacturability and assembly soundness still depend on domain review. Crediting the LLM entirely for this step is like crediting a drafting application for a building.
3. CFD Iterative Optimization
This is the most commonly misread stage. “Achieving CFD solver-based iterative optimization” usually means:
- Writing scripts to configure solver parameters (mesh strategy, turbulence model, boundary conditions, convergence criteria)
- Driving a mature solver kernel to run the computation
- Reading results, feeding back design parameter adjustments, and looping
The LLM’s value here is automated orchestration and script generation, not replacing the numerical computation kernel. Unless the demo explicitly stated it implemented a solver from scratch, the “chef” at this stage is a CFD kernel refined over decades, and the “pan” is the automation script.
4. Generating Result Animations
Post-processing visualization is likewise a scripted invocation of mature rendering/visualization tools. Having an LLM write scripts that call a rendering pipeline is squarely in its comfort zone, but it does not understand the physical meaning of flow structures. Whether the animation faithfully reflects the simulation data, and whether the camera angle exposes the key vortex structures, still requires human judgment.
The “Grilled Steak” Attribution Logic: The Cow, the Chef, and the Pan
The original discussion offered an apt metaphor: for a delicious grilled steak, you can’t credit the frying pan for everything. Mapped onto AI-assisted engineering:
- The cow (data and domain knowledge): public datasets, industry handbooks, and design standards plus test data accumulated by enterprises over years
- The chef (mature toolchains): CAD/CAE kernels, mesh generators, numerical solvers, post-processing engines—carriers of decades of algorithm research and engineering tuning
- The pan (the LLM): excellent orchestration, translation, and code-generation capabilities that string the other two together into automated workflows
If you give all the credit to the pan, you both overestimate the LLM and obscure the real value point—process automation that frees the “chef” from repetitive labor.
Can an LLM Really Write a CFD Solver from Scratch?
The most stunning claim in the demo: “wrote a CFD solver in passing.” This deserves a cool-headed analysis.
In terms of capability, yes, it can write one. Given a clear, well-scoped specification, an LLM can generate a simplified solver skeleton—for example, a finite-difference implementation of a 1D advection-diffusion problem or Lid-Driven Cavity. At the teaching and prototyping level, this holds up.
In terms of engineering, it is extremely hard. A CFD kernel usable for real engine simulation must at minimum handle:
- Numerical stability and accuracy: high-order schemes, flux limiters, time-step control, pressure-velocity coupling algorithms—each embedding large amounts of hard-won failure experience
- Turbulence and multi-physics models: RANS/LES turbulence closure, conjugate heat transfer, combustion and chemical reactions, cavitation, and other coupled problems
- Meshing and parallelism: unstructured meshes, moving meshes, adaptive refinement, and large-scale parallel scalability
- Verification and validation (V&V): long-term benchmarking against reference cases and experimental data, error quantification, and certification
Multiple public benchmarks and engineering practices show that asking AI to generate complete, correct, reproducible numerical solver code in one shot within a bounded scenario still has a significantly lower success rate than senior engineers—and even when the code runs, the numerical results often deviate from benchmarks. This isn’t about the model being insufficiently smart; the task demands extreme long-range consistency, mathematical detail, and tacit engineering experience, while generative model errors compound as code size grows.
The more decisive issue is engineering economics: mature solvers have been validated for decades. Bypassing them to demonstrate “writing one from scratch” is like building an entire kitchen just to grill one steak. In real production environments, that is neither economical nor auditable.
A Pragmatic Path: Sensible Division of Labor for AI in Simulation Engineering
Rather than debating “can it or can’t it,” design a layered workflow that puts the LLM in the right position:
┌─────────────────────────────────────────────┐│ Requirements/spec layer: natural language ││ → design parameters & simulation specs │ ← LLM strength├─────────────────────────────────────────────┤│ Orchestration layer: script generation, ││ toolchain invocation, parameter sweep │ ← LLM strength│ scheduling │├─────────────────────────────────────────────┤│ Computation kernel layer: validated │ ← Reuse mature│ CAD/CAE/CFD solvers │ solutions├─────────────────────────────────────────────┤│ Review layer: physical plausibility checks, │ ← Engineer-led│ V&V benchmarking, expert review │└─────────────────────────────────────────────┘
Typical practices include:
- Automated parametric modeling: have the LLM generate parametric geometry scripts from design variables, while engineers maintain templates and review rules
- Simulation configuration generation: convert operating-condition descriptions into solver configurations (boundary conditions, material properties, convergence control), with automated dimensional and range checks
- Batch DOE and optimization: the LLM orchestrates parameter sweeps, surrogate models, and optimization loops, using elastic compute scaling on cloud container platforms
- Post-processing and reporting: automatically extract key metrics (pressure loss, heat transfer coefficient, flow uniformity), generate charts and draft reports
- Knowledge capture: feed engineers’ review feedback back as rules and test cases, continuously constraining the quality of generated code
A conceptual orchestration sketch:
# Conceptual illustration: AI generates orchestration logic;# kernel invocations go through stable, human-reviewed interfacesfor design in design_variants:geom = build_geometry(design.params) # parametric CAD scriptmesh = generate_mesh(geom, strategy=design.mesh_strategy)result = run_solver(mesh, boundary_conditions=design.bc)metrics = extract_metrics(result)if not passes_criteria(metrics, design.targets):design = propose_revision(design, metrics) # model suggests revisions
The essence of this division of labor: the LLM does what it does best—language understanding, code generation, and workflow orchestration; deterministic computation goes to validated kernels; and final judgment stays with engineers.
Conclusion: Don’t Let a One-Sentence Demo Set the Tempo
The progress of frontier LLMs in CAD/CAE is real and worth watching: they compress operations once scattered across multiple specialized tools into near-natural-language interaction, dramatically lowering the barrier to automation. But a demo is not proof of capability boundaries. When evaluating, keep asking three questions:
- Attribution: who completed this step—the data, the toolchain, or the model?
- Reproducibility: with a different geometry or a different operating condition, does it still run?
- Validation: have the results been benchmarked against reference cases or experimental data?
Sort out the credit among the cow, the chef, and the pan, and you can both capture the genuine efficiency dividends LLMs bring and avoid mistaking “can demo” for “can produce.” The same test framework applies to similar marketing claims from any vendor—rather than arguing about who is more impressive, let reproducible engineering benchmarks do the talking.
