Defining coil geometry in filament format
Coil geometry is typically passed in 'filament' format. In a 'filament' file, the first three lines read as follows:
periods 3
begin filament
mirror NIL
The first line indicates the number of periods. The second line indicates that the coil will be represented as a collection of filaments. The third line indicates that it is unnecessary to mirror the coils, i.e. all the coils are included in the data file. Typical entries for subsequent lines would be:
2.048500E+00 4.141200E-01 -7.348400E-01 1.000000E+06
2.032800E+00 3.813800E-01 -7.524300E-01 0.000000E+00 1 Saddle1
The first three entries on each line define a point in (x,y,z) coordinates. The next entry is the current in the filament running from the point defined on that line to the point defined on the subsequent line. All filaments within an individual coil should have the same current. A zero entry for the current marks the end of a coil. Appended to the line marking the end of a coil are entries for the coil group (a number) and the name of the coil group. The last line of the file is marked by an end statement as shown below.
2.744000E+00 4.036612E-12 -7.090000E-01 0.000000E+00 11 PF6
end
Please forward comments and questions to reiersen@pppl.gov
(last updated on 01/21/2004 04:53 PM )