The template for 2D input data files.
A new simulation can be set up by selecting the template data file template,dat (which used to be called default2.dat.
If the raw data on the electrode geometry exit as a ‘dxf’ file then this can be converted to a 2D primary data file, using a conversion program that is supplied with the CPO package (and assuming that the geometry has axial symmetry).
See also template3 file for 3D.
The template file:
Default or template for CPO2D
cylindrical symmetry -cylindrical or planar symmetry?
tmp.dat name of output file, for processed data
tmp2.dat name of 2nd output file, for ray data
a n/p/m/a for nearlyzero/partial/most/all printing level
1 voltage reflection symmetries in z=0 plane
2 number of different voltages
0.01 allowed reading error
straight electrode 1st electrode
0 -1 r and z of first end
0.5 -1 r and z of second end
1 1 numbers of 2 applied voltages (can be same)
20 -2 number of subdivisions, type of subdivision
straight electrode 2nd electrode
1 -0.5 r and z of first end
1 0 r and z of second end
2 2 numbers of 2 applied voltages (can be same)
20 2 number of subdivisions, type of subdivision
no more electrode information
0 1 0.5 final number of segments, number of steps, weight
1e-06 fractional inaccuracy of charge evaluation
constant applied voltages
1 1st electrode
0 2nd electrode
n focal properties? (y/n)
y y potentials and fields along a line
-0.5 0.5 coordinates of initial end
0.5 0.5 coordinates of final end end
5 Number of points
0.0001 inaccuracy of evaluation
n n no more potentials and fields along a line
y trace rays (y/n)?
d direct (d), or mesh (m) method and mesh spacing
p 'n/p/m/a' for 'nearlyzero/partial/most/all' printing level, rho/radius
-1.5 1.5 minimum and maximum r of screen fields of view
-1.5 1.5 minimum and maximum z
-1.5 1.5 minimum and maximum r of rays
-1.5 1.5 minimum and maximum z
-1e+10 1e+10 minimum and maximum vr (m/s) of rays
-1e+10 1e+10 minimum and maximum vz
y stop ray if electrode crossed (y/n)
+ direction of time, (+/-)
1e-05 final time(ms)
0.1 0.1 3 initial and max step length(mm) and interpolation points
-0.001 fractional inaccuracy of ray tracing
1 number of test planes
0 1 1 a,b,c of test plane
n iterate to focus
el 'el' for electron; or 'co' or 'va' for other particles
k kinetic energy (k); or total energy (t) and potential
set of single rays:
0 0 0.25 1 1 0 r,z,vr,vz,eV,I
last of this set of rays
n calculate space-charges?
0 0 symmetries of rays in r=0 (or x=0) and z=0 planes
template for CPO2D