Manuscript Offprint
arXiv:2610.41267From 1D Benchmarks to Complex 3D Geometries: Can Agents Reliably Specify Problems for Automated PDE Simulation?
ABSTRACT
Turning an engineering request into a simulation requires consistent geometry, physics, boundary conditions, and numerical settings. Recent agent-assisted systems automate simulation setup, but successful execution alone does not establish whether the specification preserves the intended problem or correctly handles missing information. We study whether agents can reliably construct complete executable JSON specifications for automated geometry creation, meshing, PDE solving, and result export. Our workflow combines model extraction with deterministic scientific and capability checks, explicit clarification, and validated local patches that preserve unrelated accepted fields. We evaluate specification correctness, execution completion, and numerical verification separately. On 120 template-related requests, the full workflow achieves 98.3% correct first-turn specification and decision outcomes, compared with 92.5% for schema-assisted single shot and 82.5% for model-only: gains of 5.8 and 15.8 percentage points, respectively. It makes no false-ready decisions among the 42 requests requiring clarification or rejection. Component ablations identify contributions from scientific checks and conditional repair. Separate downstream studies cover 1D, 2D, and 3D steady and unsteady, linear and nonlinear problems, including flow and elasticity with complex three-dimensional wing geometries. A 30-case gallery demonstrates automated execution from retained JSON specifications, while 9 of 12 selected live user-to-results tests achieve joint specification, execution, export, and numerical-reference success (75.0%). These results support traceable, engineer-reviewed simulation assistance within the tested scope, while fresh-response regressions identify consistency as a priority for further improvement.
1 INTRODUCTION
An engineer designing a battery cooling system, a water pump, or a drone wing faces a common task: turn a physical question into a simulation that can support a design decision. This requires consistent geometry, governing equations, material properties, boundary conditions, mesh, and solver settings. Boundary conditions must refer to the correct surfaces, and numerical settings must match the equation and time regime. Three-dimensional geometries, nonlinear equations, and time-dependent conditions make this coordination more demanding.
Language-model agents can assist by interpreting requests, collecting missing information, preparing configurations, and coordinating simulation tools. ReAct demonstrates how reasoning can be combined with actions and external feedback (Yao et al., 2023). The aim is to accelerate routine setup and iteration so that engineers can focus on unresolved physical questions, analysis, and design decisions. Engineers retain responsibility for choosing appropriate models and assessing the results. Useful assistance therefore requires preserving the intended physics and keeping unresolved information visible.
Recent systems demonstrate progress in simulation automation. MetaOpenFOAM uses collaborating agents and retrieved examples to configure and execute OpenFOAM cases (Chen et al., 2024),
*Correspondence to: Sakhinana Sagar Srinivas (sagar.sakhinana@tcs.com).
while Foam-Agent 2.0 covers meshing, execution, and visualization (Yue et al., 2025). ChatCFD combines domain knowledge with error diagnosis and evaluates physical fidelity beyond successful execution (Fan et al., 2026). For finite-element simulation, MechAgents explores collaborating agents for elasticity problems (Ni & Buehler, 2024), and ALL-FEM combines specialized agents with fine-tuned models for FEniCS code generation (Deotale et al., 2026). JSONSchemaBench examines structured-output generation through schema coverage, efficiency, and output quality (Geng et al., 2025). Together, these studies motivate examining whether an accepted specification represents the request, contains sufficient information, and remains consistent after corrections.
PDEFlow directly motivates this study (Jani et al., 2026). It connects conversational specification with finite-element data generation, neural-operator training, and checkpoint-based inference. Its stateful workflow supports local updates, with a formulation covering linear one- and two-dimensional problems. An incorrect specification can affect subsequent simulations, training data, and predictions. Here, we examine specification reliability while extending the supported simulation scope to nonlinear equations and complex three-dimensional geometries.
We therefore ask:
Can agents reliably construct complete JSON specifications that preserve the intended physics, identify missing or unsupported information, and trigger automated geometry creation, meshing, solving, and result export?
Our study builds on these advances by examining the reliability of the scientific specification and the decision to permit execution. We address three connected research gaps.
First, successful execution alone cannot establish whether a system correctly handles incomplete, conflicting, or unsupported requests. We test whether it should produce a complete specification, ask for clarification, or reject the request. Scientific fields are checked against fixed references, and incorrect decisions to proceed are measured separately. Clarification completion is evaluated separately from the initial decision to ask a question.
Second, repairing a configuration must preserve the intended problem beyond the corrected field. We use a retained JSON specification as the interface between the agent and reviewed numerical routines. The model proposes content; deterministic code checks its structure, request evidence, and supported capabilities. Clarifications and repairs use local patches restricted to authorized paths, with revision checks and validation before acceptance. This makes changes traceable and protects unrelated accepted fields. Component ablations examine how these checks and repair mechanisms affect correctness.
Third, specification correctness, execution completion, and numerical accuracy require different evidence. We evaluate user-to-JSON outcomes, numerical verification, and execution from retained specifications separately. Reference comparisons and convergence studies assess numerical accuracy; the gallery assesses downstream execution; selected live tests assess the complete user-to-results path. These studies retain distinct denominators and cover supported 1D/2D/3D, steady/unsteady, and linear/nonlinear benchmarks, including flow and elasticity with three-dimensional wing geometries.
This design provides a practical basis for production integration. An explicit JSON interface connects agents to engineering software while keeping assumptions and accepted changes available for review. Reviewed solver templates, controlled updates, and retained records support repeatable operation. Commercial deployment would additionally require application-specific validation, access and computing-budget controls, and engineer approval for consequential decisions. Our study evaluates the underlying reliability mechanisms and identifies where further development is needed.

Figure 1: Overall workflow, from left to right. (a) User/frontend: receives PDE requests and clarification replies. (b) Agentic and validation system: constructs and checks the specification while retaining session history. (c) Validated JSON: records the problem and numerical settings. (d) Execution backend: Gmsh creates geometry and meshes, FEniCSx and PETSc solve the PDEs, and ParaView supports visualization. (e) Outputs: returns fields, plots, diagnostics, and downloadable artifacts. The feedback loop supports validated user revisions.
2.1 THE EXECUTABLE JSON SPECIFICATION
The JSON specification describes the physical problem and the numerical settings required to run it (Table 1). Fields follow explicit types: a scalar value is represented as a constant or an expression, and a vector contains scalar components. Boundary conditions identify both their target boundaries and the required values. This structure preserves spatially varying expressions rather than reducing them to constants.
Table 1: Main fields of the executable JSON specification. The original request, schema version, and descriptive labels are also retained.
| JSON fields | Contents |
|---|---|
| geometry, mesh equation boundary_conditions, initial_condition | Domain parameters, mesh backend, and resolution. Equation family, coefficients, sources, and nonlinear law. Boundary selectors, condition types and values, and initial fields. |
| finite_element, time | Element family and degree; steady/transient regime, time step, final time, and integration scheme. |
| solver, output | Linear/nonlinear solver settings, tolerances, and requested exports. |
The initial draft also records ambiguities and the source of extracted values. Provenance records link values to quoted request text and its character positions, or identify a permitted default policy. Required information that is missing remains unresolved. Defaults are distinguishable from user-supplied facts, and a partial draft becomes executable only after it satisfies the complete problem contract.
2.2 CONSTRUCTING THE SPECIFICATION
The initial model call receives the user request, extraction instructions, and a strict JSON schema. A vocabulary-based router narrows the geometry and equation choices when it recognizes the request; otherwise, the full set of relevant choices remains available. Reviewed case aliases, when present, help identify supported problem families without supplying unrequested physical values or benchmark answers. The same model is used for extraction and any subsequent model repair.
The response is parsed into a retained draft. Deterministic normalization handles supported equivalent representations, such as alternative enum spellings and evidence-path notation. Evidence positions are checked against the unchanged request, and raw responses and normalization records are retained for inspection. Schema-constrained generation controls the response structure; the checks in Figure 2 assess its scientific consistency and suitability for execution.

