Skip to content

Under the supervision of Prof. Matthew Browning, I was tasked to study the creation of a spectral solver for Boussinesq approximated fluid dynamics and then, using Dedalus, to study the effects of rotation and stratification on turbulent convection.

License

Notifications You must be signed in to change notification settings

EnguerranVidal/Turbulent-Convection-with-Dedalus

Repository files navigation

Turbulent-Convection-with-Dedalus

A few words :

During an abroad intership done at the University of Exeter under the supervision of Prof. Matthew Browning, I was tasked to create a code able to model accurately a fluid heated from below and chilled from above in regards to the Boussinesq and Anelastic approximation. Once this code done, I was to use it to determine the effects of rotation and stratification on turbulent convection. All the details on the physics and concepts behind this project can be found on the Internship Report.

This project was done using the Dedalus Python library available for Linux and Mac OS only. It is copyrighted under the MIT License ( for more details see License.md ).

Contents :

This code contains four individual and independant programs :

  • 1_Boussinesq_Regular : A regular Boussinesq fluid modelled using regular discretization and Numpy matrices operations for its calculations. The data calculated is collected and stored using pickle ( the functions used for the storage abilities are in the functions_pickle.py file.

  • 2_Boussinesq_Spectral : A regular Boussinesq fluid modelled using Fourier series spectral discretization. The data calculated is collected and stored using pickle once again ( see functions_pickle.py ).

  • 3_Boussinesq_Dedalus : A Boussinesq fluid modelled using Fourier series spectral discretization handled by Dedalus. The data calculated is collected and stored using regular .txt files ( see functions_txt.py ).

  • 4_Anelastic_Dedalus : An anelastic fluid handled by Dedalus. The data calculated is collected and stored using regular .txt files once again ( see functions_txt.py ).

The repository also houses other peculiar contents :

  • ANIMATIONS : A folder containing a few animations rendered from plots that were compiled by the imageio library. 1 was done using the 1_Boussinesq_Regular code while 2 to 6 were all made using 4_Anelastic_Dedalus.

  • Internship_Report_2020.pdf : The pdf report made as a conclusion to this internship.

  • plot_files.py) : .py file containing the functions responsible for the plots containing in the Internship Report.

Dedalus :

Dedalus is an open-source and MPI-parallelized Python library used mostly in Fluid Dynamic as it is incredibly efficient at solving non linear differential equations into closed physical domains with fixed equations and fixed boundary conditions. For more info, go visit their website : https://dedalus-project.org/

About

Under the supervision of Prof. Matthew Browning, I was tasked to study the creation of a spectral solver for Boussinesq approximated fluid dynamics and then, using Dedalus, to study the effects of rotation and stratification on turbulent convection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages