XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
diffusion_module Module Reference

Module for computing anomalous transport by solving a simple Fick's law transport equation. More...

Public Attributes

logical diff_on =.false.
 Switch for anomalous diffusion. More...
 
logical diff_nonlinear =.false.
 Switch for including nonlinear terms. More...
 
real(kind=8) diff_bd_in =0D0
 inner boundary for anomalous diffusion More...
 
real(kind=8) diff_bd_out =1D0
 outer boundary for anomalous diffusion More...
 
real(kind=8) diff_bd_shift_in =0.05D0
 Shift relative to sml_diffusion_bd_in where diff. coeff starts to decay. More...
 
real(kind=8) diff_bd_shift_out =0.05D0
 Shift relative to sml_diffusion_bd_out where diff. coeff starts to decay. More...
 
real(kind=8) diff_bd_width_in =0.02D0
 Decay length of diffusion coefficients in rgn 1 and 2 (inner bd) More...
 
real(kind=8) diff_bd_width_out =0.02D0
 Decay length of diffusion coefficients in rgn 1 and 2 (outer bd) More...
 
real(kind=8) diff_bd_width_priv =0.02D0
 Decay length of diffusion coefficients in private region. More...
 
logical diff_pol_peak =.false.
 Whether the diffusion coefficient is constant or varies on a flux-surface (with Gaussian) More...
 
real(kind=8) diff_pol_peak_amp =0.2D0
 Mimimum of the poloidal scaling function of the diffusion operator. More...
 
real(kind=8) diff_pol_peak_angle =0D0
 Geometric poloidal angle at which the diffusion coefficient is peaked (rad/pi) More...
 
real(kind=8) diff_pol_peak_width =0.5D0
 Width of the peak of the diffusion coefficients (rad/pi) More...
 
integer diff_nvpe = 0
 Delta_vperp between two particles. More...
 
integer diff_nvpa = 0
 Delta_vpara between two particles. More...
 
integer diff_ptl_num = 0
 Total number of full-f particles (per rank) for random walk anomalous, diffusion; diff_ptl_num = (2*f0_nvp+1)*(f0_nmu+1)* diff_ptl_num_per_cell^2. More...
 
integer diff_ptl_num_per_cell = 1
 Multiplicator that determines #[of ptl per v-space cell]. More...
 
real(kind=8) diff_randwalk_en_cutoff = 0.95D0
 Energy cutoff for random walk diffusion in % of the max. energy of v-space grid. More...
 
real(kind=8) diff_randwalk_en_width = 0.01D0
 Decay width of the energy cutoff in % of the max. energy of v-space grid. More...
 

Detailed Description

Module for computing anomalous transport by solving a simple Fick's law transport equation.

Member Data Documentation

real (kind=8) diffusion_module::diff_bd_in =0D0

inner boundary for anomalous diffusion

real (kind=8) diffusion_module::diff_bd_out =1D0

outer boundary for anomalous diffusion

real (kind=8) diffusion_module::diff_bd_shift_in =0.05D0

Shift relative to sml_diffusion_bd_in where diff. coeff starts to decay.

real (kind=8) diffusion_module::diff_bd_shift_out =0.05D0

Shift relative to sml_diffusion_bd_out where diff. coeff starts to decay.

real (kind=8) diffusion_module::diff_bd_width_in =0.02D0

Decay length of diffusion coefficients in rgn 1 and 2 (inner bd)

real (kind=8) diffusion_module::diff_bd_width_out =0.02D0

Decay length of diffusion coefficients in rgn 1 and 2 (outer bd)

real (kind=8) diffusion_module::diff_bd_width_priv =0.02D0

Decay length of diffusion coefficients in private region.

logical diffusion_module::diff_nonlinear =.false.

Switch for including nonlinear terms.

integer diffusion_module::diff_nvpa = 0

Delta_vpara between two particles.

integer diffusion_module::diff_nvpe = 0

Delta_vperp between two particles.

logical diffusion_module::diff_on =.false.

Switch for anomalous diffusion.

logical diffusion_module::diff_pol_peak =.false.

Whether the diffusion coefficient is constant or varies on a flux-surface (with Gaussian)

real (kind=8) diffusion_module::diff_pol_peak_amp =0.2D0

Mimimum of the poloidal scaling function of the diffusion operator.

real (kind=8) diffusion_module::diff_pol_peak_angle =0D0

Geometric poloidal angle at which the diffusion coefficient is peaked (rad/pi)

real (kind=8) diffusion_module::diff_pol_peak_width =0.5D0

Width of the peak of the diffusion coefficients (rad/pi)

integer diffusion_module::diff_ptl_num = 0

Total number of full-f particles (per rank) for random walk anomalous, diffusion; diff_ptl_num = (2*f0_nvp+1)*(f0_nmu+1)* diff_ptl_num_per_cell^2.

integer diffusion_module::diff_ptl_num_per_cell = 1

Multiplicator that determines #[of ptl per v-space cell].

real (kind=8) diffusion_module::diff_randwalk_en_cutoff = 0.95D0

Energy cutoff for random walk diffusion in % of the max. energy of v-space grid.

real (kind=8) diffusion_module::diff_randwalk_en_width = 0.01D0

Decay width of the energy cutoff in % of the max. energy of v-space grid.


The documentation for this module was generated from the following file: