geo
moment_kinetics.geo
— Modulemodule for including axisymmetric geometry in coordinates (z,r), with z the vertical coordinate and r the radial coordinate
moment_kinetics.geo.geometric_coefficients
— Typestruct containing the geometric data necessary for non-trivial axisymmetric geometries, to be passed around the inside of the code, replacing the geometry_input
struct from input_structs.jl
The arrays of 2 dimensions are functions of (z,r)
moment_kinetics.geo.get_default_rhostar
— Methodfunction get_default_rhostar(reference_params)
Calculate $c_\mathrm{ref} / \Omega_\mathrm{ref} L_\mathrm{ref} = m_i c_\mathrm{ref} / e B_\mathrm{ref} L_\mathrm{ref}$.
This is similar to the de-dimensionalised ion gyroradius at reference parameters, which would be sqrt(2)*rhostar, as $v_{Ti}(T_\mathrm{ref}) = \sqrt{2 T_\mathrm{ref} / m_i} = \sqrt{2} c_\mathrm{ref}$.
moment_kinetics.geo.init_magnetic_geometry
— Methodfunction to initialise the geometry coefficients inputdata – geometryinput type z – coordinate type r – coordinate type
moment_kinetics.geo.setup_geometry_input
— Methodfunction to read the geometry input data from the TOML file
the TOML namelist should be structured like
[geometry] pitch = 1.0 rhostar = 1.0 DeltaB = 0.0 option = ""