Stellarator-Tools
Namelist v3r_coils definition

Introduction

This page documents the contents of a namelist input file. V3RFUN namelist variables are defined in the v3r_coils common block.

Namelist Variables

Input variableDescriptionCode Reference

Filename Variables

name_coils_dotFilename for the field coil discription.v3rfun_input::name_coils_dot
name_diagnostic_dotFilename for the field diagnostic coil discription.v3rfun_input::name_diagnostic_dot

Control Variables

idrfunV3RFUN identification for the run.v3rfun_input::idrfun
lstell_symControl for stellarator symmetry.v3rfun_input::lstell_sym
l_read_coils_dotControl to ignore the coils dot file.v3rfun_input::l_read_coils_dot
use_con_shellComputes the response function for a conducting shell.v3rfun_input::use_con_shell
len_integrate_ddcIntegration length in meters.v3rfun_input::len_integrate_ddc

Super Conducting Coils

is_super_conFlags a coil as a super conductor. Super conducting are steady state so integated magnetic won't pick up an induced signal.v3rfun_input::is_super_con

Response Grid Variables

irNumber of radial grid points.v3rfun_input::ir
jzNumber of vertical grid points.v3rfun_input::jz
kpNumber of toroidal grid points.v3rfun_input::kp
kp_shellNumber of shell toroidal grid points.v3rfun_input::kp_shell
n_field_periods_nliNumber of field periods.v3rfun_input::n_field_periods_nli
rminMinimum R for plasma grid.v3rfun_input::rmin
rmaxMaximum R for plasma grid.v3rfun_input::rmax
zminMinimum Z for plasma grid.v3rfun_input::zmin
zmaxMaximum Z for plasma grid.v3rfun_input::zmax
major_radiusShell major radius for shell grid.v3rfun_input::major_radius
minor_radiusShell minor radius for shell grid.v3rfun_input::minor_radius

Tilt and Shift Variables

cg_shift_1Vector to shift all the coils before rotation.v3rfun_input::cg_shift_1
cg_shift_2Vector to shift all the coils after rotation.v3rfun_input::cg_shift_2
cg_rot_xcentPosition of center of rotation.v3rfun_input::cg_rot_xcent
cg_rot_thetaSpherical polar angle to specify axis of rotation.v3rfun_input::cg_rot_theta
cg_rot_phiSpherical azimuthal angle to specify axis of rotation.v3rfun_input::cg_rot_phi
cg_rot_angleAngle to rotate about axis of rotation. Left hand convention. Put left thumb along axis of rotation, fingers indicate direction of positive rotation.v3rfun_input::cg_rot_angle
l_rot_coil_centerControls the center of rotation.
  • True Use current-averaged center of coil-group for center of rotation.
  • False Use position specified in cg_rot_xcent for center of rotation.
v3rfun_input::l_rot_coil_center

Example File

! Example V3RFUN input file.
&v3fit_main_nli
idrfun = 'example'
name_coils_dot = 'coils.example'
name_diagnostic_dot = 'diagnostic.example.dot'
rmin=0.98
rmax=2.02
zmin=-0.52
zmax=0.52
ir=101
jz=101
kp=32
lstell_sym = f
use_con_shell = t
major_radius = 1.5
minor_radius = 0.525
kp_shell = 128
/

Programmers Reference

Reference material for the coding to implement this namelist is found in the v3rfun_input module.