Figure 2: Specification construction and validation. The model proposes a draft or local repair, while deterministic checks assess structure, request evidence, and solver compatibility. Missing information returns to the user for clarification. Session storage retains the specification, revisions, and audit records. Execution requires a complete specification with no blocking findings.
2.3 VALIDATION, CLARIFICATION, AND PATCH REPAIR
Validation checks field types, relationships between sections, agreement with request evidence, and compatibility with supported numerical capabilities. These checks cover dimensions, mesh and boundary conventions, scalar/vector fields, time settings, and solver requirements. The decision is ready, needs_clarification, or rejected. Readiness requires a complete specification with no blocking findings. Missing information produces a clarification question, ordered by field dependencies and a fixed priority. Unsupported requests and explicit contradictions are rejected. These checks have finite coverage and do not prove scientific correctness.
Clarifications, amendments, and repairs update the retained specification through versioned add, replace, or remove operations tied to a source turn and base revision. Application code determines the permitted paths; changing an accepted value requires user authorization. A model repair receives the findings, permitted paths, and nearby context, with at most one attempt per accepted user turn. Fully determined boundary corrections can instead be constructed directly from independently matched request data. Each proposal is applied to a private copy and checked for revision, scope, and validity before acceptance. Invalid or stale proposals leave the accepted specification unchanged. The original request, prior evidence, and patch audits are retained. Execution permission is recomputed after updates and session reloads. Appendix A gives the detailed contract.
2.4 GEOMETRY, MESH GENERATION, AND PDE SOLVING
The executor maps the validated specification to a registered solver template. Reviewed code defines the geometry builders and finite-element weak forms; the model does not generate executable solver code. Structured builders or Gmsh create the mesh, and boundary selectors identify the corresponding mesh facets. Complex geometries distinguish structural solids from external-flow domains and retain their physical boundary groups. Mathematical expressions are evaluated through a restricted parser. FEniCSx/UFL constructs and assembles the finite-element forms, while PETSc solves the linear or nonlinear systems.
Scalar templates cover supported 1D/2D/3D problems; linear elasticity and steady incompressible flow cover supported 2D/3D problems. Transient heat and nonlinear reaction-diffusion use backward Euler or Crank-Nicolson time integration. Geometry and equation combinations are checked explicitly rather than assumed to be interchangeable. Each result bundle retains the accepted specification, mesh and field exports, solver diagnostics, and execution status. Reference comparisons and convergence studies assess numerical accuracy separately (Appendix B). Specification acceptance, execution completion, and numerical verification therefore remain distinct outcomes.
3 EXPERIMENTS AND RESULTS
3.1 EXPERIMENTAL SETUP
We evaluate three stages separately: constructing JSON from user requests, verifying numerical solutions, and executing retained JSON specifications. Tables 2–4 summarize the studies. Paper IDs identify experiments and gallery groups; their original records are mapped in Appendix E.
Agentic studies: user requests to JSON. We use gpt-5.4-mini-2026-03-17 with reasoning effort set to none, a 6,400-token output limit, and workflow v1.8 with at most one model patch repair. The main benchmark contains 120 requests: 48 extraction, 30 complete-specification, 30 clarification, and 12 rejection/conflict tasks. Half use natural wording and half use schema-explicit wording. The requests are code-authored and share related templates. Scalar problems cover supported 1D/2D/3D, steady/unsteady, and linear/nonlinear settings.
Table 2: Agentic studies: user requests to JSON. Studies reuse requests, so their counts are not added together.
| ID | Experiment | Evaluation | Requests |
| A1 | Specification comparison | Compare model-only, schema-assisted single shot, and the full workflow | 120 |
| A2 | Component ablation | Remove one component at a time; input-changing controls use a fixed 40-request subset | 120 |
| A3 | Clarification completion | Apply fixed authorized replies and check whether a correct complete specification is reached | 30 |
Numerical verification. We compare solutions with analytical or manufactured references using integrated finite-element errors and predefined acceptance rules. Scalar and elasticity studies use P1 elements; incompressible flow uses P2/P1 elements. Structured builders or Gmsh generate the meshes, and FEniCSx/PETSc performs the solves. The latest verification campaign uses the DOLFINx 0.11.0 series, Gmsh 4.12.1, and PETSc 3.19.6. Exact build versions and hardware are recorded in Appendix E. BE and CN denote backward Euler and Crank-Nicolson.
V6 exceeds the spatial-isolation limit: 10.84% compared with the allowed 10%. The optional finest 3D cantilever study was not attempted. Complete inputs, refinement sequences, solver settings, and numerical results are provided in Appendix B.
Solution gallery: JSON to results. We execute 30 retained JSON specifications through geometry creation, meshing, solving, and export: three cases in 1D, sixteen in 2D, and eleven in 3D. The gallery includes steady and unsteady, linear and nonlinear problems, with flow and elasticity cases involving wing geometries. Table 4 groups the cases by physics and dimension. Completion establishes execution; numerical qualifications are reported separately in Appendix F.
Gallery inputs are retained JSON specifications, so these cases do not measure user-to-JSON accuracy. Separate live user-to-results tests evaluate the complete path (Appendix C).
Table 3: Numerical verification studies. Counts include 56 completed study solves, including studies with failed checks. Development smoke runs are excluded.
| ID | Experiment | Verification setup | Solves |
|---|---|---|---|
| V1 | 2D elasticity | Four mesh levels; displacement and energy checks | 4 |
| V3 | 2D steady flow | Three mesh levels and one pressure patch test | 4 |
| V4 | 2D unsteady heat | Five step sizes for each BE/CN scheme; one equilibrium control | 11 |
| V6 | 2D annular heat | BE/CN refinement and spatial-isolation check | 8 |
| V7 | 2D rectangular heat | BE/CN refinement and spatial-isolation check | 8 |
| V2 | 3D elasticity | Four mesh levels; displacement and energy checks | 4 |
| V5 | 3D nonlinear reaction-diffusion | Five step sizes for each BE/CN scheme; one equilibrium control | 11 |
| V8 | 3D parallel agreement | Same cantilever problem with 4, 8, 16, and 32 MPI processes | 4 |
| V9 | Solver tolerance checks | Tighter tolerances for 2D flow and 3D reaction-diffusion | 2 |
| Total | 56 | ||
Table 4: Solution gallery: JSON to results. Each case belongs to one group.
| ID | Experiment group | Scope | Cases |
|---|---|---|---|
| G1 | Rod and polyline diffusion | 1D; steady/unsteady; linear | 3 |
| G2 | Linear scalar equations | 2D; steady; linear | 6 |
| G3 | Nonlinear diffusion | 2D; steady; nonlinear | 2 |
| G4 | Heat and reaction-diffusion | 2D; unsteady; linear/nonlinear | 4 |
| G7 | Airfoil and cylinder flow | 2D; steady; nonlinear | 2 |
| G9 | Cantilever and perforated plate | 2D; steady; linear elasticity | 2 |
| G5 | Diffusion and conduction | 3D; steady; linear/nonlinear | 5 |
| G6 | Heat and reaction-diffusion | 3D; unsteady; linear/nonlinear | 2 |
| G8 | Wing and sphere flow | 3D; steady; nonlinear | 2 |
| G10 | Wing and solid cantilevers | 3D; steady; linear elasticity | 2 |
| Total | 30 | ||
3.2 TASKS, BASELINES, AND EVALUATION MEASURES
Agentic studies (A1–A3). A1 measures whether the first response contains the expected scientific fields and correctly decides to proceed, request clarification, or reject. All systems use the same fixed references and scorer. The 120 requests include 78 complete requests and 42 requiring clarification or rejection. We report first-turn correctness over all 120 requests, complete-specification correctness over the 78 complete requests, and false-ready decisions over the 42 non-ready requests. A false-ready decision occurs when the system permits execution although clarification or rejection is required. Valid JSON alone does not establish scientific correctness.
We compare three systems. Model-only produces JSON in one response. Schema-assisted single shot adds schema handling and basic deterministic checks. The full workflow adds request grounding, scientific and capability checks, a readiness decision, and conditional patch repair. Single shot and the full workflow share the initial model response. Model-only uses a different prompt and an independent response, so its comparison also reflects those differences.
A2 compares each component removal with its own full-workflow reference. Deterministic removals reuse saved responses for 120 requests. Input-changing controls use new model responses on a fixed 40-request subset. We distinguish the number evaluated from the number that actually used the removed component. A3 applies fixed authorized replies to 30 clarification requests and checks whether a correct complete specification is reached. This measures completed interaction separately from first-turn clarification decisions. API costs and model-call times are recorded separately from solver time; shared calls are counted once.
Numerical verification (V1–V9). V1–V3 test spatial convergence against reference fields, with pressure and energy checks where applicable. V4–V7 test temporal convergence under BE and CN; V4–V5 include equilibrium controls, and V6–V7 check whether spatial error is sufficiently small to assess temporal accuracy. We report integrated errors, seminorm errors where applicable, and observed convergence orders. The spatial-contamination limit is 10%. V8 compares parallel solutions with a retained serial solution, using a relative coefficient and quantity-of-interest limit of . V9 compares baseline and tighter-tolerance solutions using a relative field and quantity-of-interest limit of . Passing verification requires every declared check; completed solves and unattempted studies are not automatically counted as passes (Appendix B).
Solution gallery and live workflow tests. For G1–G10, execution succeeds when geometry creation, meshing, solving, and the required exports complete. Numerical accuracy is assessed separately using available references and refinement checks; verified, failed, and preliminary qualifications are retained. For the 12 selected live user-to-results attempts, joint success requires the intended specification, a completed solve, the required artifacts, and a passed numerical reference check. Blocked attempts, wrong-intent executions, and reference failures remain in the denominator. Detailed outcomes appear in Appendices F and C.
3.3 SPECIFICATION CONSTRUCTION RESULTS
Table 5 reports the v1.8 comparison on all 120 requests in A1. The full workflow achieves 118/120 correct first-turn outcomes (98.3%), compared with 111/120 (92.5%) for schema-assisted single shot and 99/120 (82.5%) for model-only. It produces correct complete specifications for 76/78 complete requests (97.4%) and makes no false-ready decisions on the 42 requests requiring clarification or rejection. In A3, fixed authorized replies lead to correct complete specifications for 28/30 clarification requests (93.3%). These results describe v1.8 on the main template-related benchmark. Numerical accuracy is assessed separately. Appendix D provides detailed task results, clarification studies, and later v1.9 checks. The latter distinguish re-evaluation of saved contexts from construction using fresh model responses. Replay improvements do not establish a uniform gain in fresh construction or replace the A1 scores.
Table 5: Specification and decision correctness for A1 (v1.8). Denominators are 120 total requests, 78 complete requests, and 42 requests requiring clarification or rejection. Failed cases remain in the denominators.
| System | Correct first-turn outcomes | Correct complete specifications | False-ready decisions |
|---|---|---|---|
| Model-only | 99/120 (82.5%) | 70/78 (89.7%) | 6/42 |
| Schema-assisted single shot | 111/120 (92.5%) | 75/78 (96.2%) | 1/42 |
| Full workflow | 118/120 (98.3%) | 76/78 (97.4%) | 0/42 |
3.4 COMPONENT ABLATION RESULTS
A2 removes one component at a time from v1.8 and compares each variant with its full-workflow reference on the same requests (Figure 3 and Table 6). Deterministic removals reuse saved model responses, and the model-repair comparison uses recorded outcomes before repair. Input-changing controls use fresh model responses on a fixed 40-request subset. Component use is reported separately because an evaluated request may never reach the component being removed.
Removing semantic/capability reconciliation reduces correct outcomes by four, and removing model repair reduces them by three. Removing scientific grounding or the readiness gate reduces them by one each; mandatory structural checks remain active when grounding is removed. The output-format result measures dependence on the required representation. Mapping hints are not exercised in the 40-request input-control subset, so their zero difference does not show that they are unnecessary. Component effects overlap and must not be added together.
Table 6: Component ablation results for A2 (v1.8). Entries show counts and percentages. Component exercised counts requests that used the removed component in the reference workflow. Each block states its full-workflow reference; all evaluated requests remain in the denominators.
| Condition | Correct / evaluated | Component exercised |
|---|---|---|
| 120-request comparisons; reference: 118/120 (98.3%) | ||
| Full workflow | 118/120 (98.3%) | — |
| Without model repair | 115/120 (95.8%) | 5/120 (4.2%) |
| Without scientific grounding | 117/120 (97.5%) | 117/120 (97.5%) |
| Without semantic/capability reconciliation | 114/120 (95.0%) | 12/120 (10.0%) |
| Without readiness gate | 117/120 (97.5%) | 4/120 (3.3%) |
| Without canonicalization/evidence formatting | 0/120 (0.0%) | 120/120 (100.0%) |
| 40-request input controls; reference: 40/40 (100.0%) | ||
| Without provider schema enforcement | 36/40 (90.0%) | 40/40 (100.0%) |
| Without geometry/equation routing | 26/40 (65.0%) | 40/40 (100.0%) |
| Without mapping hints | 40/40 (100.0%) | 0/40 (0.0%) |

