From f08a62db26d3ce71850a2709815a591916040f72 Mon Sep 17 00:00:00 2001 From: Mohib <mohib.mustafa@gmail.com> Date: Wed, 24 Jan 2024 18:56:56 +0100 Subject: [PATCH] [Feature] - Periodic USF Cell --- .../Auto_geometry_parametric.py | 40 +++++++++++++++---- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/Lattice_Cell_script/Auto_geometry_parametric.py b/Lattice_Cell_script/Auto_geometry_parametric.py index 34a142b..4d465ee 100755 --- a/Lattice_Cell_script/Auto_geometry_parametric.py +++ b/Lattice_Cell_script/Auto_geometry_parametric.py @@ -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 -- GitLab