Zahkarov 1-D simulations, useful for ionosphere turbulence kinetic simulation vs. wavenumber
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Matlab
bin
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CMakeLists.txt
LICENSE
README.md
perf.f90
zakh.cpp
zakh.f90

README.md

image image image

Langmuir-1D Simulation

Zakharov Simulation

Originally authored by Hassanali Akbari as part of his PhD work.

Michael Hirsch converted to Fortran 2008, and works with gfortran, ifort, flang and other Fortran compilers on any operating system and computer.

The procedure to use this program is as follows:

  1. Build the Fortran code
  2. run the simulation
  3. plot with Matlab

Build

  • Linux
    apt install g++ cmake libboost-filesystem-dev libboost-program-options-dev
    ```sh
  • Mac
    brew install gcc boost

and then

cd bin
cmake ..
cmake --build .

## Run Simulation

arguments are: output_directory simulation_end_time electron_beam_env(as many beams as you like):
```sh
./zakhfort /tmp/test 1e-4 300

C++

./zakh --ev 300 -o /tmp/testcxx
  • --ev beam energy
  • -o output directory (will be created if it doesn't exist)

Plot Results

From GNU Octave or Matlab:

Sim_v6_3_Linux(0, /tmp/test)