EconPapers    
Economics at your fingertips  
 

CFD-modeling of fluid flow in Ansys Fluent using Python-based code for automation of repeating calculations

Vyacheslav Papkov (), Nikita Shadymov () and Dmitry Pashchenko
Additional contact information
Vyacheslav Papkov: Samara State Technical University, Molodogvardeiskaya 244 St, Samara 443100, Russia
Nikita Shadymov: Samara State Technical University, Molodogvardeiskaya 244 St, Samara 443100, Russia
Dmitry Pashchenko: Samara State Technical University, Molodogvardeiskaya 244 St, Samara 443100, Russia

International Journal of Modern Physics C (IJMPC), 2023, vol. 34, issue 09, 1-15

Abstract: CFD-modeling for numerical investigation is used in a wide range of applied tasks, e.g. in fluid mechanics. To better understand the effect of operational parameters on the final results, some tasks are associated with carrying out monotonous, repetitive calculations for a wide range of operational parameters such as velocity, flow direction and temperature. In this paper, a Python-based code for automation of the repeating calculations in CFD-modeling was developed and described. The automation code was tested for CFD-modeling in Ansys Fluent for two flow dynamic tasks: a simple 2D-geometry — NACA0018 airfoil, and a complex 3D-geometry — packed bed with heat transfer. Three different computers with various computational power were used for the comparison. The results of CFD-modeling were compared with the experimental data. The efficiency of using Python-based code was evaluated through comparison with the results of manual (without automation) calculation. It was established that the application of the Python-based code does not affect the accuracy of numerical results. At the same time, utilization of the Python-based code can save up to 25% of computation time for the simple 2D-geometries with a moderately low number of elements in the mesh, and up to 15% for the complex 3D-geometries with a number of elements in several millions. The compiled Python-based code is attached as supplementary material to this paper.

Keywords: CFD; Python; Ansys Fluent; automation (search for similar items in EconPapers)
Date: 2023
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.worldscientific.com/doi/abs/10.1142/S0129183123501140
Access to full text is restricted to subscribers

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:wsi:ijmpcx:v:34:y:2023:i:09:n:s0129183123501140

Ordering information: This journal article can be ordered from

DOI: 10.1142/S0129183123501140

Access Statistics for this article

International Journal of Modern Physics C (IJMPC) is currently edited by H. J. Herrmann

More articles in International Journal of Modern Physics C (IJMPC) from World Scientific Publishing Co. Pte. Ltd.
Bibliographic data for series maintained by Tai Tone Lim ().

 
Page updated 2025-03-20
Handle: RePEc:wsi:ijmpcx:v:34:y:2023:i:09:n:s0129183123501140