General Program Information
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 -
layerfreeze <- layerfreeze("floctank")