Author
Listed:
- 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)
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.
Suggested Citation
Vyacheslav Papkov & Nikita Shadymov & Dmitry Pashchenko, 2023.
"CFD-modeling of fluid flow in Ansys Fluent using Python-based code for automation of repeating calculations,"
International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 34(09), pages 1-15, September.
Handle:
RePEc:wsi:ijmpcx:v:34:y:2023:i:09:n:s0129183123501140
DOI: 10.1142/S0129183123501140
Download full text from publisher
As the access to this document is restricted, you may want to search for a different version of it.
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wsi:ijmpcx:v:34:y:2023:i:09:n:s0129183123501140. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscinet.com/ijmpc/ijmpc.shtml .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.