MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines | Variables
mod_random_heating Module Reference

Functions/Subroutines

subroutine getlqgrid (lQgrid, ixIL, ixOL, qt, trelax, x, mode, vtim, vlim)
 This module is for imposing randomized heating at x-axis for 2.5D simulation, for details please see Zhou et al. (2020, Nature Astronomy,4,994) and Li et al. (2022,ApJ,926,216). Users can define the parameters "trelax,vtim,vlim,periods,variation,num,mnx" in the mod_usr.t file. Example for using this module please see tests/mhd/coronal_rain_2.5D. More...
 
subroutine generatetv (vtim, vlim, periods, variation, mnx, num, si)
 
subroutine randomt (tb, vtim, periods, variation, filename)
 
subroutine randomv (va, vtim, vlim, mnx, num, si, filename)
 

Variables

double precision, dimension(:), allocatable va1
 
double precision, dimension(:), allocatable ta1
 
double precision, dimension(:), allocatable tb1
 
double precision, dimension(:), allocatable va2
 
double precision, dimension(:), allocatable ta2
 
double precision, dimension(:), allocatable tb2
 

Function/Subroutine Documentation

◆ generatetv()

subroutine mod_random_heating::generatetv ( integer, intent(in)  vtim,
integer, intent(in)  vlim,
double precision, intent(in)  periods,
double precision, intent(in)  variation,
integer, intent(in)  mnx,
integer, intent(in)  num,
double precision, intent(in)  si 
)

Definition at line 147 of file mod_random_heating.t.

Here is the call graph for this function:

◆ getlqgrid()

subroutine mod_random_heating::getlqgrid ( double precision, dimension(ixi^s), intent(inout)  lQgrid,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, intent(in)  qt,
double precision, intent(in)  trelax,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  mode,
integer, intent(in)  vtim,
integer, intent(in)  vlim 
)

This module is for imposing randomized heating at x-axis for 2.5D simulation, for details please see Zhou et al. (2020, Nature Astronomy,4,994) and Li et al. (2022,ApJ,926,216). Users can define the parameters "trelax,vtim,vlim,periods,variation,num,mnx" in the mod_usr.t file. Example for using this module please see tests/mhd/coronal_rain_2.5D.

Definition at line 19 of file mod_random_heating.t.

Here is the call graph for this function:

◆ randomt()

subroutine mod_random_heating::randomt ( double precision, dimension(:), intent(inout)  tb,
integer, intent(in)  vtim,
double precision, intent(in)  periods,
double precision, intent(in)  variation,
character(len=100), intent(in)  filename 
)

Definition at line 240 of file mod_random_heating.t.

◆ randomv()

subroutine mod_random_heating::randomv ( double precision, dimension(:), intent(inout)  va,
integer, intent(in)  vtim,
integer, intent(in)  vlim,
integer, intent(in)  mnx,
integer, intent(in)  num,
double precision, intent(in)  si,
character(len=100), intent(in)  filename 
)

Definition at line 264 of file mod_random_heating.t.

Variable Documentation

◆ ta1

double precision, dimension(:), allocatable mod_random_heating::ta1

Definition at line 4 of file mod_random_heating.t.

◆ ta2

double precision, dimension(:), allocatable mod_random_heating::ta2

Definition at line 4 of file mod_random_heating.t.

◆ tb1

double precision, dimension(:), allocatable mod_random_heating::tb1

Definition at line 4 of file mod_random_heating.t.

◆ tb2

double precision, dimension(:), allocatable mod_random_heating::tb2

Definition at line 4 of file mod_random_heating.t.

◆ va1

double precision, dimension(:), allocatable mod_random_heating::va1

Definition at line 4 of file mod_random_heating.t.

◆ va2

double precision, dimension(:), allocatable mod_random_heating::va2

Definition at line 4 of file mod_random_heating.t.