Skip to content
/ equ Public

G-eqdsk file reader & mesh maker for finite element method

License

Notifications You must be signed in to change notification settings

victowne/equ

Repository files navigation

equ

=-------------------------------------=
Author: Weikang Tang
Mail: weikang.tang@ipp.mpg.de
=-------------------------------------=

compatible with Python 3.7

libraries required:
numpy,h5py,matplotlib,scipy

reqdsk.py -> read geqdsk file format & interpolation
poincareRK4.py -> equlibrium magnetic field & creat triangle mesh

try:
python main.py gfilename nlayers

Some examples:
Bphi
Fig 1. contour plot of equilibrium toroidal magnetic field
poincare
Fig 2. poincare plot of magnetic field
triagnle
Fig 3. triangle mesh based on the magnetic flux

About

G-eqdsk file reader & mesh maker for finite element method

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages