paper-with-me

홈 › Papers

Fine-tuning a Large Language Model for Automating Computational Fluid Dynamics Simulations

2025-04-13 · Zhehao Dong, Zhen Lu, Yue Yang

Configuring computational fluid dynamics (CFD) simulations typically demands extensive domain expertise, limiting broader access. Although large language models (LLMs) have advanced scientific computing, their use in automating CFD workflows is underdeveloped. We introduce a novel approach centered on domain-specific LLM adaptation. By fine-tuning Qwen2.5-7B-Instruct on NL2FOAM, our custom dataset of 28716 natural language-to-OpenFOAM configuration pairs with chain-of-thought (CoT) annotations, we enable direct translation from natural language descriptions to executable CFD setups. A multi-agent framework orchestrates the process, autonomously verifying inputs, generating configurations, running simulations, and correcting errors. Evaluation on a benchmark of 21 diverse flow cases demonstrates state-of-the-art performance, achieving 88.7% solution accuracy and 82.6% first-attempt success rate. This significantly outperforms larger general-purpose models like Qwen2.5-72B-Instruct, DeepSeek-R1, and Llama3.3-70B-Instruct, while also requiring fewer correction iterations and maintaining high computational efficiency. The results highlight the critical role of domain-specific adaptation in deploying LLM assistants for complex engineering workflows. Our code and fine-tuned model have been deposited at https://github.com/YYgroup/AutoCFD.

📄 PDF Abstract BibTeX arXiv:2504.09602

Code (1)

yygroup/autocfd 공식 구현

Tasks

Computational EfficiencyLanguage ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Evolutionary Computation and Large Language Models: A Survey of Methods, Synergies, and Applications

2025-05-21 · Dikshit Chauhan, Bapi Dutta, Indu Bala, Niki van Stein 외

Integrating Large Language Models (LLMs) and Evolutionary Computation (EC) represents a promising avenue for advancing artificial intelligence by combining powerful natural language understanding with optimization and se…

Evolutionary AlgorithmsNatural Language UnderstandingPrompt EngineeringSurvey

Making Pre-trained Language Models Better Few-shot Learners

2020-12-31 · ACL 2021 5 · Tianyu Gao, Adam Fisch, Danqi Chen

The recent GPT-3 model (Brown et al., 2020) achieves remarkable few-shot performance solely by leveraging a natural-language prompt and a few task demonstrations as input context. Inspired by their findings, we study few…

Few-Shot LearningZero-Shot Text Classification

Fine-Tuning LLMs on Small Medical Datasets: Text Classification and Normalization Effectiveness on Cardiology reports and Discharge records

2025-03-27 · Noah Losch, Lucas Plagwitz, Antonius Büscher, Julian Varghese

We investigate the effectiveness of fine-tuning large language models (LLMs) on small medical datasets for text classification and named entity recognition tasks. Using a German cardiology report dataset and the i2b2 Smo…

named-entity-recognitionNamed Entity Recognitiontext-classificationText Classification

Exploring LLM-based Verilog Code Generation with Data-Efficient Fine-Tuning and Testbench Automation

2026-04-16 · Mu-Chi Chen, Po-Hsuan Huang, Yu-Hung Kao, Yen-Fu Liu 외 arxiv

Recent advances in large language models have improved code generation, but their use in hardware description languages is still limited. Moreover, training data and testbenches for these models are often scarce. This pa…

Code Generation

Efficient Data Generation for Source-grounded Information-seeking Dialogs: A Use Case for Meeting Transcripts

2024-05-02 · Lotem Golany, Filippo Galgani, Maya Mamo, Nimrod Parasol 외

Automating data generation with Large Language Models (LLMs) has become increasingly popular. In this work, we investigate the feasibility and effectiveness of LLM-based data generation in the challenging setting of sour…

Response Generation