b2.atomic_physics_rescale.parameters
/ATOMIC_PHYSICS_RESCALE/
Data type
Default value

Read if 'b2mndr_atomic_physics_rescale' is set to 1. Contains rescaling multipliers for atomic physics rates.

RESCALE_SA
real array of size(0:NS-1)
1.0

Scaling factors for rtsa: ionisation rates of species (is).

RESCALE_RA
real array of size(0:NS-1)
1.0

Scaling factors for rtra: recombination rates of species (is).

RESCALE_QA
real array of size(0:NS-1)
1.0

Scaling factors for rtqa: electron cooling rates of species (is).

RESCALE_CX
real array of size(0:NS-1)
1.0

Scaling factors for rtcx: charge exchange rates of species (is).

RESCALE_RD
real array of size(0:NS-1)
1.0

Scaling factors for rtrd: line radiation rates of species (is).

RESCALE_BR
real array of size(0:NS-1)
1.0

Scaling factors for rtbr: bremsstrahlung radiation rates of species (is).

b2.boundary.parameters
/BOUNDARY/
Data type
Default value

Contains data used to specify the boundary conditions. This namelist is read if 'b2stbc_boundary_namelist' is set to 1. Necessary for double-null geometries or impinging limiting structures. It is recommended but not strictly necessary that the boundary conditions declared here match in number and order any neutral boundary conditions declared in the b2.neutrals.parameters file. This description is copied from the SOLPS manual.

NBC
integer
0

Number of boundary segments.

BCCHAR
character*1 array of length (NBC)

Specifies the nature of the boundary segment N = 'North' boundary S = 'South' boundary W = 'West' boundary E = 'East' boundary X = 'X' boundary used for specifying a fixed value on a row of cells Y = 'Y' boundary used for specifying a fixed value on a column of cells

CONPAR
real array of size (0:NS-1,NBC,3)
0.0

Contains parameters helping to define the boundary conditions for the continuity equation of species (is). See description of BCCON below for details.

MOMPAR
real array of size (0:NS-1,NBC,2)
0.0

Contains parameters helping to define the boundary conditions for the parallel momentum equation of species (is). See description of BCMOM below for details.

ENEPAR
real array of size (NBC,2)
0.0

Contains parameters helping to define the boundary conditions for the electron energy equation. See description of BCENE below for details.

ENIPAR
real array of size (NBC,2)
0.0

Contains parameters helping to define the boundary conditions for the ion energy equation. See description of BCENI below for details.

POTPAR
real array of size (NBC,2)
0.0

Contains parameters helping to define the boundary conditions for the potential equation. See description of BCPOT below for details.

BCPOS
integer array, length (NBC)
-2

For North, South or X boundary conditions, it specifies the row index; for West, East and Y boundary conditions, it specifies the column index.

BCSTART
integer array, length (NBC)
-2

For North, South or X boundary conditions, it specifies the start column index; for West, East and Y boundary conditions, it specifies the start row index.

BCEND
integer array, length (NBC)
-2

For North, South X boundary conditions, it specifies the end column index; for West, East and Y boundary conditions, it specifies the end row index.

BC_LIST_SIZE
integer array of length (NBC)
0

Contains the size of the list of cells where a boundary condition is applied.

BC_LIST_X
integer array of length (2*(NXD+NYD),NBC)
-2

Contains the X-coordinate of the cells where boundaries conditions are applied.

BC_LIST_Y
integer array of length (2*(NXD+NYD),NBC)
-2

Contains the Y-coordinate of the cells where boundaries conditions are applied.

BCCON
integer array, length (0:NS-1,NBC)
-

Specifying the type of density boundary condition for each segment and species (fastest varying index is species); makes use of CONPAR to specify additional information, as indicated:

BCMOM
integer array, length NS * NBC
-

Specifying the type of parallel momentum or velocity boundary condition for each segment and species (fastest varying index is species); makes use of MOMPAR to specify additional information, as indicated

BCENE
integer array, length NBC
-

Specifying the type of electron energy or temperature boundary condition for each segment; makes use of ENEPAR to specify additional information, as indicated

BCENI
integer array, length NBC
-

Specifying the type of ion energy or temperature boundary condition for each segment; makes use of ENIPAR to specify additional information, as indicated

BCPOT
integer array, length NBC
-

Specifying the type of electric potential or current boundary condition for each segment; makes use of POTPAR to specify additional information, as indicated

GAMMAI
real
1.0

Adiabatic coefficient multiplying the ion temperature when computing the sound speeds.

GAMMAE
real
0.5

Secondary electron emission coefficient.

LBNDUSR
logical
.false.

If .true. will also call b2stbc_bas boundary condition routine after the end of the physics boundary condition routine (governed by the data from b2ah.dat and b2mn.dat).

LFEEDBACK
logical
.false.

Indicates whether a feedback scheme is used. Obsolete. Superceded by 'b2stbc_feedback'.

NNISO
integer
0

Number of dead (or isolated) regions.

NIISO
real array of size (0:NS-1)
-

Density of species (is) in (m-3) to impose in isolated regions.

TEISO
real
1.0

Electron temperature (in eV) to impose in isolated regions.

TIISO
real
1.0

Ion temperature (in eV) to impose in isolated regions.

PHIISO
real
0.0

Electric potential (in V) to impose in isolated regions.

NXISO1
integer array of size NNISO
-2

Column number of bottom left corner of the dead region (iiso).

NXISO2
integer array of size NNISO
-2

Column number of top right corner of the dead region (iiso).

NYISO1
integer array of size NNISO
-2

Row number of bottom left corner of the dead region (iiso).

NYISO2
integer array of size NNISO
-2

Row number of top right corner of the dead region (iiso).

BOUNDARY_FILENAME
character*256
b2.boundary.parameters

Name of the next file to use for reading a new /BOUNDARY/ namelist.

BOUNDARY_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(BOUNDARY_TIME_MOD), reaches or exceeds BOUNDARY_TIME_SWITCH, reads the new namelist from BOUNDARY_FILENAME. Also switches to the new namelist as the ELM count (here time/BOUNDARY_TIME_MOD) changes. Only active if BOUNDARY_TIME_MOD is greater than 0.

BOUNDARY_TIME_SWITCH
real
0.0

If BOUNDARY_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new BOUNDARY namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next BOUNDARY namelist file from BOUNDARY_FILENAME. Only active if BOUNDARY_TIME_SWITCH is greater than 0.

LCBS
integer array of size (NBC)
0

List of core boundary segments, according to their numbering in the current /BOUNDARY/ namelist. For limiter, SN, and DN topologies, the code will attempt to build the array from the topology information available, i.e., it will contain the list of 'South' boundaries forming a closed contour. For linear cases, in case a "core" type boundary condition is desired, then LCBS must be specified explicitly.

WRITE_NML_BND
logical
.true.

If .true. (default), writes the content of the namelist to stdout after it has been read.

CON_FN
character*256 array of length NS * NBC
b2.con.profile

List of boundary profile files to be imposed as boundary conditions for the density.

MOM_FN
character*256 array of length NS * NBC
b2.mom.profile

List of boundary profile files to be imposed as boundary conditions for the parallel velocity.

ENI_FN
character*256 array of length NBC
b2.eni.profile

List of boundary profile files to be imposed as boundary conditions for the ion energy.

ENE_FN
character*256 array of length NBC
b2.ene.profile

List of boundary profile files to be imposed as boundary conditions for the electron energy.

POT_FN
character*256 array of length NBC
b2.pot.profile

List of boundary profile files to be imposed as boundary conditions for the electric potential.

b2.feedback_control.parameters
/FEEDBACK_CONTROL/
Data type
Default value

Allows for more complex feedback schemes. This namelist is read if 'b2stbc_feedback' is set to '1' in the b2mn.dat file or if LFEEDBACK=.true. in b2.boundary.parameters (and that latter file is also read).

VACUUM_COMMUNICATION
integer
0

If > 0, allows for a communication of particle fluxes across vacuum regions. This option only applies to neutrals. The density boundary condition is based on the difference between the average pressure and the local pressure.

VACUUM_COMMUNICATION_NREG
integer array of size (NVAC)
0

Number of communicating vacuum regions.

VACUUM_COMMUNICATION_METHOD
integer array of size (NVAC)
0

Option for resorbing the pressure difference.

VACUUM_COMMUNICATION_IY
integer array of size (NVACREG,NVAC)
-2

Radial index of the ring on which the neutral pressure is computed for region IREG.

VACUUM_COMMUNICATION_IX1
integer array of size (NVACREG,NVAC)
-2

Poloidal lower bound of the range over which the neutral pressure is computed for region IREG.

VACUUM_COMMUNICATION_IX2
integer array of size (NVACREG,NVAC)
-2

Poloidal upper bound of the range over which the neutral pressure is computed for region IREG.

VACUUM_COMMUNICATION_ALPHA
real array of size (0:NSPECIES-1,NVAC)
0.0

Parameter for setting the pressure correction. See above.

VACUUM_COMMINICATION_BETA
real array of size (0:NSPECIES-1,NVAC)
1.0

Parameter for setting the pressure correction. See above.

