smod_equil_rotating_plasma_cylinder Submodule

This submodule defines a cylindrical equilibrium, resembling a rotating plasma cylinder. The geometry can be overridden using the parfile.

This equilibrium is taken from Nijboer, R. J., Holst, B., Poedts, S., & Goedbloed, J. P. (1997). Calculating magnetohydrodynamic flow spectra. Computer physics communications, 106(1-2), 39-52.



Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=dp), private :: a21
real(kind=dp), private :: a22
real(kind=dp), private :: a3
real(kind=dp), private :: b21
real(kind=dp), private :: b22
real(kind=dp), private :: b3

Functions

function rho0()

Arguments

None

Return Value real(kind=dp)

function T0(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function dT0(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function v02(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function dv02(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function v03()

Arguments

None

Return Value real(kind=dp)

function B02(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function dB02(r)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: r

Return Value real(kind=dp)

function B03()

Arguments

None

Return Value real(kind=dp)


Module Procedures

module procedure rotating_plasma_cyl_eq module module subroutine rotating_plasma_cyl_eq(settings, grid, background, physics)

Arguments

TypeIntentOptionalAttributesName
type(settings_t), intent(inout) :: settings
type(grid_t), intent(inout) :: grid
type(background_t), intent(inout) :: background
type(physics_t), intent(inout) :: physics