descriptors_braginskii_m Module

Definition of additional descriptors not available from PARALLAX


Uses


Contents


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: BND_BRAGTYPE_UPWIND = 300

Takes the upwind value (i.e. first order local neumann) If pen_bndval_into or pen_bndval_out are supplied, they should be in the range 0 <= val <= 1, which will give a local gradient by setting the boundary value as val * upwind_value Note that val=1 has no effect, while val->0 applies an increasingly strong gradient. val > 1 is allowed if you want to experiment with positive gradients

integer, public, parameter :: BND_BRAGTYPE_PARALLEL_HEAT_TRANSMISSION = 330
integer, public, parameter :: BND_BRAGTYPE_SONIC_LOCAL = 340

Applies upar = \pm c_s, where the sound speed is evaluated locally

integer, public, parameter :: BND_BRAGTYPE_BOHM_LOCAL = 341

Applies upar >= \pm c_s, where the sound speed is evaluated locally

Applies upar = pm c_s, where the sound speed is interpolated to the target value

Applies upar = pm c_s, where the sound speed is interpolated to the target value

integer, public, parameter :: BND_BRAGTYPE_SONIC_DRIFT_LOCAL = 345

Applies Bohm-Chodura sonic boundary conditions with drift corrections, i.e.: upar = pm c_s -v_E*n / (n \cdot b)

integer, public, parameter :: BND_BRAGTYPE_BOHM_DRIFT_LOCAL = 346

Applies Bohm-Chodura boundary conditions with drift corrections, i.e.: upar >= pm c_s -v_E*n / (n \cdot b)

integer, public, parameter :: BND_BRAGTYPE_ZONAL_NEUMANN = 375

Zonal Neumann boundary condition usable for potential at core

integer, public, parameter :: BND_BRAGTYPE_FLOATING_POTENTIAL_LOCAL = 370

Applies potential = Lambda * T_e, for the local electron temperature and Lambda \approx 2.69 as the sheath potential difference

Applies potential = Lambda * T_e, for the target-interpolated electron temperature and Lambda \approx 3.1 as the sheath potential difference

integer, public, parameter :: BND_BRAGTYPE_JPAR_SMOOTHPENZERO = 380

Applies jpar = 0 boundary conditions at targets Smoothly penalised to zero


Subroutines

public subroutine convert_descriptor_char_int(char_descr, int_descr)

Extends PARALLAX subroutine of the same name converts character, e.g. as specified in parameter files, into actual (integer) descriptor Dirichlet boundary condition zeroth order Dirichlet boundary condition first order Neumann boundary condition first order nothing applied for boundary conditions

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: char_descr

character descriptor

integer, intent(out) :: int_descr

actual descriptor for code

Read more…

public subroutine convert_descriptor_int_char(int_descr, char_descr)

Converts integer descriptor into character descriptor

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: int_descr

Integer descriptor

character(len=:), intent(out), allocatable :: char_descr

Character descriptor