Stellarator-Tools
Discription of the SIESTA restart file.

Introduction

This page documents the contents of a SIESTA restart file.

Namelist Variables

Input variableDescriptionCode Reference

Control Flags

state_flagsState flags of the model. Aditionally stores the version number in the first 31 bits.
  • restart_version
  • restart_lasym
wout_fileName of the inital wout_file.siesta_namelist::wout_file

Dimension sizes.

mpolNumber of torodial modes.siesta_namelist::mpolin
nfpNumber of field periods.siesta_namelist::nfpin
nradNumber of radial surfaces.island_params::ns_i
ntorMaximum torodal mode.siesta_namelist::ntorin

Normalization factors.

b_factorNormalization factor for the magnetic field.quantities::b_factor
p_factorNormalization factor for the pressure.quantities::p_factor

Scalar quantities.

curtorThe toroidal current.shared_data::siesta_curtor
p_maxMaximum pressure.
p_minMinimum pressure.
rmajorMajor radius.island_params::rmajor_i
wbEnergy stored in the magnetid field.quantities::wb
wpEnergy stored in the pressure.quantities::wb

1D profiles.

chipf_r_Radial derivative of the poloidal flux.island_params::chipf_i
phipf_r_Radial derivative of the toroidal flux.island_params::phipf_i

@table_sections{siesta_restart_2D_arrays_sec, 3D arrays.}

Internal arrays

JBsupssh_m_n_r_Normalized JB^s component sine parity.quantities::jbsupsmnsh
JBsupuch_m_n_r_Normalized JB^u component cosine parity.quantities::jbsupumnch
JBsupvch_m_n_r_Normalized JB^v component cosine parity.quantities::jbsupvmnch
jpresch_m_n_r_Normalized JP component cosine parity.quantities::jpmnch

Internal arrays asym.

JBsupsch_m_n_r_Normalized JB^s component cosine parity.quantities::jbsupsmnch
JBsupush_m_n_r_Normalized JB^u component sine parity.quantities::jbsupumnsh
JBsupvsh_m_n_r_Normalized JB^v component sine parity.quantities::jbsupvmnsh
jpressh_m_n_r_Normalized JB^v component sine parity.quantities::jpmnsh

Grid arrays

rmnc_m_n_r_R cosine parity.vmec_info::rmnc_i
zmns_m_n_r_Z sine parity.vmec_info::zmns_i

Gird arrays asym.

rmns_m_n_r_R sine parity.vmec_info::rmns_i
zmnc_m_n_r_Z cosine parity.vmec_info::zmnc_i

VMEC arrays.

lmns_m_n_r_Lambda sine parity.vmec_info::lmns_i

VMEC arrays asym.

lmnc_m_n_r_Lambda cosine parity.vmec_info::lmnc_i

Magnetic fields.

bsubsmnsh_m_n_r_B_s component sine parity.
bsubumnch_m_n_r_B_u component cosine parity.
bsubvmnch_m_n_r_B_v component cosine parity.
bsupsmnsh_m_n_r_B^s component sine parity.
bsupumnch_m_n_r_B^u component cosine parity.
bsupvmnch_m_n_r_B^v component cosine parity.

Magnetic fields asymmetric.

bsubsmnch_m_n_r_B_s component cosine parity.
bsubumnsh_m_n_r_B_u component sine parity.
bsubvmnsh_m_n_r_B_v component sine parity.
bsupsmnch_m_n_r_B^s component cosine parity.
bsupumnsh_m_n_r_B^u component sine parity.
bsupvmnsh_m_n_r_B^v component sine parity.

Pressure.

pmnch_m_n_r_Pressure cosine parity.

Magnetic fields asymmetric.

pmnsh_m_n_r_Pressure sine parity.

Magnetic fields.

fsubsmnsh_m_n_r_F_s component sine parity.quantities::fsubsmnsf
fsubumnch_m_n_r_F_u component cosine parity.quantities::fsubumncf
fsubvmnch_m_n_r_F_v component cosine parity.quantities::fsubvmncf
fsupsmnsh_m_n_r_F^s component sine parity.quantities::fsupsmncf
fsupumnch_m_n_r_F^u component cosine parity.quantities::fsupumnsf
fsupvmnch_m_n_r_F^v component cosine parity.quantities::fsupvmnsf

Magnetic fields asymmetric.

fsubsmnsh_m_n_r_F_s component sine parity.quantities::fsubsmnsf
fsubumnch_m_n_r_F_u component cosine parity.quantities::fsubumncf
fsubvmnch_m_n_r_F_v component cosine parity.quantities::fsubvmncf
fsupsmnch_m_n_r_F^s component cosine parity.quantities::fsupsmncf
bsupumnsh_m_n_r_F^u component sine parity.quantities::fsupumnsf
bsupvmnsh_m_n_r_F^v component sine parity.quantities::fsupvmnsf

Vector potential arrays

asubsmnsf_m_n_r_A_s component sine parity.shared_data::asubsmnsf
asubumncf_m_n_r_A_u component cosine parity.shared_data::asubumncf
asubvmncf_m_n_r_A_v component cosine parity.shared_data::asubvmncf

Vector potential asymmetric arrays

asubsmncf_m_n_r_A_s component cosine parity.shared_data::asubsmncf
asubumnsf_m_n_r_A_u component sine parity.shared_data::asubumnsf
asubvmnsf_m_n_r_A_v component sine parity.shared_data::asubvmnsf

Programmers Reference

Reference material for the coding to implement this restart file is found in the restart_mod module.