NA_FEEDBACK_TARGET
real array of size (0:NSPECIES-1)
0.0

Sets the target value of the quantity associated with species (ISPECIES) for the feedback scheme defined by NA_FEEDBACK_CHOICE(ISPECIES).

NA_FEEDBACK_TIME
real array of size (0:NSPECIES-1)
0.0

Sets the time of reference (in s) for the feedback of species (ISPECIES).

NA_FEEDBACK_CHOICE
integer array of size (0:NSPECIES-1)
0

Choice of quantity on which the feedback is computed:

NA_FEEDBACK_OPTION
integer array of size (0:NSPECIES-1)
0

Option for computing the new fedback quantity.

NA_FEEDBACK_ACTUATOR
integer array of size (0:NSPECIES-1)
0

Choice for the actuator used for the feedback.

NA_FEEDBACK_ALPHA
real array of size (0:NSPECIES-1)
0.001

Factor by which the rescaling is slowed. Rescaling factor is : Option 1: (1 + alpha*target/current) / (1 + alpha) Option 3: 2**(tanh(log(x)/beta)*log(alpha)/log(2)) Options 4 and 5: Corresponds to parameter F

NA_FEEDBACK_BETA
real array of size (0:NSPECIES-1)
1.0

Factor by which the rescaling is slowed. See above. Options 4 and 5: Corresponds to parameter V (ffb_rtvn)

NA_FEEDBACK_GAMMA
real array of size (0:NSPECIES-1)
0.01

Ratio of current to target feedback value at which linear rescaling transitions to tanh slowed rescaling for feedback options 7 and 8.

NA_FEEDBACK_CONST
real array of size (0:NSPECIES-1)
0.0

Options 4 and 5: Corresponds to parameter C. If negative, C is computed as the initial total particle content of the sequence.

NA_FEEDBACK_IX1
integer array of size (0:NSPECIES-1)
-2

Lower poloidal bound for the region over which the quantity used for the feedback of species (ISPECIES) is computed, if applicable.

NA_FEEDBACK_IX2
integer array of size (0:NSPECIES-1)
-2

Upper poloidal bound for the region over which the quantity used for the feedback of species (ISPECIES) is computed, if applicable.

NA_FEEDBACK_IY1
integer array of size (0:NSPECIES-1)
-2

Lower radial bound for the region over which the quantity used for the feedback of species (ISPECIES) is computed, if applicable.

NA_FEEDBACK_IY2
integer array of size (0:NSPECIES-1)
-2

Upper poloidal bound for the region over which the quantity used for the feedback of species (ISPECIES) is computed, if applicable.

NA_FEEDBACK_IB
integer array of size (0:NSPECIES-1)
0

Index of boundary condition through which the feedback is being applied. If negative refers to the EIRENE stratum index instead. Specifically for actuator 4 it refers to the index of special surface group.

NA_FEEDBACK_IT
integer array of size (0:NSPECIES-1)
0

Index of divertor target to which feedback is applied.

NA_FEEDBACK_ACTUATOR_MIN
real array of size (0:NSPECIES-1)
0.0

Minimum value of actuator being applied.

NA_FEEDBACK_ACTUATOR_MAX
real array of size (0:NSPECIES-1)
0.0

Maximum value of actuator being applied.

NA_FEEDBACK_PUFF_MIN
real array of size (0:NSPECIES-1)
0.0

Minimum gas puff being applied. Obsolete.

NA_FEEDBACK_PUFF_MAX
real array of size (0:NSPECIES-1)
0.0

Maximum gas puff being applied. Obsolete.

NA_FEEDBACK_OVERSHOOT
real array of size (0:NSPECIES-1)
0.0

If the density is larger than target*overshoot, the gas puff is turned off.

NA_FEEDBACK_INVERSE
logical array of size (0:NSPECIES-1)
.false.

If .true. both feedback target and feedback current are inverted. If .false. actuator value increases in order to increase current feedback value. If .true. actuator value decreases in order to increase current feedback value.

b2.feedback_save.parameters
/FEEDBACK/
Data type
Default value

Read if present in the run directory. Used internally by B2.5 to regulate feedback loops and restarts. Not really intended for human use. See b2cdci and SOLPS manual for description of the feedback schemes.

SAVED_CBSHE_CORE
real
0.0

Last value used for the core electron energy radial flux feedback.

SAVED_CBSHI_CORE
real
0.0

Last value used for the core ion energy radial flux feedback.

SAVED_CBSNA_CORE
real
0.0

Last value used for the core particle radial flux feedback. Corresponds to 'isfeedback' B2.5 species.

SAVED_CBSCH_CORE
real
0.0

Last value used for the core radial electric current feedback.

SAVED_CBSNA_PFR1
real
0.0

Last value used for the radial inner PFR boundary flux feedback. Corresponds to 'isfeedback' B2.5 species.

SAVED_CBSNA_PFR2
real
0.0

Last value used for the radial outer PFR boundary flux feedback. Corresponds to 'isfeedback' B2.5 species.

SAVED_CBSNA_SOL
real
0.0

Last value used for the radial particle flux feedback in the SOL. Corresponds to 'isfeedback' B2.5 species.

SAVED_NA_FEEDBACK_ACTUATOR
real array of size (NSPECIES)
0.0

Last value used for the feedback control actuator for each isonuclear sequence.

b2.neutrals.parameters
/NEUTRALS/
Data type
Default value

This namelist is used to either set parameters for the B2.5 neutral fluid model or for the Eirene Monte Carlo neutrals run. When coupling to Eirene, it is essential that the neutral boundaries conditions declared here be in the same exact order than they are in the Eirene input file. For coupled cases, some of the parameters will become active only on the second call to Eirene, while values inherited from the Eirene input file will be used for the first call. In such cases, use of the switch 'eirene_repeat_first_call' is recommended. This namelist is read if either 'b2stbr_neutrals_namelist' or 'b2mndr_eirene' are set to 1. Some of the arrays are dimensioned by NTRACK, which is the maximum number of tracked species in the mixed materials model. This parameter is set in b2mod_layer and currently holds the value 4.

NSTRAI
integer
0

Number of neutral sources, or 'strata'. Must not be larger than DEF_NSTRA from the [$SOLPSTOP/modules/B2.5/]src/modules(.local)/b2mod_dimensions.F file. Need not include the time-dependent stratum. If a time-dependent stratum is used, is incremented internally as needed. The incremented value is referred to as NSTRAT below.

RCPOS
integer array of length (NSTRAT)
-2

Position in the B2.5 grid of the strata. Similar use as BCPOS from /BOUNDARY/ namelist.

RCSTART
integer array of length (NSTRAT)
-2

Start coordinate on the B2.5 grid the strata. Similar use as BCSTART from /BOUNDARY/ namelist.

RCEND
integer array of length (NSTRAT)
-2

End coordinate on the B2.5 grid of the strata. Similar use as BCEND from /BOUNDARY/ namelist.

RC_LIST_SIZE
integer array of length (NSTRAT)
0

Contains the size of the recycling boundary lists. Similar use as BC_LIST_SIZE from /BOUNDARY/ namelist.

RC_LIST_X
integer array of length (2*(NXD+NYD),NSTRAT)
-2

Contains the X-coordinate of the cells where recycling boundaries are applied. Similar use as BC_LIST_X from /BOUNDARY/ namelist.

RC_LIST_Y
integer array of length (2*(NXD+NYD),NSTRAT)
-2

Contains the Y-coordinate of the cells where recycling boundaries are applied. Similar use as BC_LIST_Y from /BOUNDARY/ namelist.

TARGSP
integer array of size (NSTRAT,NTRACK)
b2stbr_sput_dst

Identifies the base material(s) of this stratum wall. The number corresponds to the B2.5 species index produced by sputtering. Check b2cdci for details. If the bulk species is not sputtered, should contain -1.

CHEMSP
logical array of length NSTRAT
.false.

Indicates whether chemical sputtering is allowed from this wall stratum.

RECYC
real array of size (0:NS-1,NSTRAT)
-

Stores the particle recycling coefficients of species (is) on stratum (istra). Defaults to 1.0 for non-carbon species and 0.0 for carbon species. Particles recycle into the neutral species associated to their isonuclear sequence. Applies to B2.5 neutral fluid species. Also multiplies Eirene recycling fluxes if 'eirene_use_recyceir' is set to 0 (see b2cdci for details).

MRECYC
real array of size (0:NS-1,NSTRAT)
0.0

Stores the parallel momentum recycling coefficients of species (is) on stratum (istra). The parallel momentum is carried back by the recycled neutrals. Applies only to B2.5 neutral fluid species.

ERECYC
real array of size (0:NS-1,NSTRAT)
-

Stores the energy recycling coefficients of species (is) on stratum (istra). Defaults to 0.3 for non-carbon species and 0.0 for carbon species. The energy is carried back by the recycled neutrals. Applies only to B2.5 neutral fluid species.

RCION
real array of size (0:NS-1,NSTRAT)
0.0

Stores the particle-into-ion recycling coefficients of species (is) on stratum (istra). Particles recycle into the next ionised species associated to their isonuclear sequence. Applies only to B2.5 neutral fluid species.

