Accueil > Équipes > Dynamique des Fluides Astrophysiques > Boris Dintrans > M2R ASEP UE33: TP1 "Numerical methods"

 

M2R ASEP UE33: TP1 "Numerical methods"

Par Boris Dintrans - 28/11/2014

 

M2R ASEP UE33: TP1 "Numerical methods"


Statement:
-  en français
-  english form

First part: the heat equation

-  chaleur_explicite.py
-  chaleur_implicite.py

You will also need the following Python module for the implicit method (tridiagonal solver):

tridag.py

Second part: the advection equation

-  advection_explicite.py
-  advection_implicite.py

Note

If you want to replay this practical session on your own computer, you need to have Python+Matplotlib installed:
-  under Linux : Python is installed by default and you just need to be sure that the Matplotlib is also present. A simple installation using rpm (Fedora/RedHat) or apt-get (Ubuntu/Debian) commands is sometimes required.
-  under Windows or Mac OS: the simple way to install Python is to download the free Enthought distribution:

https://store.enthought.com/

Indeed, this package provide all the modules you need to work well under Python.

Another possibility is to install a virtual machine and then to run Python inside this Linux client. See e.g. the free Virtualbox software from Oracle:

https://www.virtualbox.org/

 

 

[Page Précédente] [Dans la même rubrique] [Sommaire]

 

 

Site du CNRS Logo OMP
Logo UPS
Logo INSU-CNRS

Annuaire

Rechercher

Sur ce site



Bibliotheque

Laboratoire Astrophysique de Toulouse - Tarbes (UMR5572)

CNRS (Midi-Pyrénées)

Univ. Paul Sabatier

Liens utiles

Accueil Imprimer Contact mail Plan du site Crédits