Versions Compared

Key

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

...

FILES

CONTENT

​triangular_grid_module.f90

Module that supports reading, writing and processing triangular grids

triangular_grid_ids_io.f90Module supporing the storage of triangular grids in IMAS
imas_data_io.f90Module supporing the storage of physical quantities (tallies) in IMAS
eirene_data_io.f90Module supporing 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.f90
global_parameters.f90
save_input_main.f90Program that takes a set of EIRENE input files and puts their content to IMAS
provide_input_main.f90Program that extracts EIRENE input from IMAS, providing it in EIRENE native format
MakefileUsed to compile the programs
save_input.par
provide_input.par
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.dat
Btotal.dat, bx.dat, by.dat, bz.dat
README.txtBrief description of how to compile and run
user_guide.pdfPDF version of this document

...

The program save_input.exe takes parameters from the file save_input.par. ????????????????????????????

! Parameters that control saving the EIRENE input to IMAS.
! Use '!' when inserting comment lines.
! You can add comments at the end of each line unless this line holds a comment
! (i.e., a text containing blanks).
! Do not change the order of the parameters.
!
eirene                                         <= IMAS database
10003                                          <= shot
1                                              <= run
'IDS created to test EIRENE input storage'     <= IDS comment
'Yurii Yakovenko'                              <= input provider
'long ago'                                     <= creation date
!!! grid data
"SN"                                         <= grid name
4                                            <= grid index in dictionary (single null)
"EIRENE grid for single null configuration"  <= grid description
"primary_standard"                 <= poloidal space name
"primary poloidal triangular grid" <= poloidal space description
soledge3x.npco_char                <= grid node file
soledge3x.elemente                 <= grid triangle file
soledge3x.neighbors                <= grid neighbor file
!!! Physical quantities
bx.dat       <= bx file
by.dat       <= by file
bz.dat       <= bz file
Btotal.dat   <= Btotal file
vx.dat       <= vx file
vy.dat       <= vy file
vz.dat      <= vz file
Te.dat       <= Te file
!!! Ion physical quantities
2           <= Number of ion species
! Ion species 1
D  2  1  1  <= label, mass, Z_ion, Z_element
TD.dat      <= temperature file
nD.dat      <= density file
! Ion species 2
T  3  1  1  <= label, mass, Z_ion, Z_element
TT.dat      <= temperature file
nT.dat      <= density file

File provide_input.par

! Parameters that control saving the EIRENE input to IMAS.
! Use '!' when inserting comment lines.
! You can add comments at the end of each line unless this line holds a comment
! (i.e., a text containing blanks).
! Do not change the order of parameters.
!
eirene                      <= IMAS database
10003                       <= shot
1                           <= run
input.dat                  <= generic suffix
!!! grid data
eirene.nodes                <= grid node file
eirene.triangles            <= grid triangle file
eirene.neighbors            <= grid neighbor file
!!! Physical quantities
bx_input.dat      <= bx file
by_input.dat      <= by file
bz_input.dat      <= bz file
BF_input.dat      <= total B file
vx_input.dat      <= vx file
vy_input.dat      <= vy file
vz_input.dat      <= vz file

Storing EIRENE triangular grids in IMAS

...