Skip to content
Snippets Groups Projects
README.md 3.79 KiB
Newer Older
# HeLaZ (Hermite-Laguerre Z-pinch solver, 2021)
To compile it check INSTALLATION.txt
How to run it
1. Be sure to have correct library paths in local/dirs.inc for the different libraries
2. Compile from /HeLaZ using make, the binary will be located in /HeLaZ/bin
4. You can run a typical CBC to test the compilation using the basic fort.90 parameter file,
   just type ./bin/helaz3
5. It is possible to run it in parallel (MPI) as mpirun -np N ./bin/helaz3 Np Ny Nz
   where N=Np x Ny x Nz is the number of processes and Np Ny Nz are the parallel dimensions in
	 Hermite polynomials, binormal direction and parallel direction, respectively
6. You can stop your simulation without breaking output file by creating a blank file call "mystop"
   in the directory where the simulation is running. (the file will be removed once read)
7. You can obtain various plots and gifs using HeLaZ/wk/header_3D_results.m once the simulation is done.
// 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.
3. HeLaZ 3D
	3.8 HeLaZ has been benchmarked in shearless CBC with GENE for various gradients values

Antoine Cyril David Hoffmann's avatar
ud  
Antoine Cyril David Hoffmann committed
	3.7 The frequency plane has been transposed from positive kx to positive ky for easier implementation of shear. Also added 3D zpinch geometry
	3.6 HeLaZ is now parallelized in p, kx and z and benchmarked for each parallel options with gbms (new molix) for linear fluxtube shearless.
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	3.5 Staggered grid for parallel odd/even coupling

	3.4 HeLaZ can run with adiabatic electrons now!

	3.3 HeLaZ 3D has been benchmarked in fluxtube salphaB geometry linear run with molix (B.J.Frei) code and works now for shear = 0 with periodic z BC

	3.2 Stopping file procedure like in GBS is added

	3.1 Implementation of mirror force

	3.0 HeLaZ is now 3D and works like HeLaZ 2D if Nz = 1, the axis were renamed (r,z) -> (x,y,z) and now the parallel direction is ez. All arrays have been extended, diagnostics and analysis too. The linear coefficients are now precomputed with lin_coeff_and_geometry routines.

Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
2. MPI parallel version
	2.7 Versatile interpolation of kperp for the cosolver matrices and corrections done on DGGK

	2.6 Change of collisionality normalisation (from nu_ei to nu_ii), implementation of FCGK

	2.5 GK cosolver collision implementation
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	2.4 2D cartesian parallel (along p and kr)
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	2.3 GK Dougherty operator
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	2.2 Allow restart with different P,J values (results are not concluents)
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	2.1 First compilable parallel version (1D parallel along kr)
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
1. Implementation of the non linear Poisson brackets term
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.4 Quantitative study with stationary average particle flux \Gamma_\infty
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.3 Linear analysis showed that a certain amount of PJ are recquired to trigger mode
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.2 Zonal flows are observed in a similar way to Ricci Rogers 2006 with GS2
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.1 Qualitative test : find similar turbulences as Hasegawa Wakatani system with few moments
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.1 Methods in fourier_mod.f90 have been validated by tests on Hasegawa Wakatani system
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.1 Methods in fourier_mod.f90 have been validated by tests on Hasegawa Wakatani system
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	1.0 FFTW3 has been used to treat the convolution as a product and discrete fourier transform
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
0. Write MOLI matlab solver in Fortran using Monli1D as starting point
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.6 Benchmarks now include Dougherty, Lenard-Bernstein and Full Coulomb collision operators
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.5 Load COSOlver matrices
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.4 Benchmark with MOLI matlab results for Z-pinch (cf. kz_linear script)
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.3 RK4 time solver
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.2 implement moment hierarchy linear terms
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.1 implement linear Poisson equation in fourier space
Antoine Cyril David Hoffmann's avatar
Antoine Cyril David Hoffmann committed
	0.0 go from 1D space to 2D fourier and from Hermite basis to Hermite-Laguerre basis
3. 3D shearless periodic version
	3.x Benchmark with Gene and 3D transport analysis
4. Shear and complex boundary conditions