Skip to content
Snippets Groups Projects
Commit f08a62db authored by Mohib's avatar Mohib
Browse files

[Feature] - Periodic USF Cell

parent aca42065
No related branches found
No related tags found
1 merge request!6[Feature] - Periodic USF Cell
......@@ -539,18 +539,42 @@ def Geo_generator(name, rho, vfr, length, width, height, sb, Radius, vfraction,
r=Radius
A=[[[0,0,0],[0,sb,0],[r,0,0]], #2
[[sb,0,0],[sb,sb,0 ],[r,0,0]], #3
[[sb,0,0],[sb,sb,0 ],[r,0,0]], #3
[[0,0,l],[0,sb,l],[r,0,0]], #11
[[sb,0,l],[sb,sb,l],[r,0,0]], #12
[[sb/2,0,l/2],[sb/2,sb,l/2],[r,0,0]], #8
[[sb,sb,l],[0,0,0],[r,0,0]], #4
[[0,sb,0],[sb,0,l],[r,0,0]], #5
[[sb,sb/2,0],[sb/2,0,l/2],[r,0,0]], #6
[[sb,sb,0],[0,0,-l],[r,0,0]],
[[sb,sb,2*l],[0,0,l],[r,0,0]],
[[2*sb,sb,l],[sb,0,0],[r,0,0]],
[[0,sb,l],[-sb,0,0],[r,0,0]],
[[0,sb,0],[sb,0,l],[r,0,0]], #5
[[0,sb,-l],[sb,0,0],[r,0,0]],
[[0,sb,l],[sb,0,2*l],[r,0,0]],
[[sb,sb,0],[2*sb,0,l],[r,0,0]],
[[-sb,sb,0],[0,0,l],[r,0,0]],
[[sb,sb/2,0],[sb/2,0,l/2],[r,0,0]], #6
[[sb,sb/2,-l],[sb/2,0,-l/2],[r,0,0]],
[[sb,sb/2,l],[sb/2,0,3*l/2],[r,0,0]],
[[0,sb/2,0],[-sb/2,0,l/2],[r,0,0]],
[[sb/2,sb,l/2],[sb,sb/2,0],[r,0,0]], #7
[[sb/2,0,l/2],[sb/2,sb,l/2],[r,0,0]], #8
[[sb/2,sb,-l/2],[sb,sb/2,-l],[r,0,0]],
[[sb/2,sb,3*l/2],[sb,sb/2,l],[r,0,0]],
[[-sb/2,sb,l/2],[0,sb/2,0],[r,0,0]],
[[sb/2,0,l/2],[0,sb/2,l],[r,0,0]], #9
[[0,sb/2,l],[sb/2,sb,l/2],[r,0,0]], #10
[[sb/2,0,-l/2],[0,sb/2,0],[r,0,0]],
#[[sb/2,0,3*l/2],[0,sb/2,2*l],[r,0,0]],
[[3*sb/2,0,l/2],[sb,sb/2,l],[r,0,0]],
[[0,0,l],[0,sb,l],[r,0,0]], #11
[[sb,0,l],[sb,sb,l],[r,0,0]]] #12
[[0,sb/2,l],[sb/2,sb,l/2],[r,0,0]], #10
[[0,sb/2,0],[sb/2,sb,-l/2],[r,0,0]],
#[[0,sb/2,2*l],[sb/2,sb,3*l/2],[r,0,0]],
[[sb,sb/2,l],[3*sb/2,sb,l/2],[r,0,0]]]
r0=r
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment