Giter VIP home page Giter VIP logo

enguerranvidal / turbulent-convection-with-dedalus Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 12.76 MB

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: MIT License

Python 100.00%
python python3 pickle dedalus fluid-dynamics boussinesq-approximations anelastic convection turbulent-flows rayleigh-number

turbulent-convection-with-dedalus's Introduction

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/

turbulent-convection-with-dedalus's People

Contributors

enguerranvidal avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.