smod_equil_coronal_flux_tube Submodule

This submodule defines a magnetic flux tube embedded in a uniform magnetic environment. In this case the flux tube is under coronal conditions where the subscript e denotes the outer region. More specifically the equilibrium is defined as . The geometry can be overridden in the parfile, and is cylindrical by default for .

This equilibrium is taken from chapter 6, fig. 6.7 in Roberts, Bernard (2019). MHD Waves in the Solar Atmosphere. Cambridge University Press. DOI.



Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=dp), private :: rho_e
real(kind=dp), private :: p_e
real(kind=dp), private :: B_0
real(kind=dp), private :: B_e

Functions

function rho0(r)

Arguments

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

Return Value real(kind=dp)

function T0(r)

Arguments

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

Return Value real(kind=dp)

function p0(r)

Arguments

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

Return Value real(kind=dp)

function B03(r)

Arguments

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

Return Value real(kind=dp)


Module Procedures

module procedure coronal_flux_tube_eq module module subroutine coronal_flux_tube_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