CHARCS_PARAMS Derived Type

type, public :: CHARCS_PARAMS

These characteristic scales are problem-dependent quantities. They are calculated in korc_units using the input parameters of a given KORC simulation.


Inherited by

type~~charcs_params~~InheritedByGraph type~charcs_params CHARCS_PARAMS type~korc_params KORC_PARAMS type~korc_params->type~charcs_params cpp

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
real(kind=rp), public :: time

real(kind=rp), public :: time_r

real(kind=rp), public :: velocity

Characteristic velocity. This is fixed to the speed of .

real(kind=rp), public :: length

Characteristic length scale calculated as times the relativistic time scale.

real(kind=rp), public :: mass

Characteristic particle mass. This is equal to the electron mass .

real(kind=rp), public :: charge

Characteristic particle charge. This is equal to the electron charge .

real(kind=rp), public :: density

Characteristic particle density. This is equal to , with the characteristic length.

real(kind=rp), public :: Eo

Characteristic electric field . Usually at the magnetic axis.

real(kind=rp), public :: Bo

Characteristic magnetic field . Usually at the magnetic axis.

real(kind=rp), public :: energy

Characteristic energy. This is equal to .

real(kind=rp), public :: pressure

Characteristic pressure.

real(kind=rp), public :: temperature

Characteristic plasma temperature (Joules). This is equal to .


Source Code

  TYPE, PUBLIC :: CHARCS_PARAMS
     !! @note KORC derived type containing characteristic scales used in the normalization of KORC variables. @endnote
     !! These characteristic scales are problem-dependent quantities. They are calculated in [[korc_units(module)]] using the input
     !! parameters of a given KORC simulation.

     REAL(rp) :: time
     !! @note Characteristic non-relativistic time scale given by \(1/\omega_{ce}\), where \(\omega_{ce}=e B_0/m_e\) is the
     !! largest electron cyclotron frequency in the simulation. @endnote
     REAL(rp) :: time_r
     !! @note Characteristic relativistic time scale given by \(1/\omega_{ce}\), where \(\omega_{ce}=e B_0/\gamma m_e\) is the
     !! largest relativistic electron cyclotron frequency in the simulation. @endnote
     REAL(rp) :: velocity 
     !! Characteristic velocity. This is fixed to the speed of \(c\).
     REAL(rp) :: length 
     !! Characteristic length scale calculated as \(c\) times the relativistic time scale.
     REAL(rp) :: mass 
     !! Characteristic particle mass. This is equal to the electron mass \(m_e\).
     REAL(rp) :: charge 
     !! Characteristic particle charge. This is equal to the electron charge \(q_e\).
     REAL(rp) :: density 
     !! Characteristic particle density. This is equal to \(1/l^3\), with \(l\) the characteristic length.
     REAL(rp) :: Eo 
     !! Characteristic electric field \(E_0\). Usually \(E_0\) at the magnetic axis.
     REAL(rp) :: Bo 
     !! Characteristic magnetic field \(B_0\). Usually \(B_0\) at the magnetic axis.
     REAL(rp) :: energy 
     !! Characteristic energy. This is equal to \(m_e c^2\).
     REAL(rp) :: pressure 
     !! Characteristic pressure. @todo This needs to be defined.
     REAL(rp) :: temperature 
     !! Characteristic plasma temperature (Joules). This is equal to \(m_e c^2\).
  END TYPE CHARCS_PARAMS