Submitted:
15 November 2024
Posted:
18 November 2024
Read the latest preprint version here
Abstract
This paper presents a revival of FORTRAN 66 code which calculates flow through curved pipes. Results from the code were originally presented in [Greenspan, D. Secondary flow in a curved tube. J. Fluid Mech. 1973, 57, 167-176]. We demonstrate a step-by-step code revival process and compare original (coarse) results to updated (fine) solutions. The purpose of our paper is to make the code available as modern Fortran for the scientific community. The code runs quickly on modern hardware architectures and enables fast understanding of the physical effects included.
Keywords:
1. Introduction
2. Code Revival
- Digitise the scanned document
- Convert the FORTRAN 66 code to modern Fortran
- Debugging and testing of the code
2.1. Digitisation
2.2. Conversion
2.3. Debugging and testing
3. Results
3.1. Comparison to Original Findings
3.2. Improvements
4. Discussion
5. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A Modernised Fortran Code















References
- Dean, W.R. Note on the motion of fluid in a curved pipe. Phil. Mag. 1927, 4, 208–223. [Google Scholar] [CrossRef]
- Dean, W.R. The stream-line motion of fluid in a curved pipe. Phil. Mag. 1928, 5, 673–695. [Google Scholar] [CrossRef]
- McConalogue, D.J.; Srivastava, R.S. Motion of fluid in a curved tube. Proc. Roy. Soc. A. 1968, 307, 37–53. [Google Scholar] [CrossRef]
- Greenspan, D; Schubert, A.B. Secondary flow in a curved tube. University of Wisconsin, Computer Sciences Department, Technical Report #155 1972. Available online: https://minds.wisconsin.edu/handle/1793/57756.
- Greenspan, D. Secondary flow in a curved tube. J. Fluid Mech. 1973, 57, 167–176. [Google Scholar] [CrossRef]
- Krom, J.G. The evolution of control and data acquisition at JET. Fus. Eng. Des. 1999, 43, 265–273. [Google Scholar] [CrossRef]
- EasyOCR. Available online: https://pypi.org/project/easyocr/.
- PyTesseract. Available online: https://pypi.org/project/pytesseract/.
- PDF.ai. Available online: https://pdf.ai/tools/ocr-pdf.
- MaxAI.me. Available online: https://www.maxai.me/pdf-tools/pdf-ocr/.
- Amazon Web Services. Available online:; https://aws.amazon.com/.
- Metcalf, M.; Reid, J. Fortran 90/95 Explained; Oxford University Press: Oxford, UK, 1996. [Google Scholar]
- OpenAI. Available online: https://chatgpt.com/.
- Microsoft Windows 11 Enterprise. Available online: https://www.microsoft.com/en-us/microsoft-365/windows/windows-11-enterprise.
- Microsft Visual Studio 2022. Available online: https://visualstudio.microsoft.com/downloads/.
- Intel oneAPI HPC Toolkit 2024.2. Available online: https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit.html#gs.i3q2al.
- GNU Octave, version 9.2.0. Available online: https://octave.org/.
- Canton, J.; Rinaldi, E.; Örlü, R.; Schlatter, P. Critical point for bifurcation cascades and featureless turbulence. Phys. Rev. Lett. 2020, 124, 014501. [Google Scholar] [CrossRef] [PubMed]
- Kühnen, J.; Holzner, M.; Hof, B.; Kuhlmann, H.C. Experimental investigation of transitional flow in a toroidal pipe. J. Fluid Mech. 2014, 738, 463–491. [Google Scholar] [CrossRef]
- Basse, N.T. The chimera revisited: Wall- and magnetically-bounded turbulent flows. Fluids 2024, 9, 34. [Google Scholar] [CrossRef]






Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).