From f89560f3b73a9a511b6170fca3a5f8c741a726ff Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 18 Jan 2021 16:50:19 +0100 Subject: [PATCH] Updated hexagon meshes --- .../2DHexagonWithTriangles/HexagonMesh.py | 6 ++++-- .../meshHexagonWithTriangles10.med | Bin 25140 -> 26985 bytes .../meshHexagonWithTriangles100.med | Bin 948044 -> 949705 bytes .../meshHexagonWithTriangles200.med | Bin 3317588 -> 3319249 bytes .../meshHexagonWithTriangles50.med | Bin 280044 -> 281705 bytes 5 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CDMATH/tests/ressources/2DHexagonWithTriangles/HexagonMesh.py b/CDMATH/tests/ressources/2DHexagonWithTriangles/HexagonMesh.py index 2bfad32..1e7925f 100644 --- a/CDMATH/tests/ressources/2DHexagonWithTriangles/HexagonMesh.py +++ b/CDMATH/tests/ressources/2DHexagonWithTriangles/HexagonMesh.py @@ -7,6 +7,7 @@ import sys import os from math import pi, cos, sin +import SMESH geompy = geomBuilder.New() smesh = smeshBuilder.New() @@ -28,14 +29,15 @@ edges = [geompy.MakeEdge(points[i], points[i + 1]) for i in range(6)] wire = geompy.MakeWire(edges) hexa = geompy.MakeFace(wire, True) geompy.addToStudy(hexa, "Hexagon") -g = create_group_from("Hexagon_boundaries", hexa, [geompy.GetInPlace(hexa, wire, 1)]) +g = create_group_from("HexagonBoundary", hexa, [geompy.GetInPlace(hexa, wire, 1)]) mesh = smesh.Mesh(hexa, "HexagonWith"+str(NumberOfSegments)+"Triangles") msurf = mesh.Triangle(algo=smeshBuilder.NETGEN_1D2D) NETGEN_2D_Simple_Parameters_1 = msurf.Parameters(smeshBuilder.SIMPLE) NETGEN_2D_Simple_Parameters_1.SetNumberOfSegments( NumberOfSegments ) -mesh.Group(g) +HexagonBoundary_1 = mesh.GroupOnGeom(g, 'BoundaryFaces', SMESH.EDGE) +HexagonBoundary_2 = mesh.GroupOnGeom(g, 'BoundaryNodes', SMESH.NODE) mesh.Compute() mesh.ExportMED("meshHexagonWithTriangles"+str(NumberOfSegments)+".med") diff --git a/CDMATH/tests/ressources/2DHexagonWithTriangles/meshHexagonWithTriangles10.med b/CDMATH/tests/ressources/2DHexagonWithTriangles/meshHexagonWithTriangles10.med index 19a71f01d178d22714332b620cdceab6ce64982d..196e65a020c4743c12c8e4a37b2b6acb7486b354 100644 GIT binary patch delta 2660 zcmdmTgz@Di#tAZ-nVAe=U;v>Qs!v~x@%L~EVp354{3#v@PhP+%KQSd*y6fGcRah0o zubsS*!+x?PW1i&IjQ<<4ssS2OCA0qFnG0Z9MI__FRz)%bjZm5#!DP?$M`7|zrf)2} zm#n)yc`|bgUuG)QfecM92dyWovc$+RIzfb_p)xR9?@43N=D93vO#Eo(18ujS{FcpL zvi>k*2`=}^PflSM;T2$DU}RwR^LGt(`6E8LkX@3?Q~_#@=;V)#;*vHqXA59A;s*OV zNluTW9@u3UFv?Bd%MrsOXtF?evMi?@Pac6Jd8H-+VnzIOUh-r6d+rx+Ny37EfNtQDZ;2#E zMV(63?N|+quK=lb(4WkxBhBjU?;ooSbhrXjrOxC7QW6Rry3pX`fznV)zbRMT-`T?( zSiXx*PB3Iw0T!*ZlpvB!9dq=sx@@wgv@27k%H#&=JuI*8)-2fkNB#pl&~j8T*+FJ1 zdPzS?&X#G8z+`*5Ba#`O?s8a72dSwv0jc5O(34+{>^dF4P+t{2h&4yj*3ZNf5L0cz z0TJwKWNZM9K{Jl(`&&)H<{8R@eXHZ^=vkl-G4CN$z(hReZ8HX%C&zRQWSD~YBSVO$ z9Z)YrGm@L5?<^yz5L!Un)?UiS>fOmbI<|~cCZEzd%JQD!jU_PD+$P`Dtw0aC$q9P4 zOobMc=j$Eec*QEe0zFtNZ6NlxpH1+@!qhH7iT!cYy&oEtV8lGzfrxUzT=~I14Oy8=iZ#jF~*wFM;IBvQ7||5{baY`U{?kcSV;&h(5yj|#DaXmf;*0o!Jl2vasg lSx$%+5ZNupybEE72*?m!Gq@?>ra>3S=0dJhjEha;SO78Kx!?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