Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Advancements in stratified flows through simulation, experiment and open research software development
KTH, School of Engineering Sciences (SCI), Centres, Linné Flow Center, FLOW. KTH, School of Engineering Sciences (SCI), Mechanics. (Erik Lindborg)ORCID iD: 0000-0002-2979-6327
2019 (English)Doctoral thesis, comprehensive summary (Other academic)Alternative title
Framsteg inom stratifierade strömningar genom simulering, experiment och utveckling av öppen mjukvara (Swedish)
Abstract [en]

Two studies of two-dimensional models of flows influenced by stratification and stratification/rotation are carried out in order to investigate whether a two-dimensional model can reproduce a downscale energy cascade with an associated k − 5/3 wavenumber spectrum. Firstly, a series of highly resolved numerical simulations of the classical shallow water model is carried out. A forward energy cascade is observed but the dynamics is dominated by shocks, with an associated k −2-spectrum. A theory for shallow water wave turbulence is formulated and compared to the results from the simulations. Secondly, a series of simulations of a new two-dimensional toy model is carried out, showing that the model is not generating shocks and can reproduce a downscale energy cascade with an associated k − 5/3 spectrum. The energy transfer is studied in detail in Fourier space and is compared with results from a general circulation model. An experimental study of strongly stratified turbulence at the Coriolis platform in Grenoble is carried out, with the aim of testing novel theories of stratified turbulence. Turbulence is generated by traversing an array of cylinders through a tank containing stratified salt water. Velocity is measured by Particle Image Velocimetry (PIV) and density is measured by conductivity probes. In particular, the author has developed the software system analysing the PIV images. Preliminary results from the experiment are presented. To realise the research objectives, a set of open-source software packages are developed in Python, under the umbrella of the FluidDyn project. The packages enable execution of simulations, experiments and processing of data. The codes are well documented, tested and designed to promote development and reuse.

Abstract [sv]

Två studier av tvådimensionella modeller av strömningar influerade av stratifiering respektive stratifiering och rotation genomförs, i syfte att undersöka huruvida en tvådimensionell modell kan reproducera en energikaskad till mindre skalor med ett associerat vågtalsspektrum av formen k−5/3. Först genomförs enserie högupplösta simuleringar av den klassiska modellen för strömningar i grunt vatten (shallow water model). En energikaskad till mindre skalor observeras,men strömningen domineras av stötar med ett associerat k−2-spektrum. Sedan genomförs en serie simuleringar av en ny tvådimensionell leksaksmodell, som visar att modellen kan reproducera en energikaskad till mindre skalor med ett associerat k−5/3-spektrum. Energiöverföringen studeras i detalj i Fourier-rummet och jämförs med resultat från en global cirkulationsmodell. En experimentell studie av starkt stratifierad turbulens genomförs vid Coriolisplattformen i Grenoble, med målet att testa nya teorier för stratifierad turbulens. Turbulensen genereras genom att traversera en rad cylindrar genom en tank innehållande stratifierat saltvatten. Hastighet mäts med Particle ImageVelocimetry (PIV) och densitet mäts med konduktivitetssonder. I synnerhet har författaren utvecklat den programvara som analyserar bilder från PIVmätningarna. Preliminära resultat från experimentet presenteras. För att realisera forskningsmålen utvecklas en mängd mjukvarupaket för öppet bruk i Python, i ett projekt med namnet FluidDyn. Paketen erbjuder möjligheter att utföra simuleringar, experiment och databehandling. Koderna är väl dokumenterade, testade och designade för att underlätta utveckling och återanvändning.

Place, publisher, year, edition, pages
Stockholm, Sweden: KTH Royal Institute of Technology, 2019. , p. 65
Series
TRITA-SCI-FOU ; 2019:37
Keywords [en]
geophysical flows, shallow water wave turbulence, energy cascade, stratified turbulence, waves and vortices, open source software
Keywords [sv]
geofysikaliska strömningar, vågturbulens i grunt vatten, energi- kaskad, stratifierad turbulens, vågor och virvlar, öppen mjukvara
National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
URN: urn:nbn:se:kth:diva-256564ISBN: 978-91-7873-270-8 (print)OAI: oai:DiVA.org:kth-256564DiVA, id: diva2:1346677
Public defence
2019-09-27, F3, Lindstedtsvägen 26, Stockholm, 10:00 (English)
Opponent
Supervisors
Funder
Swedish Research Council, 2013-5191
Note

QC20190902

QC 20200113

