LLMs for CAD/CAE: Why One Model Shouldn't Get Credit for the Whole Pipeline

    Recent demos suggest a large language model can search for part specifications, build 3D geometry, run fluid simulations, and render an animation in a single flow. This article breaks that workflow into four distinct stages—information retrieval, geometry modeling, numerical solving, and result presentation—and explains why LLMs excel at the first, the last, and the glue code in between, while geometry and solving still depend on deterministic algorithms and decades of engineering practice. It covers why "just write a solver" is hard to productionize, proposes a four-layer human-machine division of responsibility, outlines a reproducible engineering loop with a YAML configuration example, and lists four evaluation dimensions and common misconceptions to avoid.

    1. First, Break “One Prompt” into an Engineering Chain

    Many recent technical demos share a similar narrative: a large language model searches the web for component data and technical parameters, completes the 3D modeling of a part, drives a fluid simulation to iteratively optimize the design, and finally renders it into an animation. It sounds seamless, but it actually compresses four fundamentally different stages into a single sentence.

    A more sensible breakdown is:

    1. Information retrieval and parameter extraction: obtaining dimensions, materials, and operating boundary conditions from public sources, manuals, and standards;
    2. Geometry modeling: turning parameters into geometry and meshes that a solver can recognize;
    3. Numerical solving and design iteration: calling fluid or structural solvers to produce comparable quantitative conclusions;
    4. Result presentation: post-processing, rendering, animation, and reporting.

    On this chain, what LLMs are genuinely good at is the first and fourth stages, plus the “glue code” that runs throughout. Geometry and solving are essentially deterministic algorithms and the accumulation of decades of engineering experience. Attributing the entire quality of a steak to the frying pan leads to the wrong conclusion that “swap the pan and you’ll cook a great meal.” The right question is: what did the beef (data and mechanisms), the chef (engineering judgment), and the pan (the toolchain) each contribute?

    2. Why “Just Write a Solver on the Side” Sounds Great but Is Hard to Ship

    The most eye-catching line in a demo is often “and I casually implemented a fluid solver.” From an engineering perspective, this statement needs to be understood very carefully.

    The value of a mature solver lies not in “being able to compute,” but in computing correctly, stably, and fast:

    • Stability of numerical schemes: discretization of the convection term, pressure-velocity coupling, and time advancement—any poor choice can cause divergence;
    • Sensitivity to mesh quality: boundary-layer resolution, orthogonality, and aspect ratio directly determine result credibility;
    • Convergence criteria and residual control: a dropping residual does not mean the physical quantities have converged; key integral quantities must be monitored;
    • Verification and validation (V&V): benchmarking against analytical solutions, experimental data, and existing cases is the only source of credibility.

    A script written for a single operating condition and a single geometry often fails once the boundary conditions change. In the industry, the one-shot pass rate for solver-generation tasks limited to “narrow scenarios and a single function” remains low. The reason is not that the model cannot write code, but that such tasks require cross-file physical consistency, not local syntactic correctness.

    Schematically, the gap between a minimal “looks like it runs” implementation and an industrial-grade one is roughly as follows:

    1. # Teaching-style minimal implementation: clear structure, but not engineering-credible
    2. for n in range(max_steps):
    3. u_star = advect_diffuse(u, dt, dx, nu) # explicit convection-diffusion
    4. p = solve_pressure_poisson(u_star, dx) # pressure Poisson equation
    5. u = project(u_star, p, dx) # projection enforces divergence-free
    6. if residual(u) < tol: # single residual criterion
    7. break

    An industrial-grade implementation must additionally answer: is the flux scheme TVD / does it introduce numerical dissipation, how to choose multigrid or preconditioning, how to balance load across parallel partitions, how to apply dual criteria for residuals and key physical quantities, and how to prove mesh independence. None of these can be filled in by “writing a few hundred more lines”; they require long-term calibration and regression test sets.

    3. Turning Demos into Productivity: A Four-Layer Division of Labor

    To bring these capabilities into a real R&D workflow, it helps to reassign responsibility along human-machine lines:

    Stage Suitable for the model Must be handled by tools/people
    Data and parameters Retrieval, summarization, unit normalization, conflict flagging Standards compliance confirmation, final selection
    Modeling Parametric scripts, template reuse, batch variants Geometric and topological soundness, manufacturability
    Simulation Operating-condition matrix generation, workflow orchestration, result comparison Numerical solving, mesh independence, V&V
    Presentation Report drafts, chart annotations, animation scripts Sign-off on conclusions and external release

    The key principle: treat all model output as a “draft pending validation.” Any number entering a design review must be traceable to solver logs and versioned inputs.

    4. A Reproducible Engineering Loop (A Process You Can Copy Directly)

    1. Freeze the inputs: write geometry, materials, boundaries, and operating conditions into a structured configuration (such as YAML/JSON) and put it under version control;
    2. Orchestrate the workflow: use parametric scripts to generate the operating-condition matrix and batch-submit jobs to a compute queue on a container platform;
    3. Solve and monitor: uniformly call commonly used industry solver solutions, with logs, residuals, and resource usage routed to logging services and monitoring alerts;
    4. Archive results: store raw data in object storage and record metadata (version, mesh size, convergence status) in a database;
    5. Automated validation: run built-in analytical cases and historical benchmark cases as regressions, and block release if they fail;
    6. Human review and sign-off: engineers judge only “the cause of deviations” and “whether it is manufacturable,” no longer manually moving data around.

    Configuration example:

    1. case:
    2. geometry: parameterized_model.v1
    3. mesh: {type: polyhedral, layers: 8, yplus_target: 1.2}
    4. solver: {scheme: steady, coupling: coupled, preconditioner: amg}
    5. runs: [{inlet: 1.0}, {inlet: 1.2}, {inlet: 1.4}]
    6. acceptance:
    7. residuals: 1e-5
    8. monitor: {quantity: mass_flow, drift: 0.5%}
    9. regression: [analytic_channel, baseline_case_A]

    5. Evaluating These Capabilities: Don’t Just Ask “Did It Run?”

    Teams are advised to score on four dimensions rather than judging by demo videos:

    • Reproducibility: whether two runs with the same configuration differ within tolerance;
    • Transferability: whether it still converges after changing geometry or operating conditions;
    • Explainability: whether deviations can be traced to the mesh, the scheme, or the boundaries;
    • Governability: whether inputs, code, and results are traceable end to end.

    6. Common Misconceptions and Corrections

    • Misconception 1: Generating code equals replacing the solver. Correction: a solver is a combined asset of “algorithm + calibration + regression set.”
    • Misconception 2: A good-looking animation means a better design. Correction: animation only affects presentation, not quantitative conclusions.
    • Misconception 3: One success means the capability is mature. Correction: what matters is the failure rate and how efficiently failures can be diagnosed.
    • Misconception 4: Treating retrieval results directly as a design basis. Correction: parameters must be cross-confirmed against standards and measured data.

    7. Conclusion

    The real value of LLMs in CAD/CAE scenarios is compressing repetitive work—finding data, writing scripts, running batches, and producing reports—so engineers can spend their time on mechanism judgment and design trade-offs. Only by being clear about what the beef, the chef, and the pan each contribute can you avoid both underestimating and mythologizing the model. If your team is doing similar work, feel free to share your operating-condition configuration and acceptance criteria in the comments, and let’s make this chain more robust together.