Shap3d46.dat, 46th 'shape' file for CPO3D
Cylinder with parallel angled ends, by users equation.
For information on the option for users equations, see users equations.
Taken from xmpl3d82, tilted channel electron multplier.
The cylinder has radius r = 0.05, length s = 5, and is at an angle phi = 10 degrees to the z axis. Its ends are cut perpindular to the z axis.
The equations, say g1(x,y,z), for the left-hand edge are
x = r*cos(theta), y = r*sin(theta), z = 0, where theta = 0 to pi.
The equations, say g2(x,y,z), for the right-hand edge are
x = r*cos(theta)+s*sin(phi), y = r*sin(theta), z = f*s*cos(phi).
In the usual fashion we can combine these by using the general equation
g(x,y,z) = (1 - f)*g1 + f*g2,
where f goes from 0 to 1.
This reproduces g1 when f = 0, and g2 when f = 1.
The x=0 symmetry plane reflects this shape to give the full range of theta.
The data, as they appear in the data file, are:
theta 0 3.141593 name of variable number 1 and its limits
f 0 1 name of variable number 2 and its limits
r 0.05 name of parameter number 1 and its fixed value
s 5 name of parameter number 2 and its fixed value
phi 0.17453 name of parameter number 3 and its fixed value
0 name of parameter number 4 and its fixed value
1 2 numbers of 2 applied voltages (can be same)
3 0 4.924 dir of voltage gradient, x or y or z's of application points
6 100 numbers of subdivisions of variables 1 and 2
(The program has corrected the less accurate value that was entered for pi.)