GithubHelp home page GithubHelp logo

tungli / f5170-python Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 2.0 1.32 MB

Programming exercises in Python for "Introduction to Plasma Physics" at Masaryk university

Python 22.67% Jupyter Notebook 77.33%
educational-materials plasma-physics python27

f5170-python's Introduction

F5170-python

Programming exercises in Python for "Introduction to Plasma Physics" at Masaryk university

This repository is organized by mirroring Interactive Introduction to Plasma Physics. Part II: Hands-on exercises. You are encouraged to take a look at the original material to look for physical insight, context and pretty pictures. The code there is written in MATLAB. In this repository, you will find the code (in Python) needed to complete the exercises.

For instructions for installing Python and the Python package manager pip take a look at the wiki pages in this repository.

If you think you found an error or have a suggestion, please do not hesitate to email me at [email protected] or even better, create a github account and make an issue.

f5170-python's People

Contributors

tungli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

f5170-python's Issues

gradB drift

GradB drift from 3 is set up in a way that the drift is not comparable with theory. Set initial conditions differently or use different magnetic field

writing to file

Writing to file in a loop may be nontrivial. Add it to fundamentals or example scipt

three-body reactions

In 6_Balance three reactants are used for two binary collisions.
What is the rate for a three-reactant reaction combined from two binary collisions with known rates?
Under what conditions is it possible to combine two reactions into one?

rate constants explanation

Commentary about rate constants is missing. Also effect of distribution function overlap with cross section -- maybe geometric interpretation.

Commentary about cross section is also missing in 4 and 5.

exercise 5.4 too easy

Exercise 5.4 is interesting by showing what computers can do, nonetheless it is not very challenging as a programming exercise

exercise 2 in 6-Balance is confusing and has the wrong implementation

nAr = p/(kB*Tg) - y[:,0]- 0.5*y[:,2]- y[:,1]

should be

nAr = p/(kB*Tg) - y[:,0]- 2*y[:,2]- y[:,1]

from argon conservation.

In the case of non-reacting gas, this would be:

nAr = p/(kB*Tg) - y[:,0]- y[:,2]- y[:,1]

because of partial pressures, which makes the exercise a bit confusing.

update fundaments

2_Fundamentals contains instructions for matlab, and is missing some exercises in Python.

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.