RECYCEIR
real array of size (NSTRAT)
1.0

Multiplier to the Eirene recycling fluxes from stratum (istra). Only used if 'eirene_use_recyceir' is set to 1 (default).

USERFLUXPARM
real array of size (NSTRAT,2)
0

The element (istra,1) contains the strength of constant gas puff strata (type 'C') for Eirene in particles/second. Its values overwrite the values provided by the FLUX variables from the strata description in block 7 of the Eirene input file.

CRCSTRA
character*1 array of length (NSTRAT)

Contains the type of stratum for Eirene. Possible options include: 'N','S','W','E' - topological mesh boundaries (same use as BCCHAR in /BOUNDARY/ namelist) 'V' - volume recombination source (related RCPOS, RCSTART, RCEND and RC_LIST variables are ignored). 'C' - constant or feedback gas puff source (related RCPOS, RCSTART, RCEND and RC_LIST variables are ignored). Gas puffs for B2.5 fluid neutrals are handled via b2.boundary.parameters. Unless specified otherwise by use of 'eirene_nesepm_istra', it is the first 'C' stratum that is used for feedback puff schemes. See b2cdci for details. 'T' - time-dependent source for Eirene (related RCPOS, RCSTART, RCEND and RC_LIST variables are ignored). Long-lived Eirene neutrals are stored in this stratum. See EIRENE_STEP_DT below.

RF_NEUT
real array of size (4)
1.0

Relaxation parameters multiplying the Eirene particle, parallel momentum, electron energy and ion energy sources respectively before use in B2.

PHYS_SPUT
real array of size (0:NS-1,NSTRAT)
0.0

Stores the physical sputtering multiplier for B2.5 species (is) sputtering on the wall of stratum (istra). Must be non-zero for physical sputtering to occur. Only applies if using B2.5 fluid neutral model.

CHEM_SPUT
real array of size (0:NS-1,NSTRAT)
0.0

Stores the chemical sputtering multiplier for B2.5 species (is) sputtering on the wall of stratum (istra). Must be non-zero for chemical sputtering to occur. Only applies if using B2.5 fluid neutral model.

EIRENE_STEP_CPU
real
0.0

Length of CPU time devoted to Eirene calls after the first one (in s). If zero, the value given in the Eirene input file will be used.

EIRENE_STEP_DT
real
0.0

Physical time (in s) the Eirene particles are to be followed before being passed to the time-dependent stratum. If zero, the value given by DTIMV in block 13 of the Eirene input file will be used.

EIRENE_MOD
integer
1

Frequency of Eirene calls. Eirene is called every EIRENE_MOD full B2.5 iterations.

VOLRECSTART
real array of size (NSTRAT)
1.e21

Initial volume recombination rate from stratum (istra) to be used for the volume recombination scaling regulation algorithm. Rendered obsolete by 'eirene_dpc_fix'.

VOLRECINC
real
-

Maximum rate of increase of the volume recombination source strength. The volume recombination regulation scaling scheme is activated if VOLRECINC is neither 0 nor 1. Rendered obsolete by 'eirene_dpc_fix'.

VOLRECWT
real
0.1

Weight of new volume recombination strength relative to that of previous iteration in the volume recombination regulation scaling scheme. Rendered obsolete by 'eirene_dpc_fix'.

SPECIES_START
integer array of size (NSTRAT)
0

Specifies the index of the first B2.5 species involved in stratum (istra) for EIRENE.

SPECIES_END
integer array of size (NSTRAT)
ns-1

Specifies the index of the last B2.5 species involved in stratum (istra) for EIRENE.

NEUTRALS_FILENAME
character*256
b2.neutrals.parameters

Name of the next file to use for reading a new /NEUTRALS/ namelist.

NEUTRALS_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(NEUTRALS_TIME_MOD), reaches or exceeds NEUTRALS_TIME_SWITCH, reads the new namelist from NEUTRALS_FILENAME. Also switches to the new namelist if the ELM count (here time/NEUTRALS_TIME_MOD) changes. Only active if NEUTRALS_TIME_MOD is greater than 0.

NEUTRALS_TIME_SWITCH
real
0.0

If NEUTRALS_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new NEUTRALS namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next NEUTRALS namelist file from NEUTRALS_FILENAME. Only active if NEUTRALS_TIME_SWITCH is greater than 0.

L_NEUTRAD
integer
0

If l_neutrad >= 0, then the radiated power due to the neutrals atoms is taken directly from the Eirene calculation, instead of being recomputed by B2.

L_NEUTFLUX
integer
0 for coupled cases, -1 otherwise

If l_neutflux >=0, then correct treatment of the incident fluxes in B2.5 and b2plot; if <0, then old (approximate) treatment

LSTRASCL
integer array of size (NSTRAT,0:natm)
-

Indicates with which Eirene atomic species to scale the Eirene stratum (istra) (0 means no scaling, default). Atomic species 0 stands for electrons.

B2EATCR
integer array of size (0:NS-1)
ordering of the B2.5 isonuclear sequences

Contains the index of the Eirene atomic species corresponding to the B2.5 species (is).

B2ESPCR
integer array of size (0:NS-1)
ordering of the B2.5 isonuclear sequences

Contains the isonuclear sequence index of the B2.5 species (is).

EB2ATCR
integer array of size (NATM)
first B2.5 species of each isonuclear sequence

Contains the index of the B2.5 neutral fluid species corresponding to the Eirene atomic species (iatm).

EB2SPCR
integer array of size (NSPECIES)
first B2.5 species of each isonuclear sequence

Contains the index of the first B2.5 fluid for each species.

LATMSCL
integer array of size (NATM)
assuming one-to-one match between Eirene and B2.5 atomic species

Contains the index of the B2.5 isonuclear sequence with which the Eirene atomic species (IATM) should be scaled.

LMOLSCL
integer array of size (NMOL)
0

Contains the index of the Eirene atomic species with which the Eirene molecular species (IMOL) should be scaled.

MLCMP
integer array of size (NATM,NMOL)
0

Contains the number of atoms from Eirene atomic species IATM within each molecule of Eirene molecular species IMOL.

LIONSCL
integer array of size (NION)
0

Contains the index of the Eirene atomic species with which the Eirene test ion species (IION) should be scaled. If not provided, LIONSCL will map to LMOLSCL for molecular ions that match an existing declared molecule, or to the first species listed in the name of the molecular ion as declared in the Eirene input file if no matching molecule is found.

LCNS
integer array of size (NSTS)
0

Contains the indices of Eirene non-standard surfaces (block 3A in input.dat) corresponding to core boundaries.

LTNS
integer array of size (NSTS)
0

Contains the indices of Eirene non-standard surfaces (block 3A in input.dat) corresponding to target boundaries.

LSNS
integer array of size (NSTRAT*NSRFS)
0

Contains the indices of Eirene surfaces related to the recycling sources.

KSNS
integer array of size (NSTRAT)
0

Contains the number of Eirene surfaces for each Eirene recycling stratum.

GPFC
real array of size (NATM,NSTRAT)
0.0

Specifies the fraction of Eirene atomic species (iatm) in one particle puffed from stratum (istra).

DBG_EIR_MC
integer
0

Debug output control for eirene_mc routine. See code for usage.

DEBUG_FLAGS
integer array of size (100)
0

Non-zero elements yield additional print-out data for debugging B2-Eirene coupling. See code for specific uses. Many slots still available for user-specific needs. If debug_flags(81).gt.0, will print out target fluxes in files 'targb2.datv', 'targb2n.datv' and 'targb2pl.datv'. If debug_flags(90).gt.0, will print output about Eirene non-standard surfaces [debug_flags(90):debug_flags(91)] and strata [debug_flags(92):debug_flags(93)] (0 means sum over all strata). Additional output can be obtained for strata [debug_flags(94):debug_flags(95)]. If only debug_flags(90) is specified, the output will include all individual Eirene strata, for all non-standard surfaces, starting from debug_flags(90).

NEUT_SCL_LIM
real
2.0

Maximum number by which Eirene neutral sources may be scaled in either direction within the ank-mods scheme. See explaining text in $SOLPSTOP/doc/Source_Scaling_in_B2.pdf for details.

TRACK_INDEX
integer array of size (0:NS-1)
1 for species sput_dst, 0 for all others

Specifies the mixed material species index related to B2.5 species (is).

TRACK_CHEM_SPUT
logical array of size (NTRACK)
-

Indicates whether mixed material species (itrack) participates in chemical sputtering. Defaults to .true. for first tracked species if sput_dst is carbon, and to .false. for all other cases.

CHEMICAL_EROSION_REDEP_FAC
real
1.0

Multiplier to the chemical sputtering coefficient of carbon for computing the rate used for redeposited carbon.

CHEMICAL_EROSION_BE_FAC
logical
.false.

Indicates whether the presence of beryllium is to impact on the chemical sputtering yield of carbon.

CHEMICAL_EROSION_BE_FAC_A
real
0.2

The chemical sputtering yield of carbon is multiplied by (1.0-C/2*(tanh((frac-A)/B)-tanh((-A)/B))) where frac is the fractional content of Be in the surface layer material.

CHEMICAL_EROSION_BE_FAC_B
real
0.05

See above.

CHEMICAL_EROSION_BE_FAC_C
real
0.9

See above.

N_SPCSRF
integer
0

Number of special surfaces groups for diagnostics.

L_SPCSRF
integer array of length (NLIM+NSTS)
0

List of surface segments (non-default standard surfaces [NDSS] or additional surfaces in Eirene notation) included in the groups. Negative numbers correspond to NDSS.

SPS_ID
character*8 array of length (N_SPCSRF)
-

Labels of groups of special surfaces.

I_SPCSRF
integer array of length (N_SPCSRF)
0

Index of the first Eirene surface belonging to a special surface group in the L_SPCSRF list.

J_SPCSRF
integer array of length (N_SPCSRF)
0

Index of the last Eirene surface belonging to a special surface group in the L_SPCSRF list.

SPS_ABSR
real array of length (N_SPCSRF)
-1.0

Particle absorption on the surface. If positive, will supercede the setting from the Eirene input file: RECYCT = 1-SPS_ABSR. Ignored if negative.

SPS_TRNO
real array of length (N_SPCSRF)
-1.0

Surface transparency in positive direction. If positive, will supercede the setting from the Eirene input file: TRANSP(1,) = SPS_TRNO. Ignored if negative.

SPS_TRNI
real array of length (N_SPCSRF)
-1.0

Surface transparency in negative direction. If positive, will supercede the setting from the Eirene input file: TRANSP(2,) = SPS_TRNI. If negative, the setting from SPS_TRNO is used.

SPS_MTRI
real array of length (N_SPCSRF)
0

Surface material in Eirene notation (e.g., 1206 for C). If positive, will supercede the setting from the Eirene input file: ZNML = SPS_MTRI. Ignored if negative.

SPS_MTRL
character*8 array of length (N_SPCSRF)
-

Surface material in human notation (e.g., 'C').

SPS_TMPR
real array of length (N_SPCSRF)
1.e15

Surface temperature (in eV). If set larger to 1.e10, will be ignored. Otherwise, will supercede the setting from the Eirene input file: EWALL = SPS_TMPR.

SPS_SPPH
real array of length (N_SPCSRF)
-1.0

Fudge factor for physical sputtering. If positive, will supercede the setting from the Eirene input file: RECYCS = SPS_SPPH. Ignored if negative.

SPS_SPCH
real array of length (N_SPCSRF)
-1.0

Fudge factor for chemical sputtering. If positive, will supercede the setting from the Eirene input file: RECYCC = SPS_SPCH. Ignored if negative.

SPS_SGRP
integer array of length (N_SPCSRF)
-1

Sputtered particle species flag for chemical sputtering. If positive, will supercede the setting from the Eirene input file: ISRC = SPS_SGRP. Ignored if negative.

WRITE_NML_NEUT
logical
.true.

If .true. (default), writes the content of the namelist to stdout after it has been read.

MAXPOIN
integer
2000

Obsolete. Maximum number of points needed to describe a region contour in Eirene.

TIME_DEP_PUFF
logical array of length (NSTRAT)
.false. for all strata

Indicates whether a stratum is a time-dependent gas puff. Should only be .true. for strata defined as gas puffs.

TIME_DEP_PUFF_FUNC
logical array of length (NSTRAT)
.false. for all strata

Indicates whether a stratum is using a time-dependent gas puff function. Should only be .true. for strata defined as gas puffs. For use with TIME_DEP_PUFF_CASE and TIME_DEP_PUFF_PARAM.

TIME_DEP_PUFF_CASE
integer array of length (NSTRAT)
-1 for all strata

Used to select the functional form of the time-dependent gas puff function. For use with TIME_DEP_PUFF_FUNC and TIME_DEP_PUFF_PARAM.

TIME_DEP_PUFF_PARAM
real array of length (NSTRAT)
0 for all strata

Used to set the parameters for the functional form of the time-dependent gas puff function. For use with TIME_DEP_PUFF_FUNC and TIME_DEP_PUFF_CASE.

NGPDATA
integer data of size (NSTRAT)
0

Number of points over which the time profile of the strength of gas puff (istra) is given. Defaults to 0. Current maximum value is 100.

GPDATA
real data of size (NGPDATA,2,NSTRAT)
0.0

For (i,ik,istra) in (1:NGPDATA(istra),1:2,1:NSTRAT), GPDATA(i,1,istra) contains the time point (i) for stratum (istra) (in s). GPDATA(i,2,istra) contains the gas puff strength of stratum (istra) at time point (i) (in particles/s). The gas puff strength before the first time point is given by USERFLUXPARM(istra,1). The gas puff strength after the last time point is given by the GPDATA value of the last time point. Otherwise, the gas puff strength is linearly interpolated from the given data.

CHEMICAL_SPUTTER_YIELD
real array of size (0:NLIM+NSTS)
0.0

Passed to Eirene. Chemical sputter yield of wall surface (ilim). Element 0 corresponds to the default setting for all surfaces.

FCHAR_CHEMICAL
real
0

Nuclear charge of atomic species causing the sputtering. If set to its default value of 0, then the chemical sputtering switches from this block are not used and the settings from the Eirene input file are used.

IGASS_CHEMICAL
integer
0

Passed to Eirene. Eirene atomic species index of the sputtered particle. If igass_chemical > natmi, the data from chemical_sputter_yield is not used and the yield from the Eirene surface blocks is used instead.

ITSPUT_CHEMICAL
integer
0

Passed to Eirene. Eirene type index of the sputtered particle. Atoms = 1, Ions = 4. Defaults to 0, meaning 1 eV atom chemical sputtering.

ISSPUT_CHEMICAL
integer
0

Passed to Eirene. Mass*100 + nuclear charge of the sputtered particle. Defaults to 0, internally changed to 1206 = carbon.

b2.neutrals_save.parameters
/NEUTRALS_SAVE/
Data type
Default value

Read if file is present. Used internally for regulation and rescaling of volume recombination sources and restarts. Superceded by use of 'eirene_dpc_fix' switch. See code in eirene_mc and description in b2cdci for details.

SAVED_VOLREC
real array of size (NSTRAT)
0.0

Contains the last value of the strength of volume recombination sources from stratum (istra).

b2.numerics.parameters
/NUMERICS/
Data type
Default value

Used to specifiy time multipliers per equation and per region for the B2.5 solver. Active if 'b2srdt_numerics_namelist' is set to 1 or greater. It is recommended to use the same multiplier for all equations within one region. The time multipliers should not be used if running in time-dependent mode (b2mndt_style.eq.2).

DTCO
real array of size (0:NS-1,0:NREG)
1.0

Multiplier to the time used in solving the continuity equation of species (is) in region (ireg).

DTMO
real array of size (0:NS-1,0:NREG)
1.0

Multiplier to the time used in solving the parallel momentum equation of species (is) in region (ireg).

DTEE
real array of size (0:NREG)
1.0

Multiplier to the time used in solving the electron heat equation in region (ireg).

DTEI
real array of size (0:NREG)
1.0

Multiplier to the time used in solving the ion heat equation in region (ireg).

DTCO_SOL
real array of size (0:NS-1)
1.0

Multiplier to the time used in solving the continuity equation of species (is) in the far SOL defined by iy >= iy_SOL_dtXX.

DTMO_SOL
real array of size (0:NS-1,0:NREG)
1.0

Multiplier to the time used in solving the parallel momentum equation of species (is) in the far SOL defined by iy >= iy_SOL_dtXX.

DTEE_SOL
real
1.0

Multiplier to the time used in solving the electron heat equation in the far SOL defined by iy >= iy_SOL_dtXX).

DTEI_SOL
real array of size (0:NREG)
1.0

Multiplier to the time used in solving the ion heat equation in the far SOL defined by iy >= iy_SOL_dtXX.

IY_SOL_DTXX
integer
-2

Defines the region of the SOL (iy >= iy_SOL_dtXX) where the time multipliers dt[XX]_SOL should be applied. If iy_SOL_dtXX.eq.-2 (default), no time multiplication is applied for any equation independently of dt[XX]_SOL values. If iy_SOL_dtXX points to a closed flux surface (i.e. if iy_SOL_dtXX.le.jsep), the code produces an error message and stops.

SOLVECO
logical array of size (0:NS-1,0:NREG)
.true.

Indicates whether the continuity equation for species (is) is to be solved in region (ireg). Subservient to 'no_solve' switch.

SOLVEMO
logical array of size (0:NS-1,0:NREG)
.true.

Indicates whether the parallel momentum equation for species (is) is to be solved in region (ireg). Subservient to 'no_solve' switch.

SOLVEMT
logical array of size (0:NREG)
-

Indicates whether the total parallel momentum equation is to be solved in region (ireg). For the total parallel momentum equation to be solved in a region, all momentum equations in the range defined by 'b2news_nsmin' and 'b2news_nsmax' must have SOLVEMO true in that region. Subservient to 'no_solve' switch. It is important to note that the 'b2news_no_solve' switch allows for solving or not all momentum equations together as a whole, along with the total equation. Defaults to .true. unless using the time-dependent mode, in which case it is set to .false. and should not be used.

SOLVEPO
logical array of size (0:NREG)
.true.

Indicates whether the potential energy equation is to be solved in region (ireg). Subservient to 'no_solve' switch.

SOLVEEE
logical array of size (0:NREG)
.true.

Indicates whether the electron energy equation is to be solved in region (ireg). Subservient to 'no_solve' switch.

SOLVEEI
logical array of size (0:NREG)
.true.

Indicates whether the ion energy equation is to be solved in region (ireg). Subservient to 'no_solve' switch.

SOLVEET
logical array of size (0:NREG)
-

Indicates whether the total energy equation is to be solved in region (ireg). For the equation to be solved in region (ireg), both SOLVEEE and SOLVEEI must be true in that region. Subservient to 'no_solve' switch. It is important to note that the 'b2news_no_solve' switch allows to solve or not to solve the electron and ion heat equations together with total energy equation, as a group. Defaults to .true. unless using the time-dependent mode, in which case it is set to .false. and should not be used.

TIME_FACTOR_REQUIRED
real
0.1

Minimum time scale of evolution allowed for all equations. Only active is 'b2srsm_enable' is set to 1.

CORE_DT_SUPPRESSION
real
1.0

De-multiplier to the timestep in the core. Only active if less than 1. Should be larger than 0. Applies fully to the innermost core ring of cells (IY .eq. -1). See CORE_DT_FACTOR for further use.

CORE_DT_FACTOR
real
1.0

Multiplier to the timestep in the core. Only active is less than 1. Should be larger than 0. Multiplies each successive core ring of cells (increasing IY) by CORE_DT_FACTOR, until the local time step multiplier is equal to 1.

CORR_CORE_DN
real array of size (0:NS-1)
1.0

Pressure correction speed-up parameter α_a, acting on the density contribution from species a. Will apply in the core region, except for the nrings outer surfaces. See nrings_for_no_speedup_averaging for details. See Pressure_correction_speed-up.pdf in $SOLPSTOP/doc for a full description. Should be roughly equal to corr_core_dt below. Does not apply to neutral species.

CORR_CORE_DT
real
1.0

Pressure correction speed-up parameter α_T, acting on the temperature contributions. Will apply in the core region, except for the nrings outer surfaces. See nrings_for_no_speedup_averaging for details. See Pressure_correction_speed-up.pdf in $SOLPSTOP/doc for a full description. Should be roughly equal to corr_core_dn above.

SNA_CORR
real array of size (1:NSPECIES)
0.0

Multiplier to the neutral source differential between puffing (plus sputtering plus core boundary flux plus any external sources) and pumping, which is further added to the ionization source for code speed-up. One multiplier must be provided per isonuclear sequence. Such settings might be relevant for e.g. a mixture of main ion and trace impurity. See E. Kaveeva et al., Nucl. Fusion 58 (2018) 126018 for details and keep in mind that in that paper the scheme was described in its original species-unresolved form.

TAUMAX
real array of size (1:NSPECIES)
0.05

Maximum allowed fraction of ionization source for a given isonuclear sequence from its neutral state (coming from Eirene) to be added or subtracted to the real Eirene source in the method of effective sources for code speed-up.

DO_SNA_CORR_CORE
logical array of size (1:NSPECIES)
.true.

Parameter which controls exclusion/inclusion of confined region from/in the method of effective sources for code speed-up for each isonuclear sequence. If .true., then the flux through the core boundary of that species is taken into account during the source correction computation, and the source correction is applied on closed flux surfaces (default behavior). If .false., then the particle imbalance is computed as puffing plus sputtering plus any external sources minus pumping without account of the flux through the core boundary, and no source correction is applied on closed surfaces (such a setting might be helpful if the core flux is much bigger than the puffing rate and the core is isolated from the SOL by a strong transport barrier).

NUMERICS_FILENAME
character*256
b2.numerics.namelist

Name of the next file to use for reading a new /NUMERICS/ namelist.

NUMERICS_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(NUMERICS_TIME_MOD), reaches or exceeds NUMERICS_TIME_SWITCH, reads the new namelist from NUMERICS_FILENAME. Also switches to the new namelist as the ELM count (here time/NUMERICS_TIME_MOD) changes. Only active if NUMERICS_TIME_MOD is greater than 0.

NUMERICS_TIME_SWITCH
real
0.0

If NUMERICS_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new NUMERICS namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next NUMERICS namelist file from NUMERICS_FILENAME. Only active if NUMERICS_TIME_SWITCH is greater than 0.

WRITE_NML_NUM
logical
.true.

If .true. (default), writes the content of the namelist to stdout after it has been read.

ADD_TE_CORR_TO_PO
logical array of size (0:NREG)
.true.

If .true. (default), adds dte(ix,iy)/qe to the potential correction after the internal energy balance equations are solved, where dte(ix,iy) is the electron temperature correction on the time step. Individually set for each region index.

b2.sources.profile
/PROFILE/
Data type
Default value

Allows the user to set external sources to use within the code. Unless specifying a divertor heat source, the source will be located in the core and main SOL regions only. Used if 'b2sral_inputfile' is set to 1.

NSDATA
integer array of size (NKIND_DATA,NKIND_SOURCE,0:NS)
0

Number of points over which the source profile of (kind_data,kind_source,is) is defined. Should not exceed NY+2. If KIND_DATA=1, the data is expressed as a profile in physical distance from the separatrix (in metres) along the outer midplane. The user can change this default reference location by use of the 'i[xy]ref_profile' switches. If KIND_DATA=2, the data is expressed as a profile in flux distance from the separatrix (not yet available).

SDATA
real data of size (2,NY+2,NKIND_SOURCE,0:NS)
0.0

For (i,ir,ik,is) in (1:2,1:NY+2,1:NKIND_SOURCE,0:NS), SDATA(1,ir,:,:) contains the radial location of the profile point (ir). SDATA(2,ir,:,:) contains the source profile value at point (ir). KIND_SOURCE=1 means particle source of species (is) (in particles/m3) KIND_SOURCE=2 means parallel momentum source for species (is) (in kg.m/s/m3) KIND_SOURCE=3 means electron heat source (in Watts/m3) KIND_SOURCE=4 means ion heat source (in Watts/m3) KIND_SOURCE=5 means electric charge source (in Coulombs/m3) KIND_SOURCE=6 means non-ambipolar electron particle source (in e/m3)

NXDATA
integer array of size (NKIND_DATA,NKIND_SOURCE,0:NS)
-

Number of points over which the axial profile of (kind_data,kind_source,is) is defined. Should not exceed NX+2. Defaults to 0. If KIND_DATA=1, the data is expressed as a profile in physical distance, here connection length, rescaled from 0.0 to 1.0. For closed field lines, the reference location for the zero of distance is set by use of the 'i[xy]ref_profile' switches. If KIND_DATA=2, the data is expressed as a profile in (ix) cell index, again normalized from 0.0 to 1.0 to match the [0:nx-1] interval.

XDATA
real data of size (2,NY+2,NKIND_SOURCE,0:NS)
1.0

Multiplier to the poloidal source profile in the axial direction. Same convention for KIND_SOURCE as above.

DIVHEAT
real
0.0

Additional divertor ion heat source (in Watts/m3)

IXREF_PROFILE
integer
-2

Poloidal location along which the sources radial profile is measured. If not provided, the value from 'set_transport_ixref' is used.

IYREF_PROFILE
integer
-2

Radial location along which the sources axial profile is measured. If not provided, the value from 'set_transport_iyref' is used.

SOURCES_FILENAME
character*256
b2.sources.profile

Name of the next file to use for reading a new /PROFILE/ namelist. Quantities not present in the new file will be inherited from the old one.

SOURCES_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(SOURCES_TIME_MOD), reaches or exceeds SOURCES_TIME_SWITCH, reads the new namelist from SOURCES_FILENAME. Also switches to the new namelist if the ELM count (here time/SOURCES_TIME_MOD) changes. Only active if SOURCES_TIME_MOD is greater than 0.

SOURCES_TIME_SWITCH
real
0.0

If SOURCES_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new PROFILE namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next PROFILE namelist file from SOURCES_FILENAME. Only active if SOURCES_TIME_SWITCH is greater than 0.

b2.sputter_save.parameters
/SPUTTER_SAVE/
Data type
Default value

Read if file is present. Used to regulate the temporal evolution of sputtering and restarts. Not intended for human use.

NX_SP
integer
nx

Array dimension NX used in this namelist.

NY_SP
integer
ny

Array dimension NY used in this namelist.

NS_SP
integer
ns

Array dimension NS used in this namelist.

SPUTTER_YIELD
real array of size (-1:NX,-1:NY,0:NS-1,1:2)
0.0

Contains the chemical sputtering yield of species (is) at position (ix,iy) in element (:,:,:,1) and the physical sputtering yield in element (:,:,:,2).

SPUTTER_YIELD2
real array of size (-1:NX,-1:NY,0:NS-1,1:2)
0.0

Contains the energy chemical sputtering yield of species (is) at position (ix,iy) in element (:,:,:,1) and the energy physical sputtering yield in element(:,:,:,2).

b2.transport.inputfile
/TRANSPORT/
Data type
Default value

Allows the user to set transport coefficients profiles. Only used is 'b2tqna_inputfile' is set to 1. Overwrites b2ah.dat, b2mn.dat and b2.transport.parameters. See SOLPS manual for details.

NDATA
integer array of size (NKIND_DATA,NCOEF,0:NS)
0

Number of points over which the source profile of (kind_data,kind_coef,is) is defined. Should not exceed NY+2. If KIND_DATA=1, the data is expressed as a profiles in physical distance from the separatrix (in metres). If KIND_DATA=2, the data is expressed as a profile in flux distance from the separatrix (not yet available).

TDATA
real data of size (3,NY+2,NKIND_COEFF,0:NS)
0.0

For (i,ir,ik,is) in (1:3,1:NY+2,1:NKIND_COEFF,0:NS), TDATA(1,ir,:,:) contains the radial location of the profile point (ir). By default, these are measured at the outer midplane, as distance to the separatrix in metres. The user can change this by setting the 'set_transport_i[xy]ref' switches to choose a different location for the distance reference. TDATA(2,ir,:,:) contains the transport profile value at point (ir). TDATA(3,ir,:,:) contains the ELM transport profile value at point (ir). KIND_COEFF=1 means density-driven particle diffusivity for species (is) KIND_COEFF=2 means pressure-driven particle diffusivity for species (is) KIND_COEFF=3 means ion heat diffusivity for species (is) KIND_COEFF=4 means electron heat diffusivity KIND_COEFF=5 means poloidal pinch velocity for species (is) KIND_COEFF=6 means radial pinch velocity for species (is) KIND_COEFF=7 means viscosity for species (is) KIND_COEFF=8 means field-driven radial current conductivity KIND_COEFF=9 means temperature-driven radial current conductivity

ADDSPEC
integer array of size (NS,NKIND_COEFF,0:NS)
-5

If ADDSPEC(is,ikind,spec).ge.0, then the transport coefficient profile of type (ikind) from species (spec) is also used for species with index ADDSPEC(is,ikind,spec).

TRANSPORT_FILENAME
character*256
b2.transport.inputfile

Name of the next file to use for reading a new /TRANSPORT/ namelist.

TRANSPORT_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(TRANSPORT_TIME_MOD), reaches or exceeds TRANSPORT_TIME_SWITCH, reads the new namelist from TRANSPORT_FILENAME. Also switches to the new namelist if the ELM count (here time/TRANSPORT_TIME_MOD) changes. Only active if TRANSPORT_TIME_MOD is greater than 0.

TRANSPORT_TIME_SWITCH
real
0.0

If TRANSPORT_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new TRANSPORT namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next TRANSPORT namelist file from TRANSPORT_FILENAME. Only active if TRANSPORT_TIME_SWITCH is greater than 0.

REGION_FLAGS
logical array of size (NREG,NKIND_COEFF)
.true.

If region_flags(ireg,ikind) is .true. (default), then the transport parameters profiles for region (ireg) and kind (ikind) are used.

NO_PFLUX
logical
.false.

If .true., transport coefficients profiles are not implemented in the private flux regions.

NO_DIV
logical
.false.

If .true., transport coefficients profiles are not implemented in the divertor regions.

POLOIDAL_SCALING
logical array of size (10)
.false.

If .true., then the transport coefficients profiles from the current b2.transport.inputfile are increased by a factor of 1.0+Gaussian where Gaussian is a Gaussian profile in the poloidal direction of amplitude SCALING_STRENGTH extending from SCALING_IX_BEGIN to SCALING_IX_END inclusively. The profile has a decay length of SCALING_WIDTH (in units of the number of poloidal cells).

SCALING_STRENGTH
real array of size 10
0

See above.

SCALING_WIDTH
real array of size 10
1/3 interval

See above. Defaults to about 1/3 of the interval over which the scaling is to be done.

SCALING_IX_BEGIN
integer array of size 10
-2

See above.

SCALING_IX_END
integer array of size 10
-2

See above.

ELM_TIME_BEGIN
real
0.0

Time (in seconds) modulo ELM_TIME_PERIOD at which the ELM phase begins and the ELM data must be used.

ELM_TIME_END
real
0.0

Time (in seconds) modulo ELM_TIME_PERIOD at which the ELM phase ends and the ELM data is no longer used.

ELM_TIME_PERIOD
real
0.0

Indicates the real frequency of simulated ELMs. See above for usage. If zero, no ELM profiles are used.

ELM_IX_BEGIN
integer
-2

Poloidal position at which the ELM profile starts to be applied.

ELM_IX_END
integer
-2

Poloidal position at which the ELM profile ends being applied.

b2.transport.parameters
/TRANSPORT/
Data type
Default value

Allows user to choose between different anomalous transport models. Read if 'b2tqna_transport_namelist' is set to 1. Overwrites data from b2ah.dat and b2mn.dat. Does not apply to fluid neutral species.

Group

All flags follow: FLAG=0: Use model from b2ah.dat and b2mn.dat. Default. FLAG=1: Constant, value set to PARM. FLAG=2: 1/N model, multiplied by PARM. FLAG=3: Bohm model, multiplied by PARM. FLAG=4: flux-scaled model, multiplied by PARM.

FLAG_DNA
integer
-

Transport model flag for density-driven diffusion.

FLAG_DPA
integer
-

Transport model flag for pressure-driven dffusion.

FLAG_VLA
integer
-

Transport model flag for pinch velocity.

FLAG_VSA
integer
-

Transport model flag for viscosity.

FLAG_HCI
integer
-

Transport model flag for ion heat diffusivity.

FLAG_HCE
integer
-

Transport model flag for electron heat diffusivity.

FLAG_SIG
integer
-

Transport model flag for field-driven current radial conductivity.

FLAG_ALF
integer
-

Transport model flag for temperature-driven current radial conductivity.

PARM_DNA
real array of size (0:NS-1)
-

Parameter for the density-driven particle diffusion coefficient for species (is).

PARM_DPA
real array of size (0:NS-1)
-

Parameter for the pressure-driven particle diffusion coefficient for species (is).

PARM_VLA
real array of size (0:NS-1)
-

Parameter for the anomalous radial pinch velocity for species (is).

PARM_VSA
real array of size (0:NS-1)
-

Parameter for the viscosity for species (is).

PARM_HCI
real array of size (0:NS-1)
-

Parameter for the heat diffusivity coefficient for species (is).

PARM_HCE
real
-

Parameter for the electron heat diffusivity coefficient.

PARM_SIG
real
-

Parameter for the anomalous radial field-driven current conductivity.

PARM_ALF
real
-

Parameter for the anomalous radial temperature-driven current conductivity.

TRANSPORT_FILENAME
character*256
b2.transport.parameters

Name of the next file to use for reading a new /TRANSPORT/ namelist.

TRANSPORT_TIME_MOD
real
0.0

When the B2.5 run simulation time, in seconds, modulo(TRANSPORT_TIME_MOD), reaches or exceeds TRANSPORT_TIME_SWITCH, reads the new namelist from TRANSPORT_FILENAME. Also switches to the new namelist if the ELM count (here time/TRANSPORT_TIME_MOD) changes. Only active if TRANSPORT_TIME_MOD is greater than 0.

TRANSPORT_TIME_SWITCH
real
0.0

If TRANSPORT_TIME_MOD is greater than 0, time (in seconds) within an ELM cycle at which a new TRANSPORT namelist is read. Otherwise, B2.5 simulation time, in seconds, when to read the next TRANSPORT namelist file from TRANSPORT_FILENAME. Only active if TRANSPORT_TIME_SWITCH is greater than 0.

Group

For the electron, ion, and viscous heat flux limit coefficients, if the main multiplier is not specified but CFLM*_CORE and CFLM*_SOL are set to equal non-zero values, their value will be used. If CFLM*_CORE and CFLM*_SOL are different and non-zero, then a radial tanh profile, centered at radial OMP position CFLM*_TANH_A (in metres) and of width CFLM*_TANH_B is applied. The flux limit coefficients in the PFR are set to a constant value equal to that at the separatrix. The OMP is located at the poloidal index provided by 'b2news_fac_ref', or, if not specified, 'b2mwti_jxa'. For all flux limit multipliers, setting them to zero turns off the corresponding flux limiter. Otherwise, the multipliers must be positive.

CFLME
real
value inherited from b2ah.dat (or b2mn.dat if specified in b2cmpt block)

Main multiplier to the electron heat flux limit.

CFLMI
real
value inherited from b2ah.dat (or b2mn.dat if specified in b2cmpt block)

Main multiplier to the ion heat flux limit.

CFLMV
real
value inherited from b2ah.dat (or b2mn.dat if specified in b2cmpt block)

Main multiplier to the viscous heat flux limit.

CFLAL
real
value inherited from b2ah.dat (or b2mn.dat if specified in b2cmpt block)

Multiplier to the thermo-electric coefficient flux limit.

CFLAB
real
value inherited from b2ah.dat (or b2mn.dat if specified in b2cmpt block)

Multiplier to the friction force flux limit.

CFLME_CORE
real
0.0

