| Wiki Markup |
|---|
h3. General Program |
...
Inputs Needed to Call the Flocculation Tank Program
Inputs Defined Within the Flocculation Tank Program
Dimensions
totalflocdim =
- x: flocdim0
- y: (numfloctanks*flocdim1) + ((numfloctanks - 1)*tankthick)
- z: flocdim2
walldim =
- x: totalflocdim0 + (2tankthick)
- y: tankthick
- z: totalflocdim2
Origin Points
flocorigin =
- x: tankorigin0
- y: tankorigin1 + numtanks(tankdim1 + tankthick)
- z: tankorigin2
wallorigin =
- x: tankorigin0 - flocdim0 - tankthick
- y: tankorigin1 + numtanks(tankdim1 + tankthick) + flocdim1)
- z: tankorigin2
holeorigin =
- x: tankorigin0 - flocholedim0
- y: tankorigin1 + numtanks(tankdim1 + tankthick) + flocdim1
- z: tankorigin2
baffletank1origin =
- x: tankorigin0 - tankdim0
- y: tankorigin1 + numtanks*(tankdim1 + tankthick) + flocdim1 + walldim1
- z: tankorigin2
baffletank2origin =
- x: tankorigin0 - tankdim0
- y: tankorigin1 + numtanks*(tankdim1 + tankthick)
- z: tankorigin2
Technical Program Outline
layer1 -
layer1 <- layernew("floctank",dkgrey)
tank1
tank1 <- Tank(flocorigin,totalflocdim,tankthick)
box1 -
box1 <- box(wallorigin,wallorigin + walldim)
box2 -
box2 <- box(holeorigin,holeorigin + flocholedim)
subtract0 -
subtract0 <- subtractD(p1,holeorigin)
p1 =
- x: holeorigin0 + flocholedim0 + tankthick
- y: holeorigin1
- z: holeorigin2
union1 -
union1 <- unionC(p1,p2)
p1 =
- x: flocorigin0 - totalflocdim0 - tankthick - zc
- y: flocorigin1 - tankthick - zc
- z: flocorigin2
p2 =
- x: flocorigin0 + tankthick + zc
- y: flocorigin1 + totalflocdim1 + tankthick + zc
- z: flocorigin2
box3 -
box3 <- box(p1,p2)
p1 =
- x: flocorigin0 - totalflocdim0
- y: flocorigin1 - tankthick
- z: flocorigin2 + totalflocdim2 - channeldim2
p2 =
- x: flocorigin0 - totalflocdim0 + channeldim1
- y: flocorigin1
- z: flocorigin2 + totalflocdim2
subtract1 -
subtract1 <- subtractD(flocorigin,p1)
p1 =
- x: flocorigin0 - flocdim0
- y: flocorigin1 - tankthick
- z: flocorigin2 + flocdim2 - channeldim2
layerset
layerset <- layerset("0")
layerfreeze -
...
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=500px!|AutoCAD Channel Program] Northeast Isometric View {float} *tank1* tank1 <\- Tank(floc{~}origin~,totalfloc{~}dim~,tank{~}thick~) *box1* \- box1 <\- box(wall{~}origin~,wall{~}origin~ + wall{~}dim~) *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") |