|
MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
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. More...
Functions/Subroutines | |
| subroutine, public | cak_init (phys_gamma) |
| Initialize the module. | |
| subroutine, public | set_cak_force_norm (rstar_cgs, twind_cgs) |
| Compute some (unitless) variables for CAK force normalisation. | |
| subroutine, public | 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 | cak_get_dt (wprim, ixil, ixol, dtnew, dxd, x) |
| Check time step for total radiation contribution. | |
Variables | |
| real(8), public | cak_alpha |
| Line-ensemble parameters in the Gayley (1995) formalism. | |
| real(8), public | gayley_qbar |
| real(8), public | gayley_q0 |
| real(8), public | kappae_cgs = 0.0d0 |
| Free-electron scattering opacity. | |
| integer, public | gcak1_ |
| Extra slots to store quantities in w-array. | |
| integer, public | gcak2_ |
| integer, public | gcak3_ |
| integer, public | fdf_ |
| integer, public | alpha_ |
| integer, public | qbar_ |
| integer, public | q0_ |
| integer, public | kappae_ |
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.
USAGE:
| subroutine, public mod_cak_force::cak_add_source | ( | real(8), intent(in) | qdt, |
| integer, intent(in) | ixi, | ||
| integer, intent(in) | l, | ||
| integer, intent(in) | ixo, | ||
| l, | |||
| real(8), dimension(ixi^s,1:nw), intent(in) | wct, | ||
| real(8), dimension(ixi^s,1:nw), intent(inout) | w, | ||
| real(8), dimension(ixi^s,1:ndim), intent(in) | x, | ||
| logical, intent(in) | energy, | ||
| logical, intent(in) | qsourcesplit, | ||
| logical, intent(inout) | active ) |
w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO
Definition at line 258 of file mod_cak_force.t.

| subroutine, public mod_cak_force::cak_get_dt | ( | real(8), dimension(ixi^s,1:nw), intent(in) | wprim, |
| integer, intent(in) | ixi, | ||
| integer, intent(in) | l, | ||
| integer, intent(in) | ixo, | ||
| l, | |||
| real(8), intent(inout) | dtnew, | ||
| real(8), intent(in) | dx, | ||
| real(8), intent(in) | d, | ||
| real(8), dimension(ixi^s,1:ndim), intent(in) | x ) |
Check time step for total radiation contribution.
Definition at line 614 of file mod_cak_force.t.
| subroutine, public mod_cak_force::cak_init | ( | real(8), intent(in) | phys_gamma | ) |
Initialize the module.
Definition at line 154 of file mod_cak_force.t.

| subroutine, public mod_cak_force::set_cak_force_norm | ( | real(8), intent(in) | rstar_cgs, |
| real(8), intent(in) | twind_cgs ) |
Compute some (unitless) variables for CAK force normalisation.
Definition at line 240 of file mod_cak_force.t.
| integer, public mod_cak_force::alpha_ |
Definition at line 72 of file mod_cak_force.t.
| real(8), public mod_cak_force::cak_alpha |
Line-ensemble parameters in the Gayley (1995) formalism.
Definition at line 35 of file mod_cak_force.t.
| integer, public mod_cak_force::fdf_ |
Definition at line 71 of file mod_cak_force.t.
| real(8), public mod_cak_force::gayley_q0 |
Definition at line 35 of file mod_cak_force.t.
| real(8), public mod_cak_force::gayley_qbar |
Definition at line 35 of file mod_cak_force.t.
| integer, public mod_cak_force::gcak1_ |
Extra slots to store quantities in w-array.
Definition at line 71 of file mod_cak_force.t.
| integer, public mod_cak_force::gcak2_ |
Definition at line 71 of file mod_cak_force.t.
| integer, public mod_cak_force::gcak3_ |
Definition at line 71 of file mod_cak_force.t.
| integer, public mod_cak_force::kappae_ |
Definition at line 72 of file mod_cak_force.t.
| real(8), public mod_cak_force::kappae_cgs = 0.0d0 |
Free-electron scattering opacity.
Definition at line 38 of file mod_cak_force.t.
| integer, public mod_cak_force::q0_ |
Definition at line 72 of file mod_cak_force.t.
| integer, public mod_cak_force::qbar_ |
Definition at line 72 of file mod_cak_force.t.