Notes
The Sed eff program is composed of three scripts. The program will run Sedeff script1 when n is 3, Sedeff script2 when n is 4 and Sedeff script3 when n is 5. Because the most common number of sedimentation tanks is three, the output of Sedeff script1 will be described below.
Some points and values which will be used several times in the script are defined outside of the script so as to make it cleaner. These variables will be pseudo inputs for Sedeff script1. They are listed below and will be described in greater detail further down.
layer1 - Creates a 'lvlpipe' layer for all of the pipes in the program
Pipe1 - Creates a pipe with a radius of R1 and an origin at the variable "origin". See Pipe Help for details on the pipe function.
Pipe1 Length = Δx + thick tank + offset - ElbowRadius
Notes:
Rotate1 - Pipe 1 is rotated using the Rotate3d function so that from a top view it is oriented in the west to east direction
p1:
p2: origin
axis: "y"
ϕ: -90
Pipe2 - Creates a pipe with a radius of R1 and an origin at the variable "pipe2origin".
pipe2 origin =
Pipe2 Length = Δy - 2ElbowRadius + thick tank + disp
Rotate2 - Pipe 2 is rotated using the Rotate3d function so it is oriented north to south in top view
p1:
p2: pipe2origin
axis: "x"
ϕ: -90
Pipe3 -Creates a pipe with a radius of R1 and an origin at the variable "pipe3origin".
Pipe3 Length = Δx + thicktank + 2offset(lvltankdim0,n) - elbowRadius(2R1)
Rotate3 Pipe 3 is rotated using the Rotate3d function so that from a top view it is oriented in the west to east direction
p1:
p2: pipe3origin
axis: "y"
ϕ: -90
Pipe4 -Creates a pipe with a radius of R1 and an origin at the variable "pipe4origin".
Pipe4 Length = Δy + widthsed - 2ElbowRadius(2R1) + thicktank + disp
Rotate4 Pipe 4 is rotated using the Rotate3d function so that from a top view it is oriented in the west to east direction.
p1:
p2: pipe4origin
axis: "y"
ϕ: -90
Pipe5 -Creates a pipe with a radius of R1 and an origin at the variable "pipe5origin".
Pipe5 length: Δx + thicktank + 3offset(lvltankdim0,n) - ElbowRadius(2R1)
Rotate5 Pipe 5 is rotated using the Rotate3d function so that from a top view it is oriented in the west to east direction.
P1:
p2: pipe5origin
axis: "y"
ϕ: -90
Pipe6 -Creates a pipe with a radius of R1 and an origin at the variable "pipe6origin".
Pipe6 length: Δy + 2widethsed - 2ElbowRadius(2R1) + thicktank + disp
Rotate6 - Pipe 6 is rotated using the Rotate3d function so it is oriented north to south in top view
Pipe7 -Creates a pipe with a radius of R1 and an origin at the variable "pipe7origin".
Pipe7 length: Δz - ElbowRadius(2R1) + thickplatform
zoomwin1 - Zoomwincreates a close-up window by using two points to specify the window size the object is to be viewed in.
p1: tankorigin
p2:
Copy5 - CopyCcreates a copy of the selected objects based on four chosen points.
p1:
p2: pipe7origin
p3:
p4:
Pipe8 -Creates a pipe with a radius of Rmain and an origin at the variable "mainorigin".
Pipe8 length: Hmain + thickplatform + Δz
layer2 Layerset select the layer "0"
layer3
layer4
Elbow1
Rotate7
zoomwin2
Copy1
Copy2
Copy3
Rotate8
Rotate9
Copy4
layer5
layer6
layer7
Tank
layer8
layer9
layer10
cylinder
subtract
one
two
three
return