Limit to multiplier to the electron heat flux limit in the deep core.

CFLME_SOL
real
0.0

Limit to multiplier to the electron heat flux limit in the far SOL.

CFLME_TANH_A
real
0.0

Radial location, measured (in metres) as a radial distance along the OMP away from the separatrix, for the center of the tanh profile multiplying the electron heat flux limit.

CFLME_TANH_B
real
0.0

Radial width, measured (in metres) as a radial distance along the OMP, for the tanh profile multiplying the electron heat flux limit. Must be positive.

CFLMI_CORE
real
0.0

Limit to multiplier to the ion heat flux limit in the deep core.

CFLMI_SOL
real
0.0

Limit to multiplier to the ion heat flux limit in the far SOL.

CFLMI_TANH_A
real
0.0

Radial location, measured (in metres) as a radial distance along the OMP away from the separatrix, for the center of the tanh profile multiplying the ion heat flux limit.

CFLMI_TANH_B
real
0.0

Radial width, measured (in metres) as a radial distance along the OMP, for the tanh profile multiplying the ion heat flux limit. Must be positive.

CFLMV_CORE
real
0.0

Limit to multiplier to the viscous heat flux limit in the deep core.

CFLMV_SOL
real
0.0

Limit to multiplier to the viscous heat flux limit in the far SOL.

CFLMV_TANH_A
real
0.0

Radial location, measured (in metres) as a radial distance along the OMP away from the separatrix, for the center of the tanh profile multiplying the viscous heat flux limit.

CFLMV_TANH_B
real
0.0

Radial width, measured (in metres) as a radial distance along the OMP, for the tanh profile multiplying the viscous heat flux limit. Must be positive.

WRITE_NML_TRANSP
logical
.true.

If .true. (default), writes the content of the namelist to stdout after it has been read.

Group

The four *_CNV parameters are only activated if 'b2tqna_user_transport' is set to '6'.

VOUT_CNV
real array of size (0:NS-1)
0.0

Value of the "blob" convection velocity for species (is) at the outer grid edge (in m/s).

PW0_CNV
real array of size (0:NS-1)
1.0

Exponent in radial profile of the "blob" velocity for species (is).

PW1_CNV
real array of size (0:NS-1)
5.0

First exponent in poloidal profile of the "blob" velocity for species (is).

PW2_CNV
real array of size (0:NS-1)
2.0

Second exponent in a poloidal profile of the "blob" velocity for species (is).

b2.transport_models_save.parameters
/TRANSPORT_MODELS/
Data type
Default value

Read if file is present.

ETA_HCE_MULT
real array of size (-1:NY)
1.0

Used by the user specified set_transport_eta transport model. See code for details.

b2.user.parameters
/USER/
Data type
Default value

Contains additional data for user-specific diagnostics. Always read if present. This version originally provided by Andrei Kukushkin for ITER cases, however, it may be used (at least partially) for arbitrary machine.

LHETRGTS
integer array of size (NLIM)
Eirene recycling target surfaces defined in the LTNS array

List of surface indices (EIRENE notation) which are used for calculation of helium enrichment.

LPFRB_I
integer
0

B2.5 x-cell index corresponding to the first edge of the bypass between the inner and outer divertor (Western divertor, edge closest to target). If non-positive, counted backwards from the X-point location in the lower PFR, from the inner upper target in the upper PFR, from the lower outer target in the outer SOL, and from the inner upper target in the inner SOL.

LPFRB_O
integer
0

B2.5 x-cell index corresponding to the first edge of the bypass between the inner and outer divertor (Eastern divertor, edge closest to target). If non-positive, counted backwards from the outer lower target in the lower PFR, from the lower outer target in the outer SOL, from the upper outer target in the upper PFR, and from the inner upper target in the inner SOL.

LPFRT_I
integer
0

B2.5 x-cell index corresponding to the second edge of the bypass between the inner and outer divertor (Western divertor, edge furthest to target). If non-positive, counted backwards from the X-point location in the PFR, from the outer target in the outer SOL for a SN, from the top targets in the SOL for a DN.

LPFRT_O
integer
0

B2.5 x-cell index corresponding to the second edge of the bypass between the inner and outer divertor (Eastern divertor, edge furthest to target). If non-positive, counted backwards from the X-point location in the PFR, from the outer target in the outer SOL for a SN, from the top targets in the SOL for a DN.

J_HE_AT
integer
-

Species index of the helium atoms in Eirene. The code attempts to find a match by default.

J_NE_AT
integer
-

Species index of the neon atoms in Eirene. The code attempts to find a match by default.

J_H_AT
integer array of size (3)
-

Species indices of the hydrogen isotopes in Eirene. If using only one hydrogen species, only the first element needs to be provided. Otherwise the 3 elements correspond to H/D/T. The code attempts to find a match by default.

L_H_MOL
integer array of size (NMOL,3)
-

Number of hydrogen isotope nuclei for molecules in Eirene. If using only one hydrogen species, only the first element needs to be provided. Otherwise the 3 elements correspond to H/D/T. The code attempts to find a match by default.

FUSION_POWER
real
0.0

Fusion power occuring in core (including neutrons, in Megawatts).

SPMP_HE_TO_D
real
1.0

Ratio of He to DT pumping speeds (typically, 0.8).

LPFRS_PMP
integer
0

Location of the pump. 0 no pump at all (default), 1 - SN of lower DN PFR, 2 - (outer) SOL, 3 - upper DN PFR, 4 - inner SOL for DN

NPFRGRP
integer
0

Actual number of surface groups for PFR flows.

LPFRGRP
integer array of size (NLIM)
-

List of surface segments for PFR flows.

IPFRGRP
integer array of size (NPFRGRP)
0

First positions in this list for each group.

JPFRGRP
integer array of size (NPFRGRP)
0

Last positions in this list for each group.

GPFRGRP
character*8 array of size (NPFRGRP)

Labels for surface groups for PFR flows.

NNTRGRP
integer
-

Actual number of surface groups for neutral data.

LNTRGRP
integer array of size (NLIM)
-

List of surface segments for neutral data.

INTRGRP
integer array of size (NNTRGRP)
-

First positions in this list for each group.

JNTRGRP
integer array of size (NNTRGRP)
-

Last positions in this list for each group.

GNTRGRP
character*8 array of size (NNTRGRP)
-

Labels for the neutral data surface groups.

SPMP_NOM
real
0.0

Nominal pumping speed.

TE_DET_THRESHOLD
real
2.0

Electron temperature at the target (in eV) which is used a threshold identifying the transition of the local magnetic flux tube to detachment. The width of the zone with Te less than TE_DET_THRESHOLD (counted from the strike point towards the SOL side) is outputted into user_SPb.trc. This distance monotonically increases with increasing of radiated power fraction or with decreasing of peak target energy loads, therefore it may be used as a measure of the degree of detachment.

FILEDATA
logical array of size 12
.true.

Switches to turn on/off the tracing files controlled by the ank_tracing switch. The files are defined in b2mod_diag, in order:

USER_FILENAME
character*80
b2.user.parameters

Filename where /USER/ namelist is stored.

b2.wall_save.parameters
/WALL_SAVE/
Data type
Default value

Read if present in the run directory. Automatically generated by B2.5 but can be modified by user. Contains data describing the state of the walls lining the vacuum vessel. These data are used for smooth restarts and are not really intended for human use.

NDEPTH_NML
integer
1

Dimension NDEPTH used for the arrays within this namelist. Represents the number of depth layer discretising the wall elements for the wall model. If using the 0-D model or the time-independent 1-D model, will contain 1 (default). Should not exceed the value of the parameter NDEPTH declared in b2mod_wall.F.

IMAPX
integer array of size (NWALL)
-

Indicates the (ix) position in the grid of wall element (iwall). Default ordering of the wall elements proceeds clockwise in physical space from the lower left corner.

IMAPY
integer array of size (NWALL)
-

Indicates the (iy) position in the grid of wall element (iwall). Default ordering of the wall elements proceeds clockwise in physical space from the lower left corner.

XYMAP
integer array of size (-1:NX,-1:NY)
-

XYMAP(ix,iy) contains the wall index (iwall) of the wall element located a grid locaion (ix,iy). If there is no wall element at this position, contains 0. Default ordering of the wall elements proceeds clockwise in physical space from the lower left corner.

SURFACE_MATERIAL_NAME
character*6 of size (NWALL)
C

Contains the filename from which to extract the surface material properties for wall element (iwall). The files are to be found in $SOLPSTOP/data.local/Surface_properties/ or $SOLPSTOP/modules/B2.5/Database/Surface_properties/.

COATING_MATERIAL_NAME
character*6 of size (NWALL)

Contains the filename from which to extract the bulk material properties of the eventual coating for wall element (iwall).

BULK_MATERIAL_NAME
character*6 of size (NWALL)
C

Contains the filename from which to extract the bulk material properties for wall element (iwall). The files are to be found in $SOLPSTOP/data.local/Bulk_properties/ or $SOLPSTOP/modules/B2.5/Database/Bulk_properties/.

LAYER_ALLOYS
character*6 of size (NALLOYS)
-

Contains the filename from which to extract the material properties for alloy (nalloy) which may be present in mixed materials deposited layers. Not yet operational. The files are to be found in $SOLPSTOP/data.local/Bulk_properties/, $SOLPSTOP/data.local/Surface_properties/, $SOLPSTOP/modules/B2.5/Database/Surface_properties/, or $SOLPSTOP/modules/B2.5/Database/Bulk_properties/.

TARGET_TEMP
real array of size (NWALL,NDEPTH)
-

Contains the temperature (in Kelvin) of wall element (iwall) at depth layer (idepth). If plate_option.eq.1, will be set to backplate_temp(iwall). If plate_option.eq.2 and empty, will be set to equilibrium 1-D profile deduced from plasma incoming fluxes. If plate-option.eq.3, must be set.

INERTIAL_COOLING
logical array of size (NWALL)
.false.

Indicates whether wall element (iwall) is inertially cooled instead of actively cooled.

BACKPLATE_TEMP
real array of size (NWALL)
b2stbr_plate_temp

Contains the temperature (in Kelvin) maintained by cooling at the back end of wall element (iwall).

PLATE_THICKNESS
real array of size (NWALL)
b2stbr_plate_thick

Contains the thickness (in metres) of wall element (iwall).

COATING_THICKNESS
real array of size (NWALL)
0

Contains the thickness (in metres) of the eventual coating on wall element (iwall).

PLATE_TIME_FACTOR
real array of size (NWALL)
1.0

Multiplier to the time for the equations for temperature and composition evolution of wall element (iwall).

DEPOSITION
real array of size (NWALL,NTRACK)
0.0

Contains the amount of deposited material (in atoms) from species (itrack) onto wall element (iwall).

EROSION
real array of size(NWALL,NTRACK)
0.0

Contains the amount of eroded material (in atoms) of species (itrack) from wall element(iwall).

CHEMICAL_SPUTTERING
real array of size (NWALL,0:NS-1)
0.0

Contains the chemical sputter yield of 'sput_dst' or 'sput_dst_bulk' species on wall element (iwall) caused by B2.5 species (is).

PHYSICAL_SPUTTERING
real array of size (NWALL,0:NS-1)
0.0

Contains the physical sputter yield of 'sput_dst' or 'sput_dst_bulk' species on wall element (iwall) caused by B2.5 species (is).

PHYSICAL_SPUTTERING_ENERGY
real array of size (NWALL,0:NS-1)
0.0

Contains the fraction of returned energy carried by sputtered particles of species 'sput_dst' or 'sput_dst_bulk' species from wall element (iwall) caused by B2.5 species (is).

RES_SPUTTERING
real array of size (NWALL,0:NS-1)
0.0

Contains the RES sputter yield of 'sput_dst' or 'sput_dst_bulk' species on wall element (iwall) caused by B2.5 species (is).

THERMAL_EVAPORATION
real array of size(NWALL,0:NS-1)
0.0

Contains the rate of thermal evaporation of species (is) (in particles/second) from wall element (iwall).

BACKSCATTERING
real array of size (NWALL,0:NS-1)
0.0

Contains the backscattering fraction for incoming B2.5 species (is) onto wall element (iwall).

BACKSCATTERING_ENERGY
real array of size (NWALL,0:NS-1)
0.0

Contains the backscattered energy fraction for incoming B2.5 species (is) onto wall element (iwall).

PLATE_TIME
real array of size (NWALL)
0.0

Indicates how much simulation time has elapsed for wall element (iwall) (in seconds).

PLATE_AREA
real array of size (NWALL)
-

Indicates the wall area (in square metres) for wall element (iwall). Defaults to the area computed from the B2.5 grid information.

MONOLAYER_DEPOSITION
real array of size (NWALL,NTRACK)
0.0

Contains the amount of deposited material (in monolayers) from species (itrack) onto wall element (iwall).

MONOLAYER_EROSION
real array of size (NWALL,NTRACK)
0.0

Contains the amount of eroded material (in monolayers) of species (itrack) from wall element (iwall).

LAYER_NCONSTITUENTS
integer array of size (NWALL)
1

Indicates the number of elemental constituents within the surface layer of wall element (NWALL).

LAYER_NZCONSTITUENTS
integer array of size (NWALL,6+NTRACK)
-

Contains the atomic numbers Z of the various elements present within the surface layer of wall element (iwall). Defaults to 6 for the first value, 0 otherwise.

LAYER_RELCONSTITUENTS
real array of size (NWALL,6+NTRACK)
-

Contains the relative atomic abundances of the various elements present within the surface layer of wall element (iwall). Defaults to 1.0 for the first value, 0.0 otherwise. Replaces LAYER_NRELCONSTITUENTS.

b2md.dat
/B2MD_NAMELIST/
Data type
Default value

Contains data useful for cataloguing the run (done from 'save_mds' and 'resave_mds' scripts).

EXP
character*128
NOT_SET

Name of the experiment being modelled.

SHOT
integer
-

Shot number identifying the run. Defaults to the last number found in shotnumber.history, or 0 if the file is not found.

TIME
real
0.0

Time point of the experimental shot being simulated.

COMMENT
character*128
NOT_SET

Label for the run.

TIMEDEP
logical
-

If .true. (default), saves data from b2time.nc.

SNAPSHOT
logical
-

If .true. (default), saves data from b2fplasma.

TALLIES
logical
-

If .true. (default), saves data from b2tallies.nc.

MOVIES
logical
-

If .true. (default), saves data from b2movies.nc.

OVERWRITE_SHOTNUMBER
integer
-

Indicate the shot number to overwrite (to be used only when updating an already saved run with 'resave_mds' script). Defaults to the last number found in shotnumber.history, or 0 if the file is not found.

linear.geometry
/GRID/
Data type
Default value

These switches are used to produce a geometry for a linear device.

NCOIL
integer
20

Number of coils in the device. For each coils the switches R1, Z1, R2, Z2, CURRENT, windings and nlayers have to be provided.

R1
real array of length NCOIL
0.0

Inner radius of the coil in units of m.

Z1
real array of length NCOIL
0.0

Axial start position of the coil in units of m.

R2
real array of length NCOIL
0.0

Outer radius of the coil in units of m.

Z2
real array of length NCOIL
0.0

Axial end position of the coil in units of m.

CURRENT
real array of length NCOIL
0.0

Current in the coil in units of A.

WINDINGS
integer array of length NCOIL
0

Number of windigs of each coil.

LAYERS
integer array of length NCOIL
5

Number of layers to divide each coil in the radial direction.

STEPSIZE
real
1.0e-4

Initial spacial step size used in the calculation of the field in units of m.

BTOR
real
0.0

Toroidal magnetic field in units of T.

FN_Z
character
z.dat

Two column file with the profile of axial cell size in the numerical space. First line of the file determine the number of rows to read.

FN_R
character
r.dat

Two column file with the profile of radial cell size in the numerical space. First line of the file determine the number of rows to read.

R_NE
real
0.0

Radial position in m of the northeastmost point of the plasma region.

Z_NE
real
0.0

Axial position in m of the northeastmost point of the plasma region.

R_SE
real
0.0

Radial position in m of the southeastmost point of the plasma region.

Z_SE
real
0.0

Axial position in m of the southeastmost point of the plasma region.

R_SW
real
0.0

Radial position in m of the southwestmost point of the plasma region.

Z_SW
real
0.0

Axial position in m of the southwestmost point of the plasma region.

R_NW
real
0.0

Radial position in m of the northwestmost point of the plasma region.

Z_NW
real
0.0

Axial position in m of the northwestmost point of the plasma region.

R_START
real
0.0

Starting radial point in m for the distribution of cells provided by fn_r.

R_END
real
0.0

End radial point in m for the distribution of cells provided by fn_r.

Z_START
real
0.0

Starting axial point in m for the distribution of cells provided by fn_z.

Z_END
real
0.0

End axial point in m for the distribution of cells provided by fn_z.

GC_N
real
1.0e-4

Guard cell size for the North boundary in m.

GC_S
real
1.0e-4

Guard cell size for the South boundary in m.

GC_W
real
1.0e-4

Guard cell size for the West boundary in m.

GC_E
real
1.0e-4

Guard cell size for the East boundary in m.

nExternalRegions
integer
10

Number of external regions to be used in the grid.

nNodesInRegion
integer array of size nExternalRegions
0

Number of nodes per region. Minimum of 3 is required per region.

regionR
real array of size nNodesInRegion,nExternalRegions
0.0

Radial positions in m of the nodes defininig the external region

regionZ
real array of size nNodesInRegion,nExternalRegions
0.0

Axial positions in m of the nodes defininig the external region

startCellR
integer array of size nExternalRegions
-1

Radial starting index of the node on the B2.5 boundary for the region.

startCellZ
integer array of size nExternalRegions
-1

Axial starting index of the node on the B2.5 boundary for the region.

endCellR
integer array of size nExternalRegions
-1

Radial final index of the node on the B2.5 boundary for the region.

endCellZ
integer array of size nExternalRegions
-1

Axial final index of the node on the B2.5 boundary for the region.

WRITE_NML_LD
logical
.false.

If .true., writes the content of the namelist to stdout after it has been read.