h3. General Program Information
h5. Inputs Needed to Call the Flocculation Tank Program
h5. Inputs Defined Within the Flocculation Tank Program
*Dimensions*
*totalfloc{*}{*}{~}dim{~}* =
* x: floc{~}dim0~
* y: (numfloc{~}tanks~\*floc{~}dim1~) + ((numfloc{~}tanks~ \- 1)*tank{~}thick~)
* z: floc{~}dim2~
*wall{*}{*}{~}dim{~}* =
* x: totalfloc{~}dim0~ + (2tank{~}thick~)
* y: tank{~}thick~
* z: totalfloc{~}dim2~
*Origin Points*
floc{~}origin~ =
* x: tank{~}origin0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~)
* z: tank{~}origin2~
wall{~}origin~ =
* x: tank{~}origin0~ \- floc{~}dim0~ \- tank{~}thick~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~)
* z: tank{~}origin2~
hole{~}origin~ =
* x: tank{~}origin0~ \- flochole{~}dim0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~
* z: tank{~}origin2~
baffletank1{~}origin~ =
* x: tank{~}origin0~ \- tank{~}dim0~
* y: tank{~}origin1~ + num{~}tanks~\*(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~ + wall{~}dim1~
* z: tank{~}origin2~
baffletank2{~}origin~ =
* x: tank{~}origin0~ \- tank{~}dim0~
* y: tank{~}origin1~ + num{~}tanks~\*(tank{~}dim1~ + tank{~}thick~)
* z: tank{~}origin2~
h3. Technical Program Outline
*layer1* \-
layer1 <\- layer{~}new~("floctank",dkgrey)
{float:left|border=2px solid black}
[!tank1.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*tank1*
tank1 <\- Tank(floc{~}origin~,totalfloc{~}dim~,tank{~}thick~)
\\
\\
{float:left|border=2px solid black}
[!box1 with points.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*box1* \-
box1 <\- box(wall{~}origin~,wall{~}origin~ + wall{~}dim~)
\\
\\
{float:left|border=2px solid black}
[!box2 with points.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*box2* \-
box2 <\- box(hole{~}origin~,hole{~}origin~ + flochole{~}dim~)
\\
\\
*subtract0* \-
subtract0 <\- subtractD(p1,hole{~}origin~)
p1 =
* x: hole{~}origin0~ + flochole{~}dim0~ + tank{~}thick~
* y: hole{~}origin1~
* z: hole{~}origin2~
*union1* \-
union1 <\- unionC(p1,p2)
p1 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~ \- tank{~}thick~ \- zc
* y: floc{~}origin1~ \- tank{~}thick~ \- zc
* z: floc{~}origin2~
p2 =
* x: floc{~}origin0~ + tank{~}thick~ + zc
* y: floc{~}origin1~ + totalfloc{~}dim1~ + tank{~}thick~ + zc
* z: floc{~}origin2~
*box3* \-
box3 <\- box(p1,p2)
p1 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~
* y: floc{~}origin1~ \- tank{~}thick~
* z: floc{~}origin2~ + totalfloc{~}dim2~ \- channel{~}dim2~
p2 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~ + channel{~}dim1~
* y: floc{~}origin1~
* z: floc{~}origin2~ + totalfloc{~}dim2~
*subtract1* \-
subtract1 <\- subtractD(floc{~}origin~,p1)
p1 =
* x: floc{~}origin0~ \- floc{~}dim0~
* y: floc{~}origin1~ \- tank{~}thick~
* z: floc{~}origin2~ + floc{~}dim2~ \- channel{~}dim2~
*layerset*
layerset <\- layer{~}set~("0")
*layerfreeze* \-
layerfreeze <\- layer{~}freeze~("floctank") |