...
- Introduction
- Files provided
- Running a test example
- Structure of the parameter command files
- Storing the EIRENE triangular grids in IMAS
- Structure of EIRENE files keeping the grid
- Presentation of EIRENE grid in GGD
- Module triangular_grid_modile
- Data types
- Methods
- Module triangular_grid_ids_io
- Data types
- Methods
- EIRENE input wrapper
- Structure of EIRENE input files
- Module eirene_data_io
- Data types
- Methods
- Module imas_data_io
- Constants
- Methods
- Module edge_profiles_io
- Data types
- Methods
- Module equilibrium_io
- Data types
- Methods
- Module global_objects
- Constants
- Methods
- Module imas_controls_for_input
- Data types
- Methods
- Main program files save_input_main.f90 and provide_input_main.f90
- Things to be done
...
FILES | CONTENT |
---|---|
triangular_grid_module.f90 | Module that supports reading, writing and processing triangular grids |
triangular_grid_ids_io.f90 | Module supporting the storage of triangular grids in IMAS |
imas_data_io.f90 | Module supporting the storage of physical quantities (tallies) in IMAS |
eirene_data_io.f90 | Module supporting reading / writing of EIRENE data files |
edge_profiles_io.f90 | Module that supports placing the data to the 'edge_profiles' IDS |
equilibrium_io.f90 | Module that supports placing the data to the 'equilibrium' IDS |
imas_controls_for_input.f90 | Module that works with the parameter files (the files controlling the work of the programs) |
global_parameters.f90 | Module that holds constants and some service routines |
save_input_main.f90 | Main file of the program save_input.exe |
provide_input_main.f90 | Main file of the program provide_input.exe |
Makefile | Used to compile the programs |
save_input.par | A template parameter command file for the program save_input.exe |
provide_input.par | A template parameter command file for the program provide_input.exe |
soledge3x.npco_char | Triangular grid example received from the EIRENE team |
soledge3x.elemente | Another file of this example |
soledge3x.neighbor | Another file of this example |
Te.dat, nT.dat, TT.dat, nD.dat, TD.dat | Sample files supposed to contain the temperature and density of electrons, D ions and T ions |
Btotal.dat, bx.dat, by.dat, bz.dat | Sample files supposed to contain the strength and components of the magnetic field |
README.txt | Brief description of how to compile and run |
user_guide.pdf | PDF version of this document |
...
- Copy the files to your directory.
- If you wish to test the programs with your own files, copy them to the same directory. Do not forget to put the correct names to the command file save_input.par.
- Load the IMAS library by typing:
module load imasenv/3.37.0
- Create the IMAS database entry:
imasdb eirene
- Now you can compile the examples. Type
make clean
make save_input
- Run the program:
./save_input.exe
The program puts the grid stored in the files soledge3x.* and the content of the dat-files into the IMAS databaseeirene
. - Type
make provide_input
- Run the program:
./provide_input.exe
- Compare the new files
eirene.*
with the original filessoledge3x.*
and the original data files with the new files (their names end with the suffix '_input.dat').
Structure of the
...
command files
The program save_input.exe takes parameters that control the work of the program from the file save_input.par. A template of this file is given below.
...