-
Notifications
You must be signed in to change notification settings - Fork 129
Cosmic Ray Transport
The cosmic ray module solves the two moment equations for cosmic ray transport including both diffusion and streaming as described by Jiang & Oh (2018, ApJ, 854, 5). Anisotropic diffusion with respect to the direction of magnetic field is also allowed.
- use
-cr
to turn on the cosmic ray transport module
All the parameters for the cosmic ray module are set in the <cr>
block.
The reduced speed of light, which is the maximum speed cosmic rays are allowed to travel needs to be set.
<cr>
vmax = 1000 # maximum speed of cosmic rays in the same unit as flow velocity
All the absorption and scattering opacities can be calculated based on local gas quantities. This is done with a user defined opacity function, which can be enrolled using the function EnrollOpacityFunction
provided by the radiation class. Opacities in the ghost cells also need to be calculated in this function.
Getting Started
User Guide
- Configuring
- Compiling
- The Input File
- Problem Generators
- Boundary Conditions
- Coordinate Systems and Meshes
- Running the Code
- Outputs
- Using MPI and OpenMP
- Static Mesh Refinement
- Adaptive Mesh Refinement
- Load Balancing
- Special Relativity
- General Relativity
- Passive Scalars
- Shearing Box
- Diffusion Processes
- General Equation of State
- FFT
- Multigrid
- High-Order Methods
- Super-Time-Stepping
- Orbital Advection
- Rotating System
- Reading Data from External Files
- Non-relativistic Radiation Transport
- Cosmic Ray Transport
- Units and Constants
Programmer Guide