MPI-AMRVAC
3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
Module for including rotating frame in (magneto)hydrodynamics simulations The rotation vector is assumed to be along z direction (both in cylindrical and spherical) More...
Functions/Subroutines | |
subroutine | rotating_frame_params_read (files) |
Read this module's parameters from a file. More... | |
subroutine | rotating_frame_init () |
Initialize the module. More... | |
subroutine | rotating_frame_add_source (qdt, dtfactor, ixIL, ixOL, wCT, w, x) |
w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO More... | |
Variables | |
double precision | omega_frame |
Rotation frequency of the frame. More... | |
Module for including rotating frame in (magneto)hydrodynamics simulations The rotation vector is assumed to be along z direction (both in cylindrical and spherical)
subroutine mod_rotating_frame::rotating_frame_add_source | ( | double precision, intent(in) | qdt, |
double precision, intent(in) | dtfactor, | ||
integer, intent(in) | ixI, | ||
integer, intent(in) | L, | ||
integer, intent(in) | ixO, | ||
L, | |||
double precision, dimension(ixi^s,1:nw), intent(in) | wCT, | ||
double precision, dimension(ixi^s,1:nw), intent(inout) | w, | ||
double precision, dimension(ixi^s,1:ndim), intent(in) | x | ||
) |
w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO
Definition at line 41 of file mod_rotating_frame.t.
subroutine mod_rotating_frame::rotating_frame_init |
Initialize the module.
Definition at line 32 of file mod_rotating_frame.t.
subroutine mod_rotating_frame::rotating_frame_params_read | ( | character(len=*), dimension(:), intent(in) | files | ) |
Read this module's parameters from a file.
Definition at line 16 of file mod_rotating_frame.t.
double precision mod_rotating_frame::omega_frame |
Rotation frequency of the frame.
Definition at line 9 of file mod_rotating_frame.t.