This is a Preprint and has not been peer reviewed. This is version 1 of this Preprint.
Downloads
Supplementary Files
Authors
Abstract
The trajectory of non-buoyant fluid parcels under the influence of inertial oscillations is a pivotal phenomenon in geophysical fluid dynamics, impacting processes such as tracer transport, pollutant dispersion, and the dynamics of marine organisms. This study presents a comprehensive numerical investigation of the two-dimensional trajectory of a non-buoyant fluid parcel subjected to inertial oscillations, complemented by abrupt external forcing events.
The simulations were implemented using multiple open-source, code-based general programming languages, including Fortran, Python, GNU Octave, R, and Julia. By running 1,000 iterations in each environment, we rigorously evaluated the computational performance and accuracy of these languages in tackling this idealized problem. The results, visualized through static plots and an animation generated using the Matplotlib library, capture the oscillatory trajectories and the influence of rotational effects, validating the numerical models' ability to represent the fundamental physics governing fluid motion.
Furthermore, a robust statistical analysis compared the execution times across the programming environments. The Kruskal-Wallis test and Dunn's post-hoc test with Bonferroni correction reveal that Fortran exhibits significantly faster execution times compared to the other environments, highlighting its suitability for computationally intensive simulations in geophysical fluid dynamics. This study provides valuable insights into selecting appropriate computational tools and contributes to educational resources for teaching idealized fluid dynamics models, laying the foundation for more sophisticated hierarchical models applicable to ocean circulation, atmospheric dispersion, and biological transport influenced by oscillating currents.
DOI
https://doi.org/10.31223/X5GT35
Subjects
Atmospheric Sciences, Fluid Dynamics, Numerical Analysis and Computation, Numerical Analysis and Scientific Computing, Oceanography
Keywords
idealized models, Inertial oscillations, Fluid parcel trajectories, Geophysical fluid dynamics, Open-source programming languages
Dates
Published: 2024-04-24 10:51
License
CC BY Attribution 4.0 International
Additional Metadata
Conflict of interest statement:
None
Data Availability (Reason not available):
https://github.com/sandyherho/inerOsci
There are no comments or no comments have been made public for this article.