MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
mod_rotating_frame Module Reference

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...
 

Detailed Description

Module for including rotating frame in (magneto)hydrodynamics simulations The rotation vector is assumed to be along z direction (both in cylindrical and spherical)

Function/Subroutine Documentation

◆ rotating_frame_add_source()

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.

Here is the call graph for this function:

◆ rotating_frame_init()

subroutine mod_rotating_frame::rotating_frame_init

Initialize the module.

Definition at line 32 of file mod_rotating_frame.t.

Here is the call graph for this function:

◆ rotating_frame_params_read()

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.

Variable Documentation

◆ omega_frame

double precision mod_rotating_frame::omega_frame

Rotation frequency of the frame.

Definition at line 9 of file mod_rotating_frame.t.