Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Introduction
  2. Files provided
  3. Running a test example
  4. Structure of the parameter command files
  5. Storing the EIRENE triangular grids in IMAS
    1. Structure of EIRENE files keeping the grid
    2. Presentation of EIRENE grid in GGD
    3. Module  triangular_grid_modile 
      1. Data types
      2. Methods
    4. Module  triangular_grid_ids_io
      1. Data types
      2. Methods
  6. EIRENE input wrapper
    1. Structure of EIRENE input files
    2. Module eirene_data_io
      1. Data types
      2. Methods
    3. Module imas_data_io
      1. Constants
      2. Methods
    4. Module edge_profiles_io
      1. Data types
      2. Methods
    5. Module equilibrium_io
      1. Data types
      2. Methods
    6. Module global_objects
      1. Constants
      2. Methods
    7. Module imas_controls_for_input
      1. Data types
      2. Methods
    8. Main program files  save_input_main.f90  and  provide_input_main.f90
  7. Things to be done

...

FILES

CONTENT

​triangular_grid_module.f90

Module that supports reading, writing and processing triangular grids

triangular_grid_ids_io.f90Module supporting the storage of triangular grids in IMAS
imas_data_io.f90Module supporting the storage of physical quantities (tallies) in IMAS
eirene_data_io.f90Module supporting reading / writing of EIRENE data files
edge_profiles_io.f90Module that supports placing the data to the 'edge_profiles' IDS
equilibrium_io.f90Module that supports placing the data to the 'equilibrium' IDS
imas_controls_for_input.f90Module that works with the parameter files (the files controlling the work of the programs)
global_parameters.f90Module that holds constants and some service routines
save_input_main.f90Main file of the program save_input.exe
provide_input_main.f90Main file of the program provide_input.exe
MakefileUsed to compile the programs
save_input.parA template parameter command file for the program save_input.exe
provide_input.parA template parameter command file for the program provide_input.exe
soledge3x.npco_charTriangular grid example received from the EIRENE team
soledge3x.elementeAnother file of this example
soledge3x.neighborAnother file of this example
Te.dat, nT.dat, TT.dat, nD.dat, TD.datSample files supposed to contain the temperature and density of electrons, D ions and T ions
Btotal.dat, bx.dat, by.dat, bz.datSample files supposed to contain the strength and components of the magnetic field
README.txtBrief description of how to compile and run
user_guide.pdfPDF version of this document

...

  1. Copy the files to your directory. 
  2. 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.
  3. Load the IMAS library by typing:
    module load imasenv/3.37.0    
  4. Create the IMAS database entry:
    imasdb eirene 
  5. Now you can compile the examples. Type
    make clean 
    make save_input 
  6. 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 database  eirene .
  7. Type
    make provide_input 
  8. Run the program:
    ./provide_input.exe 
  9. Compare the new files  eirene.*   with the original files  soledge3x.* 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. 

...