Figure 3: Component ablation results. Values are full-workflow accuracy minus ablated accuracy, in percentage points, on matched requests. Positive values favour the full workflow. The 120-request comparisons use a reference score of 118/120; the 40-request input controls use 40/40. All groups share one horizontal scale. Output-format removal causes parsing failures on all 120 requests. The hollow marker identifies unexercised mapping hints. Schema and routing controls use new model draws, so their differences also include variation between responses.
3.5 FAILURE CASES AND LIMITS OF RELIABILITY
Failures include omitted or altered expressions, incorrect boundary data, and repairs that do not recover the intended specification. A correct clarification question does not guarantee a correct completed specification, and readiness checks can miss scientific errors. Later regressions recover some retained errors but show mixed results when specifications are rebuilt from fresh responses. Workflow changes and new responses occur together, so the fresh-response tests do not isolate the cause of each difference. Related request templates, a fixed model, and the tested versions limit conclusions about unfamiliar engineering requests (Appendix D).
Specification correctness, execution completion, and numerical accuracy remain separate requirements. Gallery cases start from retained JSON and therefore assess downstream execution rather than agent construction. The selected live tests use simple reference fields, while some numerical studies fail or remain unattempted. These qualifications are retained in Appendices B, F, and C.
3.6 CONCLUSION
We studied whether agents can construct executable JSON specifications for automated geometry creation, meshing, PDE solving, and result export. On the main benchmark, the full workflow achieves 118/120 correct first-turn outcomes (98.3%), compared with 111/120 (92.5%) for schema-assisted single shot and 99/120 (82.5%) for model-only. It produces correct complete specifications for 76/78 complete requests (97.4%). Ablations identify contributions from scientific checks and conditional repair. Separately, the gallery demonstrates execution from 30 retained JSON specifications across supported steady/unsteady and linear/nonlinear problems, including complex wing geometries. The v1.9 live workflow test achieves 9/12 joint successes (75.0%) on selected known requests.
These results support simulation assistance within the tested scope, with engineers reviewing assumptions and results. Broader-input failures show that general reliability remains unresolved. Future work should improve preservation of expressions and boundary conditions, strengthen repair coverage, and evaluate independently authored requests with numerical reference checks.
REFERENCES
Yuxuan Chen, Xu Zhu, Hua Zhou, and Zhuyin Ren. MetaOpenFOAM: An LLM-based multi-agent framework for CFD. arXiv preprint arXiv:2407.21320, 2024. doi: 10.48550/arXiv.2407.21320. URL https://arxiv.org/abs/2407.21320.
Rushikesh Deotale, Adithya Srinivasan, Mahmoud Golestanian, Yuan Tian, Tianyi Zhang, Pavlos Vlachos, and Hector Gomez. ALL-FEM: Agentic large language models fine-tuned for finite element methods. Computer Methods in Applied Mechanics and Engineering, 457:118985, 2026. doi: 10.1016/j.cma.2026.118985.
E Fan, Kang Hu, Zhuowen Wu, Jiangyang Ge, Jiawei Miao, Yuzhi Zhang, He Sun, Weizong Wang, and Tianhan Zhang. ChatCFD: A large language model-driven agent for end-to-end computational fluid dynamics automation with structured knowledge and reasoning. Advanced Intelligent Discovery, 2:e202500174, 2026. doi: 10.1002/aidi.202500174. URL https://doi.org/10.1002/aidi.202500174.
Saibo Geng, Hudson Cooper, Michal Moskal, Samuel Jenkins, Julian Berman, Nathan Ranchin, Robert West, Eric Horvitz, and Harsha Nori. JSONSchemaBench: A rigorous benchmark of structured outputs for language models, 2025. URL https://arxiv.org/abs/2501.10868.
Akshat Jani, Prathamesh Gadekar, Sakhinana Sagar Srinivas, and Venkataramana Runkana. PDE-Flow: Autonomous agentic PDE pipelines for neural operator learning and solver-free inference. arXiv preprint arXiv:2607.05134, 2026. doi: 10.48550/arXiv.2607.05134. URL https://arxiv.org/abs/2607.05134.
Bo Ni and Markus J. Buehler. MechAgents: Large language model multi-agent collaborations can solve mechanics problems, generate new data, and integrate knowledge. Extreme Mechanics Letters, 67:102131, 2024. doi: 10.1016/j.eml.2024.102131.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=WE_vluYUL-X.
Ling Yue, Nithin Somasekharan, Tingwen Zhang, Yadi Cao, and Shaowu Pan. Foam-Agent 2.0: An end-to-end composable multi-agent framework for automating CFD simulation in OpenFOAM. arXiv preprint arXiv:2509.18178, 2025. doi: 10.48550/arXiv.2509.18178. URL https://arxiv.org/abs/2509.18178.
A JSON SPECIFICATION, PROMPTS, AND PATCH PROTOCOL
The workflow uses three objects: an extraction draft, a complete solver-facing JSON specification, and a patch that updates the retained draft. The model proposes content; application code validates it and determines whether execution is permitted.
A.1 COMPLETE SCHEMA AND FIELD REQUIREMENTS
The extraction draft contains "problem", "ambiguities", and "provenance". Unresolved fields may be null. Parsing removes null placeholders and applies documented normalization rules before validation. A draft becomes executable only when it satisfies the complete problem contract and the scientific and capability checks. Table 7 summarizes the solver-facing fields. The problem schema uses version 2.0; workflow and patch versions are recorded separately.
Table 7: Fields of the solver-facing JSON specification. Requirements depend on the selected geometry and equation.
| Field | Contents and requirements |
| "schema_version" | Identifies the problem contract; version 2.0 is used. |
| "title" | Descriptive label; not scientific evidence. |
| "original_query" | Original request, retained unchanged. Later user replies are stored separately. |
| "geometry" | Geometry type, dimension, and required parameters, such as extents, radii, or wing dimensions. |
| "mesh" | Mesh backend, resolution, and cell settings, consistent with the geometry and dimension. |
| "finite_element" | Element family and degree. Lagrange degrees one and two are supported, subject to solver requirements. |
| "equation" | Equation type, coefficients, sources, material properties, and nonlinear parameters where required. |
| "boundary_conditions" | Condition types, target boundaries, and prescribed data. Selectors and field dimensions must match the problem. |
| "time" | Steady or transient regime. Transient settings include a positive time step, valid time interval, integration scheme, and step limit. |
| "initial_condition" | Initial scalar or vector field for a transient problem. |
| "solver" | Linear/nonlinear methods, preconditioners, tolerances, and iteration limits. |
| "output" | Requested exports and statistics. Supported formats include JSON, XDMF, VTKHDF, and PNG. |
Supported representations. Geometry branches include intervals and polylines in 1D; rectangles, disks, annuli, L-shaped and perforated domains, and airfoil flow domains in 2D; and boxes, cylinders, spheres, solid wings, and external-flow domains in 3D. Equation branches cover Poisson, Laplace, steady heat, Helmholtz, advection-diffusion, nonlinear Poisson, transient heat, nonlinear reaction-diffusion, linear elasticity, and steady incompressible flow. Nonlinear branches use the declared power, exponential, or hyperbolic-sine law. The capability checks determine which combinations can run; the catalogues do not imply support for every combination.
Scalars are represented as constants or expressions, and vectors contain scalar components. Expressions pass through a restricted mathematical parser. Boundary selectors use named boundaries for structured meshes or registered physical groups for Gmsh meshes. Dirichlet conditions require a value, Neumann conditions require a flux, and Robin conditions require coefficient and reference fields. Changing a condition type also requires updating its associated data.
Evidence and defaults. Each provenance record identifies the field, extracted value, quoted request fragment, character positions, and origin. Character positions start at zero and exclude the end position. The fragment must match the original request exactly, and its field path must resolve to the claimed value. List-valued facts are recorded as whole lists. Generated titles and schema labels are not scientific evidence.
Documented defaults must identify an applicable policy and remain distinguishable from user-supplied values. Missing critical information, such as required geometry dimensions or transient settings, remains unresolved and produces clarification requirements.
A.2 PROMPTS AND GENERATION SETTINGS
Assisted extraction combines representation instructions, the extraction prompt, the field vocabulary, and a request-specific JSON schema. A vocabulary-based router narrows recognized geometry and equation choices; otherwise, the relevant catalogue remains available. Optional reviewed case identifiers describe supported capabilities without supplying unrequested physical values. The original request remains the source of scientific evidence.
Table 8: Generation settings for the principal agentic studies. Requests and responses are retained locally.
| Item | Setting |
|---|---|
| Model snapshot | gpt-5.4-mini-2026-03-17 |
| Reasoning effort | "none" |
| Maximum output | 6,400 tokens per model call |
| Provider storage | Disabled |
| Assisted extraction | Strict JSON-schema output; the schema is also supplied in the instructions |
| Model-only baseline | JSON-object output with the generic problem schema supplied as text; separate prompt and model response |
| Model repair | At most one attempt per accepted user turn, using a strict local-patch schema |
| Clarification study | Fixed authorized replies in A3; evaluated separately from first-turn decisions |
| Versions | Workflow 1.8; patch contract "phase2-context-patch-1.0" |
The following quoted blocks summarize the instructions. Exact prompt files and schemas are retained in the source materials.
Extraction instructions.
"Return one extraction draft using the supplied request and schema. Preserve stated values, expressions, condition types, and boundary targets. Leave missing information unresolved and record scientific values with exact request evidence. Report ambiguity and contradictions without inventing an interpretation. Do not replace unsupported physics or geometry with an approximation. Do not solve the PDE."
Repair instructions. The repair request supplies the original request, authorized user turns, detected findings, permitted paths, current values, and nearby context.
"Return local operations against the supplied revision. Change only permitted paths using the available evidence. Preserve unrelated fields and correct boundary selectors. Do not rewrite the original request or evidence. If the correction cannot be made within the permitted scope, return no operations."
Schema-assisted single shot and the full workflow share their initial model response. Model-only and input-changing controls use independent responses, so their comparisons also include variation between model draws.
A.3 EXAMPLE REQUESTS AND SPECIFICATIONS
The following retained request illustrates a scalar problem:
"Solve Poisson on a interval on x in [0,1.34], using structured mesh with cells_per_axis [23]. Use diffusivity 1, source 0. Dirichlet boundary condition with value 0 on x_min, x_max."
The corresponding scientific and mesh fields are shown below. This is an excerpt; the complete retained JSON also includes request identity, finite-element, time, solver, and output settings.
{
"geometry": {
"kind": "interval",
"dimension": 1,
"x_min": 0.0,
"x_max": 1.34
},
"mesh": {
"backend": "structured",
"cells_per_axis": [23],
"cell_type": null,
"ghost_mode": "shared_facet"
},
"equation": {
"kind": "poisson",
"diffusivity": {"kind": "constant", "value": 1.0},
"source": {"kind": "constant", "value": 0.0}
},
"boundary_conditions": [
{
"kind": "dirichlet",
"name": "dirichlet_x_min_x_max",
"boundary": {
"kind": "named",
"names": ["x_max", "x_min"],
"role": null
},
"value": {"kind": "constant", "value": 0.0}
}
]
}
Incomplete requests retain their intended problem type. For example, missing time settings in a transient heat request trigger clarification; the workflow does not silently convert the problem to steady heat.
A.4 CLARIFICATION AND AMENDMENT PATCHES
Updates use explicit patches against the retained draft. Each patch identifies its contract version, base revision, source turn, and ordered operations (Table 9). The base revision is a SHA-256 hash of the retained context, allowing code to detect changes made since the patch was prepared. Application code supplies the permitted scope; the model cannot authorize its own changes.
Table 9: Patch contract used for clarification, amendment, and repair.
| Member | Meaning and requirement |
| “contract_version” | Must identify “phase2-context-patch-1.0”. |
| “base_revision” | Must match the current context revision. |
| “source_turn” | Identifies the authorizing user turn or repair event. |
| “operations” | Up to 32 explicit “add”, “replace”, or “remove” operations. An empty proposal is recorded as declined. |
| “path” | A permitted, non-root JSON Pointer. Duplicate or overlapping paths are rejected. |
| “value_json” | JSON-encoded value for “add” and “replace”; null for “remove”. |
Clarification. A clarification fills pending information. If the time object exists but its time-step field is absent, the reply “Use a time step of 0.05” authorizes:
{
"op": "add",
"path": "/draft/problem/time/dt",
"value_json": "0.05"
}
The operation is included in a patch carrying the current revision and reply identifier. If the field already exists, "replace" is used. Missing parent objects require explicitly authorized construction. A clarification reply cannot silently change unrelated accepted values.
Amendment. An explicit amendment can change an accepted value. For example, "Change the final time to 2" authorizes:
{
"op": "replace",
"path": "/draft/problem/time/t_end",
"value_json": "2.0"
}
The original request and evidence remain unchanged. The new statement and authorized updates enter the user-turn journal, and validation uses the latest authorized value. A user turn may authorize several fields, with a limit of 24 updates or removals.
Automatic repair. Repair corrects an extraction error using existing evidence and a trusted repair plan. It does not introduce new user requirements. Fully determined scalar boundary corrections may be constructed directly from independently matched request data; other eligible corrections use the model. Both routes pass through the same patch checks. A failed repair does not authorize replacement of the entire draft.
A.5 REVISION CHECKS AND AUDIT RECORDS
Before accepting a patch, application code checks its revision, source identifier, permitted paths, and authorized values. It applies the operations to a private copy, then reruns structural, scientific, and update-scope checks. Replacement and removal targets must exist. Array insertion or removal requires permission over the affected array because indices may shift. The candidate is accepted only if these transition checks pass; existing unresolved fields may remain, so acceptance does not imply readiness.
Stale, unauthorized, or invalid proposals leave the accepted scientific context unchanged. Audit records retain the proposal, source, base and resulting revisions, acceptance decision, rejection reason, and attempted changes. Original requests, model responses, normalization records, provenance, and user amendments are also retained. Revision-checked storage protects audits and repair counters from conflicting saves. Execution permission is recomputed when the session is saved or reloaded.
Reproduction materials. The source bundle retains the schemas, exact prompts, field vocabulary, and complete example JSON. Saved model requests preserve the exact request-specific schemas used in each call. Historical code that returned a complete replacement draft is retained separately for replay and is not the local patch protocol described here. Revision hashes detect stale state and changes; they do not authenticate users or establish scientific correctness.
B NUMERICAL VERIFICATION
We test the numerical workflow separately from the agent's ability to construct specifications. Each study starts from a prescribed problem JSON and uses the registered geometry, mesh, solver, and export routines. Reference solutions and acceptance rules are defined before evaluating the results. The original campaign contains 56 completed study solves: 34 core solves, two tighter-tolerance solves, 16 heat-refinement solves, and four MPI solves. Four development smoke runs are excluded. Additional verification repetitions are reported separately below.
B.1 CASE-BY-CASE EXPERIMENTAL SETUP
Table 10 summarizes the problems and discretizations. V1–V7 test accuracy or convergence. V8 checks whether parallel execution preserves the solution, and V9 checks sensitivity to solver tolerances. Backward Euler (BE) and Crank–Nicolson (CN) are the two time-integration schemes used in the transient studies.
Table 10: Setup for the original verification campaign. For structured meshes, denotes cells per coordinate direction. For Gmsh, is the requested characteristic mesh length.
| ID | Problem and domain | Mesh and time sequence | Solves |
|---|---|---|---|
| V1 | 2D elasticity; unit square; plane stress | P1 triangles; | 4 |
| V3 | 2D steady flow; unit square with a circular hole | P2/P1 velocity/pressure; ; pressure patch at | 4 |
| V4 | 2D unsteady heat; unit-radius disk | P1; ; five step sizes per scheme and one equilibrium control | 11 |
| V6 | 2D annular heat; radii 0.35 and 1 | P1; ; three BE and five CN step sizes | 8 |
| V7 | 2D rectangular heat; unit square | P1 triangles; cells; three BE and five CN step sizes | 8 |
| V2 | 3D elasticity; unit cube | P1 tetrahedra; | 4 |
| V5 | 3D nonlinear reaction–diffusion; sphere of radius 0.5 | P1; ; five step sizes per scheme and one equilibrium control | 11 |
| V8 | 3D elastic cantilever; box | P1 tetrahedra; cells; 4, 8, 16, and 32 MPI processes | 4 |
| V9 | Tighter-tolerance controls for V3 and V5 | V3 at ; V5 with CN at ; tolerances reduced by a factor of 100 | 2 |
| Total | 56 | ||
All transient studies run from to . V4 and V5 use time steps 0.1, 0.05, 0.025, 0.0125, 0.00625 for both schemes. V6 and V7 use the first three for BE and all five for CN; the two extra CN runs estimate the remaining spatial error. The V4 and V5 meshes contain 91 triangles and 108 tetrahedra, respectively. V6 and V7 contain 2,380,960 and 1,179,648 triangles. The V8 mesh contains 49,152 tetrahedra and 28,611 displacement degrees of freedom.
The original campaign runs on a cloud host with 32 logical CPUs, an Intel Xeon processor at 2.80 GHz, and approximately 252 GiB of visible RAM. Workers use one numerical-library thread. Core and heat-refinement studies use one MPI process; V8 varies the process count explicitly. Concurrent jobs were permitted, so elapsed times are not used to claim parallel speedup. Table 11 gives the shared settings. Inputs, measurements, reference definitions, and hashes are retained. These studies make no language-model calls.
B.2 ANALYTICAL AND MANUFACTURED REFERENCES
A manufactured reference is a chosen exact field whose forcing and boundary data are derived from the governing equation. We compare the computed field with this reference using the error for field values and the seminorm error for gradients:
Relative errors divide by the corresponding nonzero reference norm; the zero-velocity pressure patch uses absolute errors. For elasticity, V1 and V2 prescribe and on the unit square and cube. Both use Young’s modulus and Poisson’s ratio , with plane stress in 2D. Exact displacement is imposed on the boundary, and the body force is derived from that field. Displacement, strain energy, and reaction balance are checked.
Table 11: Software and requested solver settings for the original campaign. Complete case settings are retained in the input JSON files.
| Item | Setting |
|---|---|
| Software | Python 3.12.3; DOLFINx 0.11.0.post0; UFL 2026.1.0; Gmsh 4.12.1; PETSc 3.19.6; NumPy 1.26.4 |
| Linear solver | PETSc preonly with LU; relative tolerance , absolute tolerance ; maximum 10,000 iterations |
| Nonlinear solver | Newton with backtracking; relative tolerance , absolute tolerance ; maximum 50 iterations; nested linear settings specify GMRES with ILU |
| Tighter-tolerance controls | Relative tolerance and absolute tolerance in the linear, non-linear, and nested linear settings |
| Error integration | Quadrature degree 12 for V1–V5; degree 8 for V6–V7 and cantilever quantities |
| Execution checks | Finite solution coefficients, converged solver steps, and no invalid cells |
For flow, V3 uses a unit square with a circular hole of radius 0.1 centred at (0.25, 0.25), density 1, and dynamic viscosity 0.1. The reference is defined by , , , and . The body force follows from the steady incompressible Navier–Stokes equations. Exact velocity is imposed at the inlet and horizontal boundaries, with zero velocity on the hole and zero outlet pressure. A separate pressure patch uses , , and body force on the same domain.
For temporal verification, define and . V4 uses for , with . V5 uses for , with . Both use exact initial and boundary values. Their affine spatial fields can be represented by P1 elements, allowing time-discretization error to be studied separately. Stationary controls use or , with sources zero and , respectively. V6 and V7 instead use for . These fields have nonzero spatial error, which must be checked before interpreting temporal convergence.
B.3 SPATIAL CONVERGENCE
Spatial convergence measures how the error decreases as the mesh is refined. In the original campaign, observed orders are fitted from the finest three levels using logarithmic error and mesh-size values. For structured meshes, ; for flow, is the requested Gmsh characteristic length. Figure 4 shows all completed levels, and Table 12 gives the fitted orders and finest-mesh errors.
Table 12: Spatial verification results. Errors are absolute integrated norms on the finest mesh. The column reports seminorm errors.
| ID | Field | order and error | order and error | Outcome |
|---|---|---|---|---|
| V1 | 2D displacement | Pass | ||
| V2 | 3D displacement | Pass | ||
| V3 | 2D velocity | Pass |
All three studies pass their declared checks. Accepted and order bands are [1.5, 2.5] and [0.7, 1.4] for elasticity, and [2.2, 3.8] and [1.4, 2.6] for velocity. Finest-mesh relative errors must also remain below 3% in and 15% in . Elasticity additionally requires strain-energy error at most 2% and reaction imbalance at most 1%.

