params_neut_boundaries_parpen_m Module

Parameters for the neutrals model related with parallel boundary conditions



Contents


Variables

Type Visibility Attributes Name Initial
integer, protected :: bnddescr_neut_dens_pen = BND_TYPE_DIRICHLET_ZERO

Type of boundary condition of neutrals density for penalisation

real(kind=GP), protected :: bndval_neut_dens_peninto = 1.0_GP

Value for penalisation boundary of neutrals density where magnetic field is directed towards target

real(kind=GP), protected :: bndval_neut_dens_penout = 1.0_GP

Value for penalisation boundary of neutrals density where magnetic field is directed out of target

real(kind=GP), protected :: bndval_neut_dens_peninto_second = 1.0_GP

Value for secondary penalisation boundary (with y>y0) of neutrals density

real(kind=GP), protected :: bndval_neut_dens_penout_second = 1.0_GP

Value for secondary penalisation boundary (with y>y0) of neutrals density

integer, protected :: bnddescr_neut_parmom_pen = BND_TYPE_DIRICHLET_ZERO

Type of boundary condition of neutrals parallel momentum for penalisation

real(kind=GP), protected :: bndval_neut_parmom_peninto = 0.0_GP

Value for penalisation boundary of neutrals parallel momentum where magnetic field is directed towards target

real(kind=GP), protected :: bndval_neut_parmom_penout = 0.0_GP

Value for penalisation boundary of neutrals parallel momentum where magnetic field is directed out of target

real(kind=GP), protected :: bndval_neut_parmom_peninto_second = 0.0_GP

Value for secondary penalisation boundary (with y>y0) of neutrals parallel momentum

real(kind=GP), protected :: bndval_neut_parmom_penout_second = 0.0_GP

Value for secondary penalisation boundary (with y>y0) of neutrals parallel momentum

integer, protected :: bnddescr_neut_pressure_pen = BND_TYPE_DIRICHLET_ZERO

Type of boundary condition of neutrals pressure for penalisation

real(kind=GP), protected :: bndval_neut_pressure_peninto = 1.0_GP

Value for penalisation boundary of neutrals pressure where magnetic field is directed towards target

real(kind=GP), protected :: bndval_neut_pressure_penout = 1.0_GP

Value for penalisation boundary of neutrals pressure where magnetic field is directed out of target

real(kind=GP), protected :: bndval_neut_pressure_peninto_second = 1.0_GP

Value for penalisation boundary (with y>y0) of neutrals pressure

real(kind=GP), protected :: bndval_neut_pressure_penout_second = 1.0_GP

Value for penalisation boundary (with y>y0) of neutrals pressure

integer, protected :: second_pen_flag = 0

= 0, do not distinguish the second penalisation boundary = 1, distinguish the second penalisation boundary by y-y0 > 0, where y0 is the y value of magnetic axis = -1, distinguish the second penalisation boundary by y-y0 < 0, where y0 is the y value of magnetic axis

logical, protected :: on_neutrals_temp = .false.

Whether or not to apply boundary condition on temperature instead of pressure. Default: false


Subroutines

public subroutine read_params_neut_boundaries_parpen(filename)

Reads parameters related with neut_boundaries_parpen

Arguments

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

Filename, to read from

public subroutine write_params_neut_boundaries_parpen(filename)

Reads parameters related with neut_boundaries_parpen

Arguments

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

If present, filename where params are written to, if not present, writes to screen