gyacomo/
3D vs master
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
65e645f55013 | Ahoffmann | update script | Aug 2 2021 | ||||
aa3b1a058292 | Ahoffmann | wipe turbulence and gaussian blob init restart options added | Aug 2 2021 | ||||
b77c683dfc16 | Ahoffmann | typo on z grid | Aug 2 2021 | ||||
c77b3ab08080 | Ahoffmann | shorter | Aug 2 2021 | ||||
fcc0b4dbb0d1 | Ahoffmann | movie making script is shorter | Aug 2 2021 | ||||
072b85e478e3 | Ahoffmann | kernel and dnjs are now moved in numerics f90 | Aug 2 2021 | ||||
d1ce1be93368 | Ahoffmann | script cleaning | Aug 2 2021 | ||||
f9d7b5cd4ed1 | Ahoffmann | added the numerics mod to compilation | Aug 2 2021 | ||||
6f1a1fbefa49 | Ahoffmann | scripts | Jul 29 2021 | ||||
617dff004cb7 | Ahoffmann | F*****G TYPO | Jul 28 2021 |
README.md
HeLaZ (Hermite-Laguerre Z-pinch solver, 2021)
To compile it check INSTALLATION.txt
How to run it
- Be sure to have correct paths in local/dirs.inc for the different libraries
- Compile from HeLaZ/ using make
- To run the code, use HeLaZ/wk/local_run.m and run it to set up the parameters and the results folder
- Then go to the results folder and launch HeLaZ using mpirun -np num_procs ./../../../bin/helaz num_p num_kr
- You can obtain various plots and gifs using HeLaZ/wk/analysis_2D.m once the simulation is done. To select the correct output file, run parameters*.m with the corresponding simulation parameters and then run analysis_2D.m (everything with matlab from wk/)
// Comment : For some collision operators (Sugama and Full Coulomb) you have to run COSOlver from B.J.Frei first in order to generate the required matrices in HeLaZ/iCa folder.
Changelog
- MPI parallel version
2.5 GK Sugama
2.4 2D cartesian parallel (along p and kr)
2.3 GK Dougherty operator
2.2 Allow restart with different P,J values (results are not concluents)
2.1 First compilable parallel version (1D parallel along kr)
- Implementation of the non linear Poisson brackets term
1.4 Quantitative study with stationary average particle flux \Gamma_\infty
1.3 Linear analysis showed that a certain amount of PJ are recquired to trigger mode
1.2 Zonal flows are observed in a similar way to Ricci Rogers 2006 with GS2
1.1 Qualitative test : find similar turbulences as Hasegawa Wakatani system with few moments
1.1 Methods in fourier_mod.f90 have been validated by tests on Hasegawa Wakatani system
1.1 Methods in fourier_mod.f90 have been validated by tests on Hasegawa Wakatani system
1.0 FFTW3 has been used to treat the convolution as a product and discrete fourier transform
0. Write MOLI matlab solver in Fortran using Monli1D as starting point
0.6 Benchmarks now include Dougherty, Lenard-Bernstein and Full Coulomb collision operators
0.5 Load COSOlver matrices
0.4 Benchmark with MOLI matlab results for Z-pinch (cf. kz_linear script)
0.3 RK4 time solver
0.2 implement moment hierarchy linear terms
0.1 implement linear Poisson equation in fourier space
0.0 go from 1D space to 2D fourier and from Hermite basis to Hermite-Laguerre basis
Roadmap
- MPI parallel version
2.6 GK Full Coulomb collision operator
2.7 GPU?
- GK 3D version, kr,kz,kpar for linear device
- DK 3D version, kr,kz,kpar for linear device
- DK+GK 3D version, kr,kz,kpar for linear device
- 3D version with curvature