Figure 4: Spatial convergence for V1–V3. Orders are fitted using the finest three levels. Elasticity uses P1 displacement elements; flow uses P2 velocity and P1 pressure. The and seminorm errors have different units.
B.4 TEMPORAL CONVERGENCE AND SPATIAL ISOLATION
Temporal convergence measures how the error decreases when the time step is reduced. V4 and V5 recover approximately first-order BE and second-order CN behaviour (Figure 5). Orders use the finest three of the five step sizes. The stationary controls have errors of and , respectively. Both are below the limit and below 10% of the smallest dynamic error.

Figure 5: Temporal convergence for V4 and V5 at T = 0.4. All five time steps are shown; fitted orders use the finest three. Stationary controls are checked separately.
For V6 and V7, mesh error must be small enough to distinguish it from time-integration error. We estimate the remaining spatial error using two extra CN runs on the same mesh. With , the extrapolated field is
Its difference from the exact solution estimates the spatial error. For each scheme , this estimate is compared with the difference between the primary-step solution and the extrapolated field:
Both schemes must satisfy . Mesh and coordinate identity are checked before combining fields, and all fields come from the same campaign.
Table 13: Temporal verification results. Accepted order bands are [0.8, 1.2] for BE and [1.65, 2.35] for CN. The spatial ratio is the larger of the two scheme ratios; CN determines it for both V6 and V7.
| ID | Study | BE order | CN order | Spatial ratio | Outcome |
|---|---|---|---|---|---|
| V4 | Affine heat | 0.991 | 2.000 | Control passed | Pass |
| V5 | Affine reaction-diffusion | 1.005 | 2.000 | Control passed | Pass |
| V6 | Annular heat | 1.011 | 1.941 | 10.84% | Fail |
| V7 | Rectangular heat | 1.008 | 1.961 | 6.83% | Pass |

