next up previous
Next: define_cathode Up: Manual Pages Previous: add_on_axis_fields

define_solenoid

Here is an example of using three define_solenoid commands to make a solenoid field with a peak on-axis $B_z$ value of 0.3T that is bucked to zero at $z=0$. The main solenoid field is produced by two sets of windings with a ratio of 10:1 between the current:

&define_solenoid
        radius = 0.06,
        evaluation_radius_limit = 0.1,
        z_start = 0.0,
        z_end = 0.15,
        current = 1,
        turns = 100,
&end

&define_solenoid
        radius = 0.06,
        evaluation_radius_limit = 0.1,
        z_start = 0.20,
        z_end = 0.30,
        current = 0.1,
        turns = 67,
&end

&define_solenoid
        radius = 0.02,
        evaluation_radius_limit = 0.1,
        z_start = -0.04,
        z_end = -0.02,
        current = 1,  ! any nonzero value will do
        turns = 100,
        bucking = 1,
        Bz_peak = 0.3,
        field_output = solenoid.sdds
&end

next up previous
Next: define_cathode Up: Manual Pages Previous: add_on_axis_fields
Robert Soliday 2015-09-02