stellarator_configuration Module

Module containing defining parameters for a stellarator

This module contains a set of constants that defines a stellarator configuration. These parameters are based on external calculations and are hardcoded right now into this module. There will be the possibiltiy to set them via an input file in the future. The list below will be modified in further commits.



Contents


Variables

TypeVisibility AttributesNameInitial
character(len=20), public :: stella_config_name
integer, public :: stella_config_symmetry
integer, public :: stella_config_coilspermodule
real(kind=dp), public :: stella_config_rmajor_ref
real(kind=dp), public :: stella_config_rminor_ref
real(kind=dp), public :: stella_config_coil_rmajor
real(kind=dp), public :: stella_config_coil_rminor
real(kind=dp), public :: stella_config_aspect_ref
real(kind=dp), public :: stella_config_bt_ref
real(kind=dp), public :: stella_config_WP_area
real(kind=dp), public :: stella_config_WP_bmax
real(kind=dp), public :: stella_config_i0
real(kind=dp), public :: stella_config_a1
real(kind=dp), public :: stella_config_a2
real(kind=dp), public :: stella_config_dmin
real(kind=dp), public :: stella_config_inductance
real(kind=dp), public :: stella_config_coilsurface
real(kind=dp), public :: stella_config_coillength
real(kind=dp), public :: stella_config_max_portsize_width
real(kind=dp), public :: stella_config_maximal_coil_height
real(kind=dp), public :: stella_config_min_plasma_coil_distance
real(kind=dp), public :: stella_config_derivative_min_LCFS_coils_dist
real(kind=dp), public :: stella_config_plasma_volume
real(kind=dp), public :: stella_config_plasma_surface
real(kind=dp), public :: stella_config_WP_ratio
real(kind=dp), public :: stella_config_max_force_density
real(kind=dp), public :: stella_config_max_force_density_MNm
real(kind=dp), public :: stella_config_min_bend_radius
real(kind=dp), public :: stella_config_epseff
real(kind=dp), public :: stella_config_max_lateral_force_density
real(kind=dp), public :: stella_config_max_radial_force_density
real(kind=dp), public :: stella_config_centering_force_max_MN
real(kind=dp), public :: stella_config_centering_force_min_MN
real(kind=dp), public :: stella_config_centering_force_avg_MN
real(kind=dp), public :: stella_config_neutron_peakfactor
real(kind=dp), public, dimension(:), allocatable:: sc_D11_star_mono_input
real(kind=dp), public, dimension(:), allocatable:: sc_nu_star_mono_input

Subroutines

public subroutine new_stella_config(index)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: index

public subroutine stella_config_json()

Initialises the effective stellarator values using a json input file author: J Lion, IPP Greifswald None This routine reads in all effective variables that are given needed by the 'constructor' stella_config

The effective values are read in from a JSON-format file. None

Arguments

None

public subroutine stella_error(index, keyname)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: index
character, intent(in) :: keyname