Figure 6: Temporal refinement with nonzero spatial error. Upper panels show reference errors at the three primary time steps. Two additional CN runs estimate the spatial error. The lower panel shows the CN ratio from Equation 3. V6 exceeds the 10% limit; V7 passes.
V6 and V7 have estimated spatial errors of and . Their BE ratios are 0.0448% and 0.0283%, while their CN ratios are 10.84% and 6.83%. V7 passes both checks. V6 passes the temporal-order bands but fails the spatial-isolation requirement; its failure is retained.
B.5 NONLINEAR, FLOW, ELASTICITY, AND BALANCE CHECKS
All completed study solves produce finite fields, converged solver steps, and valid cells. The core records require at most two nonlinear iterations per solve or time step, within the limit of 50. The finest V1 and V2 strain-energy errors are 0.00610% and 0.0434%, and both satisfy the 1% reaction-balance limit. These results apply to the prescribed verification problems.
For the finest V3 flow mesh, the pressure error is and the velocity-divergence norm is , both below their limits. The pressure patch has velocity and pressure errors of and , below the separate limits. The nonzero-flow case has relative boundary-flux imbalance , reported as a diagnostic. For the zero-flow patch, net boundary flux is approximately ; a normalized imbalance is unsuitable because the reference through-flow is zero. A separate transient heat-balance check was not measured.
B.6 MPI AND TIGHTER-TOLERANCE AGREEMENT
V8 checks whether dividing one simulation among different numbers of cooperating MPI processes changes the solution. The same cantilever is solved using 4, 8, 16, and 32 processes and compared with a retained single-process reference. Its root is clamped, tip traction is , and other faces are unloaded, with and . Displacement coefficients are matched by physical coordinates; rounding to is used only for indexing, and original values and duplicate ghost entries are checked. We compare the displacement field, mean tip deflection, strain energy, and integrated stress over , excluding clamp and load edges. All four runs satisfy the relative-difference limit.

Figure 7: MPI agreement on the same cantilever mesh. Displacement-coefficient differences are normalized by the serial coefficient-vector norm. The second curve gives the largest relative difference in tip deflection, strain energy, or integrated stress, normalized by the corresponding absolute serial value. The test measures consistency, not parallel speedup.
V9 repeats the flow and reaction-diffusion solves with tighter tolerances while keeping the problem and discretization unchanged. Coefficient differences are normalized by the baseline vector norm. Recorded error-metric differences are normalized by the larger absolute baseline or tightened value. Both must remain below . Both comparisons pass (Table 14).
B.7 ADDITIONAL VERIFICATION REPETITIONS
A separate study on 19 October 2026 repeats selected verification problems using their retained input JSON and reference fields. All 26 solves complete, and all 12 declared regression checks pass. The runs use the local WSL environment with one MPI process, one numerical-library thread, and a 180-second limit per task. Table 15 summarizes the results. These runs repeat existing problems and are recorded separately from the original 56-solve campaign.
The repeated transient studies use for each scheme. The 12 checks cover solver and mesh health, convergence orders, equilibrium controls, the pressure patch, and coefficient
Table 14: Parallel and tighter-tolerance agreement. The reported-quantity column gives the largest relative difference among cantilever quantities for V8 or recorded error metrics for V9. Zero indicates no difference at saved numerical precision.
| ID | Comparison | Native-field difference | Reported-quantity difference | Limit |
|---|---|---|---|---|
| V8 | 4 MPI processes | |||
| 8 MPI processes | ||||
| 16 MPI processes | ||||
| 32 MPI processes | ||||
| V9 | 2D flow, tighter tolerances | |||
| 3D reaction–diffusion, tighter tolerances | 0 | 0 |
agreement under tighter tolerances. These repetitions do not repeat the V6–V7 spatial-isolation studies or the V8 MPI comparison, and do not change their original qualifications.
Table 15: Additional verification repetitions. Spatial results give seminorm orders; temporal results give BE/CN orders. Orders use the two finest levels, whereas the original campaign uses three-level fits.
| Study | Repeated setup | Solves | Result | Outcome |
|---|---|---|---|---|
| V1 | 2D elasticity; | 3 | Orders: 2.000 / 1.000 | Pass |
| V3 | 2D flow; three mesh levels and pressure patch | 4 | Orders: 2.917 / 1.938; pressure patch passed | Pass |
| V4 | 2D heat; three steps per scheme and equilibrium control | 7 | Orders: 0.975 / 2.003; control passed | Pass |
| V2 | 3D elasticity; | 3 | Orders: 2.000 / 1.000 | Pass |
| V5 | 3D reaction–diffusion; three steps per scheme and equilibrium control | 7 | Orders: 1.012 / 2.000; control passed | Pass |
| V9 | Flow and reaction–diffusion with tighter tolerances | 2 | Field differences: and 0 | Pass |
| Total | 26 | |||
B.8 SCOPE AND REMAINING LIMITATIONS
V6 remains a verification failure because its spatial-isolation ratio exceeds the declared limit. The optional finest cantilever refinement was not launched because its prerequisite was checked before the MPI comparison finished. No finest-mesh result was produced, so it is unattempted rather than a pass or numerical failure. Agreement across MPI processes establishes consistency on the tested mesh; it does not establish mesh independence.
Original outcomes, additional repetitions, and development runs retain their separate records. Gallery qualifications are reported in Appendix F. These studies verify the numerical implementation within the tested scope; they do not establish the physical validity of every gallery problem or the correctness of an agent-generated specification.
C END-TO-END WORKFLOW TESTS
C.1 CASE SELECTION AND SUCCESS DEFINITION
We evaluate 12 selected requests: three each from the easy, medium, hard, and advanced-hard groups. They cover three 1D, four 2D, and five 3D scalar problems, including Poisson, transient heat, and nonlinear reaction–diffusion. These are known, code-authored, template-related requests used for regression testing. The study uses workflow v1.9 with fresh model responses, the model and generation settings in Section 3.1, and at most one model patch repair. The worker executes the revision-checked accepted specification without an author-written replacement. Flow, elasticity, and wing examples are covered separately in Appendix F.
Joint success requires the intended specification, a converged solve with finite fields, complete required exports, and a passed reference check. All 12 requests remain in the denominator, including blocked attempts. Prescribed fields are zero or affine fields of the form . Zero-field cases require absolute finite-element error at most . Affine cases require relative error at most for linear problems or for nonlinear problems. References assess the computed field after solving and do not supply the executor's specification. Transient references are constant in time; they test the execution path, while temporal accuracy is assessed separately in Appendix B.
C.2 ALL SELECTED LIVE OUTCOMES
The workflow achieves joint success on 9/12 requests (75.0%). All nine executed cases preserve the intended specification, pass their reference checks, and produce the required exports. They include four 3D cases and three nonlinear cases. Three requests remain blocked before solving. Table 16 reports all selected attempts.
Table 16: All selected live requests, ordered by dimension. Verified means joint success: correct specification, converged solve, complete exports, and a passed reference check. Blocked means no solver invocation.
| ID | Requested problem | Outcome |
| E1 | 1D Poisson, interval () | Verified |
| E2 | 1D Poisson, interval () | Verified |
| E3 | 1D Poisson, interval () | Blocked |
| E4 | 2D Poisson, rectangle | Verified |
| E5 | 2D Poisson, annulus | Verified |
| E6 | 2D unsteady heat, rectangle | Blocked |
| E7 | 2D unsteady reaction–diffusion, annulus | Verified |
| E8 | 3D Poisson, box | Verified |
| E9 | 3D nonlinear Poisson, cylinder | Verified |
| E10 | 3D Poisson, sphere | Verified |
| E11 | 3D unsteady reaction–diffusion, box | Verified |
| E12 | 3D unsteady reaction–diffusion, sphere | Blocked |
C.3 EXECUTION TIMINGS AND SAVED ARTIFACTS
The attempts run locally on WSL with one MPI process, one numerical-library thread, and a 900-second worker timeout. For the nine completed cases, request-to-results time ranges from 10.47 to 64.80 s, with a median of 15.26 s. Recorded worker time ranges from 2.01 to 54.05 s; its clock starts after imports and includes session checks, numerical execution, reference assessment, and export (Figure 8). The model-only baseline is scheduled after live execution and is excluded from its turnaround time.
Each completed case retains the accepted JSON, patch audit, generated mesh, native solution field, solver diagnostics, result metadata, and geometry, mesh, and solution views. Original requests, retained sessions, outcome records, and artifact hashes link the input to the executed specification and results. Blocked cases retain their session and failure records; their terminal times record when blocking was saved. Some internal stage timers overlap and are not added to reconstruct turnaround time.
C.4 REMAINING FAILURES AND SCOPE
E3, E6, and E12 remain blocked because extracted boundary, initial, or source data conflict with the request, lack required expression values, or fail provenance checks. Their repair proposals do not pass the update checks. These are failures to complete the requested task; blocking does not establish that the user request itself is invalid. The successful cases use zero or affine reference fields, so they provide limited evidence of complete workflow reliability.
Live workflow outcomes and timings