Available from: 2019-09-02 Created: 2019-08-28 Last updated: 2025-02-09Bibliographically approved
List of papers
1. Shallow water wave turbulence
Open this publication in new window or tab >>Shallow water wave turbulence
2019 (English)In: Journal of Fluid Mechanics, ISSN 0022-1120, E-ISSN 1469-7645, Vol. 874, p. 1169-1196Article in journal (Refereed) Published
Abstract [en]

The dynamics of irrotational shallow water wave turbulence forced in large scales and dissipated at small scales is investigated. First, we derive the shallow water analogue of the `four-fifths law' of Kolmogorov turbulence for a third order structure function involving velocity and displacement increments. Using this relation and assuming that the flow is dominated by shocks we develop a simple model predicting that the shock amplitude scales as (ϵd)1/3, where ϵ is the mean dissipation rate and d the mean distance between the shocks, and that the pth order displacement and velocity structure functions scale as (ϵd)p/3r/d, where r is the separation. Then we carry out a series of forced simulations with resolutions up to 76802, varying the Froude number, Ff=ϵ1/3/ckf1/3, where kf is the forcing wave number and c is the wave speed. In all simulations a stationary state is reached in which there is a constant spectral energy flux and equipartition between kinetic and potential energy in the constant flux range. The third order structure function relation is satisfied with a high degree of accuracy. Mean energy is found to scale as E∼√(ϵc/kf), and is also dependent on resolution, indicating that shallow water wave turbulence does not fit into the paradigm of a Richardson-Kolmogorov cascade. In all simulations shocks develop, displayed as long thin bands of negative divergence in flow visualisations. The mean distance between the shocks is found to scale as dFf1/2/kf. Structure functions of second and higher order are found to scale in good agreement with the model. We conclude that in the weak limit, Ff→0, shocks will become denser and weaker and finally disappear for a finite Reynolds number. On the other hand, for a given Ff, no matter how small, shocks will prevail if the Reynolds number is sufficiently large.

Place, publisher, year, edition, pages
Cambridge University Press, 2019
National Category
Fluid Mechanics
Research subject
Physics; Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-255057 (URN)10.1017/jfm.2019.375 (DOI)000475481700001 ()2-s2.0-85073142699 (Scopus ID)
Funder
Swedish Research Council, 2013-5191
Note

QC 20190719

Available from: 2019-07-17 Created: 2019-07-17 Last updated: 2025-02-09Bibliographically approved
2. A two-dimensional toy model for geophysical turbulence
Open this publication in new window or tab >>A two-dimensional toy model for geophysical turbulence
2017 (English)In: Physics of fluids, ISSN 1070-6631, E-ISSN 1089-7666, Vol. 29, no 11, article id 111114Article in journal (Refereed) Published
Abstract [en]

A toy model for large scale geophysical turbulence is constructed by making two modifications of the shallow water model. Unlike the shallow water model, the toy model has a quadratic expression for total energy, which is the sum of Available Potential Energy (APE) and Kinetic Energy (KE). More importantly, in contrast to the shallow water model, the toy model does not produce any shocks. Three numerical simulations with different forcing are presented and compared with the simulation of a full General Circulation Model (GCM). The energy which is injected cascades in a similar way as in the GCM. First, some of the energy is converted from APE to KE at large scales. The wave field then undergoes a forward energy cascade displaying shallow spectra, close to k−5/3, for both APE and KE, while the vortical field either displays a k−3-spectrum or a more shallow spectrum, close to k−5/3, depending on the forcing. In a simulation with medium forcing wave number, some of the energy which is converted from APE to KE undergoes an inverse energy cascade which is produced by nonlinear interactions only involving the rotational component of the velocity field. The inverse energy cascade builds up a vortical field at larger scales than the forcing scale. At these scales, coherent vortices emerge with a strong dominance of anticyclonic vortices. The relevance of the simulation results to the dynamics of the atmosphere is discussed as in possible continuations of the investigation.

Place, publisher, year, edition, pages
American Institute of Physics (AIP), 2017
Keywords
shallow water equation, 2D turbulence, geophysical flows
National Category
Meteorology and Atmospheric Sciences Fluid Mechanics
Research subject
Engineering Mechanics; Physics
Identifiers
urn:nbn:se:kth:diva-218094 (URN)10.1063/1.4985990 (DOI)000416067400014 ()2-s2.0-85035141675 (Scopus ID)
Funder
Swedish Research Council, D0519101
Note

QC 20171211

Available from: 2017-11-22 Created: 2017-11-22 Last updated: 2025-02-09Bibliographically approved
3. First report of the MILESTONE experiment: strongly stratified turbulence and mixing efficiency in the Coriolis platform
Open this publication in new window or tab >>First report of the MILESTONE experiment: strongly stratified turbulence and mixing efficiency in the Coriolis platform
Show others...
2016 (English)In: VIIIth International Symposium on Stratified Flows (ISSF), 2016, 2016Conference paper, Published paper (Refereed)
Abstract [en]

Strongly stratified turbulence is a possible interpretation of oceanic and atmospheric mea-surements. However, this regime has never been produced in a laboratory experiment be-cause of the two conditions of very small horizontal Froude number Fh and large buoyancy Reynolds number R which require a verily large experimental facility. We present a new attempt to study strongly stratified turbulence experimentally in the Coriolis platform.The flow is forced by a slow periodic movement of an array of six vertical cylinders of 25 cm diameter with a mesh of 75 cm. Five cameras are used for 3D-2C scanned horizontalparticles image velocimetry (PIV) and stereo 2D vertical PIV. Five density-temperatureprobes are used to measure vertical and horizontal profiles and signals at fixed positions.The first preliminary results indicate that we manage to produce strongly stratified tur-bulence at very small Fh and large R in a laboratory experiment.

Keywords
stratified turbulence, PIV
National Category
Fluid Mechanics Meteorology and Atmospheric Sciences Oceanography, Hydrology and Water Resources
Identifiers
urn:nbn:se:kth:diva-198680 (URN)
Conference
VIIIth International Symposium on Stratified Flows, San Diego, USA, August 29 - September 1, 2016
Projects
MILESTONE: Mixing and length scales in Stratified Turbulence
Funder
EU, European Research Council, SGM 76437
Note

QC 20170109

Available from: 2016-12-20 Created: 2016-12-20 Last updated: 2025-02-09Bibliographically approved
4. FluidDyn: A Python Open-Source Framework for Research and Teaching in Fluid Dynamics by Simulations, Experiments and Data Processing
Open this publication in new window or tab >>FluidDyn: A Python Open-Source Framework for Research and Teaching in Fluid Dynamics by Simulations, Experiments and Data Processing
2019 (English)In: Journal of Open Research Software, ISSN 2049-9647, Vol. 7, no 1Article in journal (Refereed) Published
Abstract [en]

FluidDyn is a project to foster open-science and open-source in the fluid dynamics community. It is thought of as a research project to channel open-source dynamics, methods and tools to do science. We propose a set of Python packages forming a framework to study fluid dynamics with different methods, in particular laboratory experiments (package fluidlab), simulations (packages fluidfft, fluidsim and fluidfoam) and data processing (package fluidimage). In the present article, we give an overview of the specialized packages of the project and then focus on the base package called fluiddyn, which contains common code used in the specialized packages. Packages fluidfft and fluidsim are described with greater detail in two companion papers [4, 5]. With the project FluidDyn, we demonstrate that specialized scientific code can be written with methods and good practices of the open-source community. The Mercurial repositories are available in Bitbucket (https://bitbucket.org/fluiddyn/). All codes are documented using Sphinx and Read the Docs, and tested with continuous integration run on Bitbucket Pipelines and Travis. To improve the reuse potential, the codes are as modular as possible, leveraging the simple object-oriented programming model of Python. All codes are also written to be highly efficient, using C++, Cython and Pythran to speedup the performance of critical functions.

Place, publisher, year, edition, pages
United Kingdom: Ubiquity Press, Ltd., 2019
Keywords
Fluid dynamics research with Python, Numerical simulations, Laboratory experiments, Free and open-source software, modular, object-oriented, collaborative, efficient, tested, documented
National Category
Software Engineering Fluid Mechanics
Research subject
SRA - E-Science (SeRC); Physics
Identifiers
urn:nbn:se:kth:diva-248290 (URN)10.5334/jors.237 (DOI)2-s2.0-85066121901 (Scopus ID)
Projects
FluidDyn project
Funder
Swedish Research Council, 2013-5191
Note

QC 20220322

Available from: 2019-04-04 Created: 2019-04-04 Last updated: 2025-02-09Bibliographically approved
5. FluidFFT: Common API (C++ and Python) for Fast Fourier Transform HPC Libraries
Open this publication in new window or tab >>FluidFFT: Common API (C++ and Python) for Fast Fourier Transform HPC Libraries
2019 (English)In: Journal of Open Research Software, E-ISSN 2049-9647, Vol. 7, no 1Article in journal (Refereed) Published
Abstract [en]

The Python package fluidfft provides a common Python API for performing Fast Fourier Transforms (FFT) in sequential, in parallel and on GPU with different FFT libraries (FFTW, P3DFFT, PFFT, cuFFT). fluidfft is a comprehensive FFT framework which allows Python users to easily and efficiently perform FFT and the associated tasks, such as computing linear operators and energy spectra. We describe the architecture of the package composed of C++ and Cython FFT classes, Python “operator” classes and Pythran functions. The package supplies utilities to easily test itself and benchmark the different FFT solutions for a particular case and on a particular machine. We present a performance scaling analysis on three different computing clusters and a microbenchmark showing that fluidfft is an interesting solution to write efficient Python applications using FFT. 

Place, publisher, year, edition, pages
United Kingdom: Ubiquity Press, 2019
Keywords
fluid dynamics, Python, FFT, simulations
National Category
Software Engineering Computational Mathematics Fluid Mechanics
Research subject
Applied and Computational Mathematics; SRA - E-Science (SeRC)
Identifiers
urn:nbn:se:kth:diva-248292 (URN)10.5334/jors.238 (DOI)2-s2.0-85066150775 (Scopus ID)
Projects
FluidDyn project
Funder
Swedish Research Council, 2013–5191
Note

QC 20190412

Available from: 2019-04-04 Created: 2019-04-04 Last updated: 2025-02-09Bibliographically approved
6. FluidSim: Modular, Object-Oriented Python Package for High-Performance CFD Simulations
Open this publication in new window or tab >>FluidSim: Modular, Object-Oriented Python Package for High-Performance CFD Simulations
2019 (English)In: Journal of Open Research Software, ISSN 2049-9647, Vol. 7, no 1Article in journal (Refereed) Published
Abstract [en]

The Python package fluidsim is introduced in this article as an extensible framework for Computational Fluid Mechanics (CFD) solvers. It is developed as a part of FluidDyn project, an effort to promote open-source and open-science collaboration within fluid mechanics community and intended for both educational as well as research purposes. Solvers in fluidsim are scalable, High-Performance Computing (HPC) codes which are powered under the hood by the rich, scientific Python ecosystem and the Application Programming Interfaces (API) provided by fluiddyn and fluidfft packages. The present article describes the design aspects of fluidsim, which includes use of Python as the main language; focus on the ease of use, reuse and maintenance of the code without compromising performance. The implementation details including optimization methods, modular organization of features and object-oriented approach of using classes to implement solvers are also briefly explained. Currently, fluidsim includes solvers for a variety of physical problems using different numerical methods (including finite-difference methods). However, this metapaper shall dwell only on the implementation and performance of its pseudo-spectral solvers, in particular the two- and three-dimensional Navier-Stokes solvers. We investigate the performance and scalability of fluidsim in a state of the art HPC cluster. Three similar pseudo-spectral CFD codes based on Python (Dedalus, SpectralDNS) and Fortran (NS3D) are presented and qualitatively and quantitatively compared to fluidsim. The source code is hosted at Bitbucket as a Mercurial repository bitbucket.org/fluiddyn/fluidsim and the documentation generated using Sphinx can be read online at fluidsim.readthedocs.io.

Place, publisher, year, edition, pages
United Kingdom: Ubiquity Press, 2019
Keywords
fluid dynamics, Python, FFT, simulations
National Category
Software Engineering Fluid Mechanics
Research subject
SRA - E-Science (SeRC); Physics
Identifiers
urn:nbn:se:kth:diva-255120 (URN)10.5334/jors.239 (DOI)2-s2.0-85066122529 (Scopus ID)
Projects
FluidDyn project
Funder
Swedish Research Council, 2013–5191
Note

QC 20190719

Available from: 2019-07-18 Created: 2019-07-18 Last updated: 2025-02-09Bibliographically approved

Open Access in DiVA

Thesis_Mohanan_AshwinVishnu.pdf(26246 kB)1444 downloads
File information
File name FULLTEXT01.pdfFile size 26246 kBChecksum SHA-512
00c530367c8fd9202df20691bc9bdb31396bcb4eea7349abe12e94a6e96bc5ce059e75dab76af67ab45972c021a611dad0bce354d37426b05be16e643eac9ed6
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Mohanan, Ashwin Vishnu
By organisation
Linné Flow Center, FLOWMechanics
Fluid Mechanics

Search outside of DiVA

GoogleGoogle Scholar
Total: 1444 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

isbn
urn-nbn

Altmetric score

isbn
urn-nbn
Total: 1782 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf