SearcharxivSearch

arXiv subjects

E Fan

Publications and source records attributed to E Fan.

3 recordsLinked to original sources

PhyNiKCE: A Neurosymbolic Agentic Framework for Autonomous Computational Fluid Dynamics

The deployment of autonomous agents for Computational Fluid Dynamics (CFD), is critically limited by the probabilistic nature of Large Language Models (LLMs), which struggle to enforce the strict conservation laws and numerical stability required for physics-based simulations. Reliance on purely semantic Retrieval Augmented Generation (RAG) often leads to "context poisoning," where agents generate linguistically plausible but physically invalid configurations due to a fundamental Semantic-Physical Disconnect. To bridge this gap, this work introduces PhyNiKCE (Physical and Numerical Knowledgeable Context Engineering), a neurosymbolic agentic framework for trustworthy engineering. Unlike standard black-box agents, PhyNiKCE decouples neural planning from symbolic validation. It employs a Symbolic Knowledge Engine that treats simulation setup as a Constraint Satisfaction Problem, rigidly enforcing physical constraints via a Deterministic RAG Engine with specialized retrieval strategies for solvers, turbulence models, and boundary conditions. Validated through rigorous OpenFOAM experiments on practical, non-tutorial CFD tasks using Gemini-2.5-Pro/Flash, PhyNiKCE demonstrates a 96% relative improvement over state-of-the-art baselines. Furthermore, by replacing trial-and-error with knowledge-driven initialization, the framework reduced autonomous self-correction loops by 59% while simultaneously lowering LLM token consumption by 17%. These results demonstrate that decoupling neural generation from symbolic constraint enforcement significantly enhances robustness and efficiency. While validated on CFD, this architecture offers a scalable, auditable paradigm for Trustworthy Artificial Intelligence in broader industrial automation.

cs.AI

ChatCFD: An LLM-Driven Agent for End-to-End CFD Automation with Structured Knowledge and Reasoning

Computational Fluid Dynamics (CFD) is critical for scientific advancement but is hindered by operational complexity and high expertise barriers. This paper introduces ChatCFD, a Large Language Model (LLM)-driven multi-agent system designed for end-to-end CFD automation using OpenFOAM. Powered by DeepSeek-R1/V3, ChatCFD integrates structured domain knowledge bases, a precise error locator, and iterative reflection to dramatically outperform existing methods. On 315 benchmark cases, ChatCFD achieves 82.1% execution success (vs. 6.2% for MetaOpenFOAM and 42.3% for Foam-Agent) and 68.12% physical fidelity - a novel metric assessing scientific meaningfulness beyond mere runnability. A dedicated Physics Interpreter attains 97.4% summary fidelity, bridging the gap between narrative fluency and the enforcement of tight physical constraints. Resource analysis confirms efficiency, averaging 192.1k tokens and $0.208 per case, significantly lower than baseline costs. Ablation studies identify the Error Locator and Solver Template DB as critical, with the latter's removal collapsing accuracy to 48%. The system exhibits robust flexibility, achieving 95.23% success in autonomous solver selection and 100% in turbulence modeling, while successfully reproducing complex literature cases (e.g., NACA0012, supersonic nozzle) with 60-80% success rates where baselines failed. Featuring a modular, MCP-compatible design, ChatCFD facilitates scalable, collaborative AI-driven CFD. Code is available at: https://github.com/ConMoo/ChatCFD

cs.CL

Detonation propagation in three-dimensional continuous curved ducts

In this paper, 3D detonation numerical studies are conducted using reactive Euler equations in both straight and curved channels. These simulations are compared to investigate the response of detonation to curvature within infinitely long square ducts. The influence of the inner wall radius, cross-section size, and activation energy (Ea) on wave structures, pressure distributions, and velocity are carefully described. The results for detonation waves with low Ea in narrow ducts show that, in straight ducts, it typically exhibits rectangular or diagonal modes which depends on the initial perturbations. However, when propagating in curved ducts, the waves display significantly different patterns and curvature sensitive velocity deficits. For sufficient small radii, due to the compression and expansion in the lateral direction, an initial diagonal perturbation may transit into rectangular mode. For detonation waves with low Ea in wide ducts, mode transition may happen even for rectangular perturbations. An out-of-phase rectangular mode first appears, followed by the twisting of the transverse waves until a diagonal mode develops. The corresponding curved case shows that only one pair of transverse waves on each wall. Furthermore, the cellular patterns become irregular with increasing Ea: in the straight duct, the cells seem more randomly distributed; in curved duct, small cells are observed on the outer wall, while large-scale wave motions are noted on the inner wall, as a result of mixture with high Ea is more sensitive to the perturbations. The current results indicate that a fully developed detonation wave in a continuously curved duct is significantly affected by substantial compression and velocity deficit, which alter the wave structures.

physics.flu-dyn