Figure 8: Outcomes and timings for all 12 requests. Bars show elapsed time from request receipt to the saved result or blocked outcome. Diamonds show worker time for executed cases. The clocks are measured separately and are not additive. Blocked cases have no numerical-execution time.
D ADDITIONAL AGENTIC STUDIES
This section reports development and confirmation studies, detailed main-benchmark results, component checks, clarification completion, broader requests, gallery-specification reconstruction, and regression tests of updated workflows. Unless stated otherwise, a correct first-turn outcome requires the reference scientific specification and decision to proceed, clarify, or reject. Completing a clarification dialogue is a separate measure. These tests assess specification construction; numerical verification and live simulation are reported in their respective appendices.
D.1 DEVELOPMENT AND CONFIRMATION STUDIES
Table 17 reports the development set, initial holdout, four confirmation studies, and the main benchmark (A1). Confirmation studies 1–4 use workflow versions v1.2, v1.5, v1.6, and v1.7; A1 uses v1.8. The earlier workflow repairs a complete regenerated draft within checked limits. From v1.2 onward, repairs use versioned path operations against a retained specification. Once failures in a cohort were inspected, that cohort became development evidence for later changes. The table retains the original results: requests, workflow versions, and some reference and scoring conditions differ, so the rows are not a controlled improvement curve.
The full workflow does not consistently outperform single shot during development. For example, it falls below single shot in the initial holdout and first confirmation study, while the last confirmation study obtains 39/40 correct outcomes (97.5%). In A1, it obtains 118/120 (98.3%), compared with 111/120 (92.5%) for single shot and 99/120 (82.5%) for model-only. Single shot and the full workflow share the initial response in A1; their comparison measures the added processing of that response. The independently sampled model-only arm is a complete-system comparison. Later regression results are reported separately below and do not replace these scores.
Table 17: Originally recorded first-turn specification and decision outcomes. Entries are correct/evaluated requests (percentage). SS denotes schema-assisted single shot. A dash means that no model-only result was recorded for that study. Model-only uses a separate prompt and model draw.
| Study | Model-only | SS | Full workflow |
|---|---|---|---|
| Development | — | 38/60 (63.3%) | 46/60 (76.7%) |
| Initial holdout | — | 22/40 (55.0%) | 20/40 (50.0%) |
| Confirmation 1 | — | 40/40 (100.0%) | 26/40 (65.0%) |
| Confirmation 2 | — | 37/40 (92.5%) | 38/40 (95.0%) |
| Confirmation 3 | — | 38/40 (95.0%) | 37/40 (92.5%) |
| Confirmation 4 | 32/40 (80.0%) | 37/40 (92.5%) | 39/40 (97.5%) |
| Main study (A1) | 99/120 (82.5%) | 111/120 (92.5%) | 118/120 (98.3%) |
D.2 MAIN-BENCHMARK RESULTS BY TASK AND REQUEST TYPE
A1 contains 48 extraction, 30 complete-specification, 30 clarification, and 12 rejection/conflict requests. Extraction requests test the scientific fields required by the reference problem; complete-specification requests also ask for the full executable configuration. Neither task involves a solver run in this agentic benchmark. Each task uses the same scorer across the three systems. Table 18 shows results by task, wording, and difficulty; these are separate partitions of the same 120 requests and must not be added together. The full workflow correctly handles all first-turn clarification and rejection cases, while its two remaining failures occur on complete requests. Across the 78 complete requests, it returns 76 correct specifications (97.4%). False-ready decisions among the 42 requests requiring clarification or rejection are 6/42 for model-only, 1/42 for single shot, and 0/42 for the full workflow.
Table 18: Main-benchmark first-turn outcomes by task, wording, and difficulty. Entries are correct/evaluated requests (percentage). M is model-only, S is schema-assisted single shot, and F is the full workflow. Each block separately accounts for all 120 requests.
| Request group | M | S | F |
|---|---|---|---|
| Task | |||
| Extraction | 42/48 (87.5%) | 47/48 (97.9%) | 47/48 (97.9%) |
| Complete specification | 28/30 (93.3%) | 28/30 (93.3%) | 29/30 (96.7%) |
| Clarification | 17/30 (56.7%) | 30/30 (100.0%) | 30/30 (100.0%) |
| Rejection/conflict | 12/12 (100.0%) | 6/12 (50.0%) | 12/12 (100.0%) |
| Wording | |||
| Natural | 44/60 (73.3%) | 54/60 (90.0%) | 58/60 (96.7%) |
| Schema-explicit | 55/60 (91.7%) | 57/60 (95.0%) | 60/60 (100.0%) |
| Difficulty | |||
| Easy | 5/5 (100.0%) | 5/5 (100.0%) | 5/5 (100.0%) |
| Medium | 37/42 (88.1%) | 36/42 (85.7%) | 42/42 (100.0%) |
| Hard | 50/65 (76.9%) | 64/65 (98.5%) | 64/65 (98.5%) |
| Advanced hard | 7/8 (87.5%) | 6/8 (75.0%) | 7/8 (87.5%) |
The wording comparison separates natural requests from requests that name schema fields explicitly. Difficulty counts five specification features: 3D or non-basic geometry, mixed or varying boundary data, nonlinearity, time dependence, and expressions. For non-rejection tasks, zero feature groups is easy, one is medium, two or three is hard, and four or five is advanced hard. Rejection requests use a separate rule based on geometry and time wording. The main collection was classified retrospectively using the existing rule. These categories do not measure solver runtime or engineering difficulty. Their sizes are uneven, so the small easy and advanced groups provide limited evidence. The requests also share construction templates. Figure 9 shows the individual outcomes rather than only their totals.
First-turn outcomes on the main benchmark

Figure 9: First-turn outcomes for all 120 main-benchmark requests. Each column is one request, with aligned cells for all three systems. Requests are grouped by task and then by their original record ID; labels give task counts. Correct clarification and rejection decisions count as correct outcomes. The cells do not indicate solver execution.
D.3 COMPONENT CHECKS AND CLARIFICATION COMPLETION
Table 19 compares component removals in the last confirmation study and A1. Each variant uses its own matched full-workflow reference. Downstream removals reuse retained responses; the repair comparison uses recorded outcomes without repair. Provider-schema and routing controls change the model input and use new responses, so their differences also include model variation. Removing semantic/capability checks reduces correct outcomes in both studies. Removing the required output formatting causes parsing failures throughout, which measures dependence on the interface rather than scientific reasoning alone. Scientific grounding and repair do not change the last confirmation study's total, but affect A1. Their effects overlap and must not be added.
Table 19: Component-removal outcomes in two studies. Entries are correct/evaluated requests (percentage). The first block uses the full cohorts; the second uses the input-control requests and its own reference. No combined accuracy is formed across the two studies.
| Condition | Confirmation 4 (v1.7) | Main study (v1.8) |
|---|---|---|
| Full-cohort comparisons | ||
| Full-workflow reference | 39/40 (97.5%) | 118/120 (98.3%) |
| Without repair | 39/40 (97.5%) | 115/120 (95.8%) |
| Without scientific grounding | 39/40 (97.5%) | 117/120 (97.5%) |
| Without semantic/capability checks | 37/40 (92.5%) | 114/120 (95.0%) |
| Without readiness gate | 38/40 (95.0%) | 117/120 (97.5%) |
| Without output canonicalization/evidence formatting | 0/40 (0.0%) | 0/120 (0.0%) |
| Input controls: matched requests | ||
| Matched full-workflow reference | 39/40 (97.5%) | 40/40 (100.0%) |
| Without provider schema enforcement | 36/40 (90.0%) | 36/40 (90.0%) |
| Without geometry/equation routing | 23/40 (57.5%) | 26/40 (65.0%) |
| Without mapping hints | 39/40 (97.5%) | 40/40 (100.0%) |
Evaluated and exercised counts answer different questions. In A1, model repair is exercised on 5/120 requests, semantic/capability checks on 12/120, and the readiness gate on 4/120. Mapping hints are not exercised in either study, so their unchanged scores do not show that they are unnecessary. Table 20 evaluates a different question: whether fixed authorized replies lead to a correct complete specification. Replies update retained sessions through validated patches; this is an offline interaction test, not a human-user study. Removing clarification produces no completed specifications in these controls. Removing question priority leaves completion unchanged; the original two studies have only one pending field per request, so they do not test competing question orders.
Table 20: Correct complete specifications after fixed authorized clarification replies. Each row uses its own retained responses and selected clarification requests; these are not first-turn accuracy scores. Later rows reuse known requests rather than adding independent cases.
| Study | Correct / evaluated | Percentage |
|---|---|---|
| Confirmation 4 (v1.7) | 10/10 | 100.0% |
| Main study: A3 (v1.8) | 28/30 | 93.3% |
| Earlier-cohort rerun (v1.8) | 32/50 | 64.0% |
| Main-study subset (v1.9) | 14/18 | 77.8% |
Patch-scope and revalidation checks are also tested using retained proposals. In the earlier-cohort regression, 13 of 65 proposals are accepted with all checks, compared with 16 when scope checking is removed and 36 when revalidation is removed. These are read-only acceptance tests: no proposal from a disabled-check condition is committed, and a higher acceptance count is not an accuracy improvement. Only six of the 50 clarification interactions in that regression have multiple eligible questions, which also limits conclusions about question priority.
D.4 REGRESSION TESTS OF UPDATED WORKFLOWS
Earlier cached-response checks give identical scored outcomes for v1.7 and v1.8 on the development set (55/60) and confirmation studies 1 and 3 (40/40 each). A separate v1.8 rerun with fresh responses to 200 earlier holdout and confirmation requests obtains 131/200 correct outcomes (65.5%) for the full workflow and 126/200 (63.0%) for single shot. These tests reuse known requests and retain their original evaluation conditions; they do not replace the historical scores.
A6 evaluates the v1.9 changes using the retained final JSON contexts from A1 and A4. The changes address expression handling, request-evidence matching, duplicate boundaries, and valid patch operations. Correctness rises from 204/250 (81.6%) to 230/250 (92.0%), with 26 recovered outcomes and no losses among previously correct outcomes. Table 21 gives the two cohorts separately. This replay starts from contexts that already include earlier processing and repairs. It tests revised code on retained specifications, without new model calls or solves; it does not measure fresh construction.
Table 21: Updated-workflow tests. Entries are correct/evaluated requests (percentage). A6 scores retained final JSON contexts; A7 scores first-turn specification and decision outcomes from new responses. Earlier A7 scores use exactly the same 150 selected requests. Replay and fresh-response results must not be pooled.
| Test or system | Earlier v1.8 | Updated v1.9 |
|---|---|---|
| A6: saved-final-JSON replay, full workflow | ||
| Main-benchmark contexts | 118/120 (98.3%) | 119/120 (99.2%) |
| Broader-input contexts | 86/130 (66.2%) | 111/130 (85.4%) |
| A7: fresh responses, 150 matched requests | ||
| Model-only | 118/150 (78.7%) | 127/150 (84.7%) |
| Schema-assisted single shot | 112/150 (74.7%) | 89/150 (59.3%) |
| Full workflow | 120/150 (80.0%) | 121/150 (80.7%) |
A7 obtains fresh responses to 150 known requests: 72 from A1 and 78 from A4. Overall full-workflow correctness is 121/150 (80.7%), compared with 120/150 (80.0%) in the retained earlier results. The broader-request subset improves from 50/78 (64.1%) to 65/78 (83.3%), while the main-benchmark subset changes from 70/72 (97.2%) to 56/72 (77.8%) (Figure 10). The updated full workflow returns 70/97 correct complete specifications (72.2%) and makes no false-ready decisions on the 53 non-ready requests. Audit replay reproduces all 150 retained session contexts, including 40 accepted patches and 24 rejected proposals that leave the context unchanged. This checks state handling, while the outcome scores assess scientific correctness. Workflow changes and new model responses occur together, so A7 is a regression test on known requests, not an isolated version comparison or evidence of generalization to unseen requests.

