You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

General Program Information

Input Definitions

  • origin is a 3,1 matrix with the x,y,z values of the center point of the outlet of the first sedimentation tank
  • width sed is the distance between the outlets of the sedimentation tanks or the width of the sedimentation tanks from the center line of the wall on either side of a tank
  • lvltank dim is a 3,1 matrix with the x,y,z dimensions of the tank
  • Δ x is the distance in the x direction in a top view from the outlet of the first sedimentation tank (or the origin of the first pipe) to the outside wall of the leveling tank
  • Δ y is the distance in the y direction in a top view from the outlet of the first sedimentation tank (or the origin of the first pipe) to the outside wall of the leveling tank
  • Δ z is the distance in the z direction in a top view from the outlet of the first sedimentation tank (or the origin of the first pipe) to the bottom wall of the platform
  • lvltank thick is the thickness of the walls of the leveling tank
  • thick platform is the thickness of the platform
  • R1 is the inner radius of the pipes leading to the leveling tank
  • R main is the inner radius of the effluent pipe
  • H main is the height of the effluent pipe (or the water level in the leveling tank)
  • n is the number of sedimentation tanks
  • disp is the displacement of the center of the pipes coming up into the leveling tanks from the inside wall of the tank

Notes

  • All coordinates correspond to a top view.
  • The floor of the leveling tank is at the same elevation as the top of the platform

Pipe Labeling

Step by Step Description

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.

  • pipe2 origin, pipe3 origin, pipe4 origin, pipe5 origin, pipe6 origin, elbow1 origin, pipe7 origin, tank origin, main origin, origin, lvltank dim, Δx, Δy, Δz, tank thick, thick platform, width sed, R1, R main, H main, n, disp

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:

  • Pipe1 Length is not a variable, the values are inputed directly into the pipe function
  • offset is a function which divides the x dimension of the level tank by the number of sedimentation tanks, so as to evenly space the inlet pipes to the tank.
  • ElbowRadius is the radius of curvature of an elbow. In the script it is given as a function of the inner radius. This function is defined in the Pipe Database program

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:

  • x: origin0 + R1
  • y: origin1
  • z: origin2

p2: origin

axis: "y"

ϕ: -90

Pipe2 - Creates a pipe with a radius of R1 and an origin at the variable "pipe2origin".

pipe2 origin =

  • x: x,origin - Pipe1 Length
  • y: y,origin + ElbowRadius
  • z: z,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:

  • x: pipe2origin0 + R1
  • y: pipe2origin1
  • z: pipe2origin2

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:

  • x: pipe3origin0 + R1
  • y: pipe3origin1
  • z: pipe3origin2

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:

  • x: pipe4origin0 + R1
  • y: pipe4origin1
  • z: pipe4origin2

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:

  • x: pipe5origin0 + R1
  • y: pipe5origin1
  • z: pipe5origin2

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

Pipe7

zoomwin1

Copy5

Pipe8

layer2

layer3

layer4

Elbow1

Rotate7

zoomwin2

Copy1

Copy2

Copy3

Rotate8

Rotate9

Copy4

layer5

layer6

layer7

Tank

layer8

layer9

layer10

cylinder

subtract

one

two

three

return

  • No labels