General Program Information
Technical Program Outline
Note: All coordinates are referenced in top view in the program unless otherwise specifiedInput Definitions
- manifoldorigin is a 3*1 matrix with x,y,z positions corresponding to the point where the manifold will be drawn
- manifoldinr is the radius of the inner cylinder
- manifoldoutr is the radius of the outer cylinder
- radhole is the radius of the orifice hole
- tanklength is the length of the tank
- orificedist is the distance between successive orifices
Technical Program Outline
zoomwin - zooms on a window space
pipe1 - draws a pipe (from the pipe program)cylinder1 - draws a cylinder with pipeoutr as radiuscylinder2 - draws a cylinder with pipeinr as radiuscylinder3 - is to draw a cylinder for orifice purposeviewrightside - change view to viewrightsidearray1 - draw starting at point p1, n1 -- as many rows as the tank length/orifice dist, n2 - 1 and provide orifice distance as the next draw point for the cylindermirror1 - mirror the orifices on to the other side of the pipe at 2*tan(Pi)/3subtract1 - subtract unneeded portion of the cylinders