Figure 10: Fresh-response regression A7, with earlier and updated scores calculated on the same requests in each panel: (a) 72 main-benchmark requests, (b) 78 broader-input requests, and (c) all 150 selected requests. The first two panels partition the third and are not additional tests. Values are percentages of correct first-turn specification and decision outcomes. Single shot and the full workflow share their initial response; model-only uses a separate prompt and draw. New responses accompany the workflow update, so changes cannot be attributed to the version alone. All panels use the same scale.
E REPRODUCIBILITY
This section summarizes dataset construction and execution settings. Detailed agentic results are reported in Appendix D.
E.1 DATASET CONSTRUCTION AND STUDY SCOPE
The main study contains 120 code-authored requests, and the broader-input study adds 130 requests. Each request has expected scientific fields and a decision to proceed, clarify, or reject. Related templates vary geometry, coefficients, boundary conditions, and time settings. Natural and schema-explicit wording are categories within these collections. Shared templates limit how far the results can be generalized to unrestricted engineering requests.
The broader collection was balanced by difficulty before model calls, using geometry, boundary data, nonlinearity, time dependence, and expressions. The v1.9 regression study uses fresh responses to 150 selected requests from the existing collections. Repeated requests are not counted as new independent cases. The gallery starts from retained JSON specifications, and numerical verification uses prescribed problems; both are evaluated separately from user-to-JSON accuracy.
E.2 EXECUTION SETTINGS
The model snapshot, generation settings, schema, and patch limits are specified in Section 3.1 and Appendix A. Single shot and the full workflow share the initial model response; model-only uses its own prompt and response. Original studies use workflow v1.8, while the latest regression and live workflow tests use v1.9. Their results retain separate denominators. A fixed request-ordering seed does not make model responses deterministic.
The cloud verification campaign uses 32 logical CPUs and approximately 252 GiB of visible RAM. Numerical workers use one library thread; most studies use one MPI process, while the parallel-agreement study uses 4, 8, 16, and 32 processes. The additional verification repetitions and latest live workflow tests run locally on WSL with one MPI process and one library thread. Case-specific software, meshes, time steps, and solver tolerances are given in Appendix B; live execution limits are given in Appendix C.
The implementation and run instructions will accompany the repository release. Repeated model calls may produce different responses; numerical reproduction requires the stated discretization, solver settings, and acceptance rules.
F SOLUTION GALLERY
These solutions were generated from retained JSON specifications using an automated pipeline: JSON → geometry → mesh → solve → results. Each specification defines the problem and numerical settings; the workflow constructs the domain, generates the mesh, solves with FEniCSx/PETSc, and exports the fields.
Cases are grouped by dimension. Unsteady snapshots and additional flow or elasticity fields follow their corresponding cases. Deformation magnification affects the display only. The gallery retains verified, failed, and preliminary numerical qualifications; execution completion does not establish numerical accuracy. Numerical verification is assessed separately in Appendix B.
F.1 ONE-DIMENSIONAL CASES
Steady heat conduction along a rod
1D | Steady | Linear | Poisson diffusion | 9 nodes, 8 elements

Length 1 m. Mesh: structured, segments: FE P1. Dirichlet u=0.2*(sin(x)) on all boundary groups, normalized field, diffusivity=1

Transient heat along a rod
1D | Transient | Linear | Heat equation | 9 nodes, 8 elements
Rod / path geometry

Finite-element nodes

Temperature
Length 1 m. Mesh: structured, segments; FE P1.
Dirichlet T=0.2*(sin(x))/exp(-t) on all boundary groups; initial T=0.2*(sin(x)); Backward Euler, dt=0.1 s; final t=0.4 s
Transient heat along a rod - time evolution
1D | Transient | Linear | Heat equation | 9 nodes, 8 elements
t=0.1 s

t=0.2 s
t=0.3 s
t=0.4 s
Length 1 m. Mesh: structured, segments; FE P1.
Dirichlet T=0.2*(sin(x))/exp(-t) on all boundary groups; initial T=0.2*(sin(x)); Backward Euler, dt=0.1 s; final t=0.4 s
Identical field limits across all displayed times.
Solute diffusion along a transport path
1D | Steady | Linear | Poisson diffusion | 9 nodes, 8 elements
Rod / path geometry

Finite-element nodes

Normalized concentration
Transport path length 1 m. Mesh: grsh, segments; FE P1.
Dirichlet c=0.2*(sin(x)) on all boundary groups; normalized field, diffusivity=1
F.2 TWO-DIMENSIONAL CASES
Mixed boundary conditions on a plate
2D | Steady | Linear | Poisson diffusion | 81 nodes, 128 elements
Geometry & boundary conditions

Finite-element mesh

Scalar field

Dimensions: 1 x 1 m. Mesh: structured, triangles; FE P1.
Left Dirichlet, right/bottom Neumann; top Robin; boundary data from u=x^2+y^2
Diffusion through an annular domain
2D | Steady | Linear | Poisson diffusion | 43 nodes, 59 elements
Geometry & boundary conditions

Inner/outier radii 0.35/1 m. Mesh: gmsh, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Scalar field

Diffusion in a perforated domain
2D | Steady | Linear | Poisson diffusion | 34 nodes, 45 elements
Geometry & boundary conditions

Dimensions 1 x 1 m; hole radius 0.15 m. Mesh: gmsh, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Scalar field

Singular harmonic field on an L-domain
2D | Steady | Linear | Poisson diffusion | 57 nodes, 82 elements
Geometry & boundary conditions

Dimensions 2 x 2 m; notch 1 x 1 m. Mesh: gmsh, triangles; FE P1. Dirichlet u=0.2*(3*sin(2theta/3)); u=0 on notch rays; corner singularity
Finite-element mesh

Scalar field

Transport through a rectangular channel
2D | Steady | Linear | Advection-diffusion | 81 nodes, 128 elements
Geometry & boundary conditions

Dimensions 1 x 1 m. Mesh: structured, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Concentration

Scalar wave field on a rectangle
2D | Steady | Linear | Helmholtz equation | 81 nodes, 128 elements
Geometry & boundary conditions

Dimensions 1 x 1 m. Mesh: structured, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Wave field

Nonlinear diffusion on a disk
2D | Steady | Nonlinear | Poisson diffusion | 51 nodes, 80 elements
Geometry & boundary conditions

Disk radius 1 m. Mesh: gmsh, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Scalar field

Nonlinear diffusion on an L-domain
2D | Steady | Nonlinear | Poisson diffusion | 57 nodes, 82 elements
Geometry & boundary conditions

Dimensions 2 x 2 m; notch 1 x 1 m. Mesh: gmsh, triangles; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)) on all boundary groups
Finite-element mesh

Scalar field

Transient heat on a disk
2D | Transient | Linear | Heat equation | 51 nodes, 80 elements
Geometry & boundary conditions

Disk radius 1 m. Mesh: gmsh, triangles; FE P1. Dirichlet T=0.2*(sin(x)+cos(y))^(1/exp(-t)) on all boundary groups; initial T=0.2*(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s
Finite-element mesh

Temperature

Transient heat on an annulus
2D | Transient | Linear | Heat equation | 43 nodes, 59 elements
Geometry & boundary conditions

Finite-element mesh

Inner/router radii 0.35/1 m. Mesh: gmsh, triangles; FE P1.
Dirichlet T=0.2*(sin(x)+cos(y))^(1/exp;t) on all boundary groups; initial T=0.2*(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s
Temperature

Transient heat on a disk - time evolution
2D | Transient | Linear | Heat equation | 51 nodes, 80 elements
t=0.1 s

t=0.2 s
t=0.3 s
Disk radius 1 m. Mesh: gmsh, triangles; FE P1.
Dirichlet T=0.2*(sin(x)+cos(y))^(1/exp;t) on all boundary groups; initial T=0.2*(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s
Identical field limits across all displayed times.
t=0.4 s
Transient heat on an annulus - time evolution
2D | Transient | Linear | Heat equation | 43 nodes, 59 elements
t=0.1 s

t=0.2 s
t=0.3 s
t=0.4 s
Inner/router radii 0.35/1 m. Mesh: gmsh, triangles; FE P1.
Dirichlet T=0.2*(sin(x)+cos(y))^(1/exp;t) on all boundary groups; initial T=0.2*(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s
Identical field limits across all displayed times.
Transient heat on a rectangular plate
2D | Transient | Linear | Heat equation | 81 nodes, 128 elements
Geometry & boundary conditions

Finite-element mesh

Dimensions 1 x 1 m. Mesh: structured, triangles; FE P1.
Dirichlet T=0.2*(sin(x)+cos(y))^(1/exp;t) on all boundary groups; initial T=0.2*(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s
Temperature

Reaction-diffusion on a disk
2D | Transient | Nonlinear | Reaction-diffusion | 51 nodes, 80 elements
Geometry & boundary conditions

Finite-element mesh
Disk radius 1 m; Mesh: gmsh, triangles; FE P1.
Dirichlet u=0.2*(sin(x)+cos(y))^(3)exp(-t) on all boundary groups; initial u=0.2(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s

Scalar field

Transient heat on a rectangular plate - time evolution
2D | Transient | Linear | Heat equation | 81 nodes, 128 elements
t=0.1 s

t=0.2 s
t=0.3 s
Dimensions 1 x 1 m. Mesh: structured, triangles; FE P1.
Dirichlet T=0.2*(sin(x)+cos(y))^(3)exp(-t) on all boundary groups; initial T=0.2(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s. Identical field limits across all displayed times.
t=0.4 s
Reaction-diffusion on a disk - time evolution
2D | Transient | Nonlinear | Reaction-diffusion | 51 nodes, 80 elements
t=0.1 s

t=0.2 s
t=0.3 s
t=0.4 s
Disk radius 1 m; Mesh: gmsh, triangles; FE P1.
Dirichlet u=0.2*(sin(x)+cos(y))^(3)exp(-t) on all boundary groups; initial u=0.2(sin(x)+cos(y)); Backward Euler, dt=0.1 s; final t=0.4 s. Identical field limits across all displayed times.
Flow over a NACA 0012 airfoil
2D | Steady | Nonlinear | Incompressible Navier-Stokes | 2,671 nodes, 5,120 elements
Geometry & boundary conditions

Finite-element mesh
Velocity
NACA 0012; chord 1 m; incidence 5 deg. Mesh: gmsh, triangles; FE P2,P1. Inlet U=1 m/s; outlet p=0 Pa; no-slip obstacle; Re=20 Near-body view, full flow enclosure in the companion context sheet.
Flow past a cylinder
2D | Steady | Nonlinear | Incompressible Navier-Stokes | 238 nodes, 401 elements
Geometry & boundary conditions
Finite-element mesh

Dimensions 2.2 x 0.41 m; hole radius 0.05 m. Mesh: gmsh, triangles; FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=10

Flow over a NACA 0012 airfoil - field companions
2D | Steady | Nonlinear | Incompressible Navier-Stokes | 2,671 nodes, 5,120 elements
Pressure

Vorticity
Pressure coefficient

NACA 0012; chord 1 m; incidence 5 deg. Mesh: gmsh, triangles; FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=20
Flow past a cylinder - field companions
2D | Steady | Nonlinear | Incompressible Navier-Stokes | 238 nodes, 401 elements
Pressure

Dimensions 2.2 x 0.41 m; hole radius 0.05 m. Mesh: gmsh, triangles; FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=10
Vorticity

Cantilever plate under end traction
2D | Steady | Linear | Linear elasticity | 451 nodes, 800 elements
Geometry & boundary conditions
Finite-element mesh


Von Mises stress

Dimensions 4 x 1 m. Mesh: structured, triangles; FE P1.
Left clamped; uniform right-edge t=(0,-0.01) Pa (vertical); F/h=-0.01 N/m in y (h: thickness); E=1000 Pa, nu=0.3
Stress in a perforated plate
2D | Steady | Linear | Linear elasticity | 1,687 nodes, 3,204 elements
Geometry & boundary conditions
Finite-element mesh

Von Mises stress
Dimensions 4 x 2 m; hole radius 0.25 m. Mesh: gmsh, triangles; FE P1.
Left clamped; right t=(1,0) Pa; F/h=2 N/m (h: thickness, plane stress); other edges traction-free; E=1000 Pa, nu=0.3
Cantilever plate under end traction - field companion
2D | Steady | Linear | Linear elasticity | 451 nodes, 800 elements

Dimensions 4 x 1 m. Mesh: structured, triangles; FE P1.
Left clamped; uniform right-edge t=(0,-0.01) Pa (vertical); F/h=-0.01 N/m in y (h: thickness); E=1000 Pa, nu=0.3
Deformation magnified x52; gray: original, blue: deformed.

Stress in a perforated plate - field companion
2D | Steady | Linear | Linear elasticity | 1,687 nodes, 3,204 elements

Dimensions 4 x 2 m; hole radius 0.25 m. Mesh: gmsh, triangles; FE P1.
Left clamped; right t=(1.01) Pa; F/h=2 N/m (h: thickness, plane stress); other edges traction-free; E=1000 Pa, nu=0.3
Deformation magnified x93.2; gray: original, blue: deformed.

F.3 THREE-DIMENSIONAL CASES AND COMPLEX GEOMETRIES
Diffusion in a cylindrical domain
3D | Steady | Linear | Poisson diffusion | 76 nodes, 188 elements
Geometry & boundary conditions

Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1.
Dirichlet u=0.2*(sin(x)+cos(y)+sin(z)) on all boundary groups
Mesh: half-domain cutaway | Field: exterior surface
Mesh cutaway / surface

Scalar field

Thermal conduction through a cylinder
3D | Steady | Linear | Heat conduction | 76 nodes, 188 elements
Geometry & boundary conditions

Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1.
Bottom T=300 K; top Robin exchange (alpha=2); insulated sides; exact T=300+50z K
Mesh: half-domain cutaway | Field: exterior surface
Mesh cutaway / surface

Temperature

Thermal conduction in a solid box
3D | Steady | Linear | Heat conduction | 729 nodes, 3,072 elements
Geometry & boundary conditions

Mesh cutaway / surface

Dimensions 1 x 1 x 1 m. Mesh: structured, tetrahedra; FE P1. Bottom T=300 K; top Robin exchange (alpha=2); insulated sides; exact T=300±50z K. Mesh: half-domain cutaway | Field: exterior surface
Temperature

Diffusion on a sphere
3D | Steady | Linear | Poisson diffusion | 250 nodes, 849 elements
Geometry & boundary conditions

Mesh cutaway / surface

Scalar field

Sphere radius 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet u=0,2*(sin(x)+cos(y)+sin(z)) on all boundary groups. Mesh: half-domain cutaway | Field: exterior surface
Nonlinear diffusion on a sphere
3D | Steady | Nonlinear | Poisson diffusion | 250 nodes, 849 elements
Geometry & boundary conditions

Mesh cutaway / surface

Scalar field

Sphere radius 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet u=0,2*(sin(x)+cos(y)+sin(z)) on all boundary groups. Mesh: half-domain cutaway | Field: exterior surface
Transient heat in a cylinder
3D | Transient | Linear | Heat equation | 76 nodes, 188 elements
Geometry & boundary conditions

Mesh cutaway / surface

Temperature

Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet T=0,2*(sin(x)+cos(y)+sin(z))exp(-t) on all boundary groups; initial T=0,2(sin(x)+cos(y)+sin(z)); Backward Euler, dt=0.1 s; final t=0.4 s. Mesh: half-domain cutaway | Field: exterior surface
Reaction-diffusion in a cylinder
3D | Transient | Nonlinear | Reaction-diffusion | 76 nodes, 188 elements
Geometry & boundary conditions
Mesh cutaway / surface


Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet u=0.2*(sin(x)+cos(y)+sin(2z))exp(-t) on all boundary groups; initial u=0.2(sin(x)+cos(y)+sin(2z)); Backward Euler, dt=0.1 s; final t=0.4 s Mesh: half-domain cutaway | Field: exterior surface
Scalar field

Transient heat in a cylinder - time evolution
3D | Transient | Linear | Heat equation | 76 nodes, 188 elements
t=0.1 s
t=0.2 s
t=0.3 s
t=0.4 s



Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet on all boundary groups; initial ; Backward Euler, dt=0.1 s; final t=0.4 s Identical field limits across all displayed times.

Reaction-diffusion in a cylinder - time evolution
3D | Transient | Nonlinear | Reaction-diffusion | 76 nodes, 188 elements
t=0.1 s
t=0.2 s
t=0.3 s
t=0.4 s




Radius 0.5 m; height 1 m. Mesh: gmsh, tetrahedra; FE P1. Dirichlet on all boundary groups; initial ; Backward Euler, dt=0.1 s; final t=0.4 s Identical field limits across all displayed times.
Flow over a tapered NACA half-wing
3D | Steady | Nonlinear | Incompressible Navier-Stokes | 1,598 nodes, 6,990 elements
Geometry & boundary conditions
Mesh cutaway / surface


NACA 0012; root/zip chords 1/0.6 m; span 2 m; incidence 5 deg. Mesh: gmsh, tetrahedra; FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa; no-slip obstacle; Re=20; half-wing symmetry. Field slice y=1 m; original element cross-section
Velocity

Flow past a sphere
3D | Steady | Nonlinear | Incompressible Navier-Stokes | 2,045 nodes, 9,425 elements
Geometry & boundary conditions

Mesh cutaway / surface

Sphere radius 0.5 m. Mesh: gmsh, tetrahedra: FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=10. Field slice z=0 m; original element cross-section

Flow over a tapered NACA half-wing - field companions
3D | Steady | Nonlinear | Incompressible Navier-Stokes | 1,598 nodes, 6,990 elements
Pressure

NACA 0012; root/tip chords 1/0.6 m; span 2 m; incidence 5 deg. Mesh: gmsh, tetrahedra: FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=20; half-wing symmetry
Vorticity

Flow past a sphere - field companions
3D | Steady | Nonlinear | Incompressible Navier-Stokes | 2,045 nodes, 9,425 elements
Pressure

Sphere radius 0.5 m. Mesh: gmsh, tetrahedra: FE P2/P1. Inlet U=1 m/s; outlet p=0 Pa, no-slip obstacle; Re=10
Vorticity

Tapered wing under smooth tip loading
3D | Steady | Linear | Linear elasticity | 287 nodes, 732 elements
Geometry & boundary conditions

Mesh cutaway / surface

NACA 0012; root/tip chords 1/0.6 m; span 2 m; incidence 0 deg. Mesh: gmsh, tetrahedra: FE P1. Root y=0 clamped; tip t_z=-0.0116(x/0.6)^22(1-x/0.6)^2 Pa, peak 0.01 Pa downward; E=1000 Pa, nu=0.3 Mesh: half-domain cutaway | Field: exterior surface
Von Mises stress

Bending of a three-dimensional cantilever
3D | Steady | Linear | Linear elasticity | 225 nodes, 768 elements
Geometry & boundary conditions

Mesh cutaway / surface

Dimensions 2 x 0.4 x 0.4 m. Mesh: structured tetrahedra: FE P1. Root x=0 clamped; uniform end-face t_z=-0.01 Pa; other faces traction-free; E=1000 Pa, nu=0.3 Mesh: half-domain cutaway | Field: exterior surface
Von Mises stress

Tapered wing under smooth tip loading - field companion
3D | Steady | Linear | Linear elasticity | 287 nodes, 732 elements

NACA 0012; roottip chords 1/0.6 m; span 2 m; incidence 0 deg. Mesh: gmsh, tetrahedra; FE Pl. Root y=0 clamped; tip t_z=-0.0116(x/0.6) ~ 2*(L-x/0.6) ~ 2 Pa, peak 0.01 Pa downward. E=1000 Pa, nu=0.3 Deformation magnified x74.2; gray: original, blue: deformed.
Deformation / profile

Bending of a three-dimensional cantilever - field companion
3D | Steady | Linear | Linear elasticity | 225 nodes, 768 elements

Dimensions 2 x 0.4 x 0.4 m. Mesh: structured, tetrahedra; FE Pl. Root x=0 clamped; uniform end-face t_z=-0.01 Pa; other faces traction-free; E=1000 Pa, nu=0.3 Deformation magnified x159; gray: original, blue: deformed.
Deformation / profile
