MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_cak_force.t File Reference

Go to the source code of this file.

Modules

module  mod_cak_force
 Module to include CAK radiation line force in (magneto)hydrodynamic models Computes both the force from free electrons and the force from an ensemble of lines (various possibilities for the latter). There is an option to only simulate the pure radial CAK force (with various corrections applied) as well as the full vector CAK force. Depending on the chosen option additional output are the CAK line force component(s) and, when doing a 1-D radial force, the finite disc factor.

Functions/Subroutines

subroutine, public mod_cak_force::cak_init (phys_gamma)
 Initialize the module.
subroutine, public mod_cak_force::set_cak_force_norm (rstar_cgs, twind_cgs)
 Compute some (unitless) variables for CAK force normalisation.
subroutine, public mod_cak_force::cak_add_source (qdt, ixil, ixol, wct, w, x, energy, qsourcesplit, active)
 w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO
subroutine, public mod_cak_force::cak_get_dt (wprim, ixil, ixol, dtnew, dxd, x)
 Check time step for total radiation contribution.

Variables

real(8), public mod_cak_force::cak_alpha
 Line-ensemble parameters in the Gayley (1995) formalism.
real(8), public mod_cak_force::gayley_qbar
real(8), public mod_cak_force::gayley_q0
real(8), public mod_cak_force::kappae_cgs = 0.0d0
 Free-electron scattering opacity.
integer, public mod_cak_force::gcak1_
 Extra slots to store quantities in w-array.
integer, public mod_cak_force::gcak2_
integer, public mod_cak_force::gcak3_
integer, public mod_cak_force::fdf_
integer, public mod_cak_force::alpha_
integer, public mod_cak_force::qbar_
integer, public mod_cak_force::q0_
integer, public mod_cak_force::kappae_