X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FTools%2FblocFissure%2FCasTests%2Fellipse_1.py;h=b307a116e76c725deda6b32d009630bc39a27fc1;hb=499f29d24922cec66e41b41a0039a954993bc6df;hp=fce709094fb5f2e3fe26e8f07659393081c9e129;hpb=140b89fcdf34becd8a3be2f1e276ad0960383eca;p=modules%2Fsmesh.git diff --git a/src/Tools/blocFissure/CasTests/ellipse_1.py b/src/Tools/blocFissure/CasTests/ellipse_1.py index fce709094..b307a116e 100644 --- a/src/Tools/blocFissure/CasTests/ellipse_1.py +++ b/src/Tools/blocFissure/CasTests/ellipse_1.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2021 EDF R&D +# Copyright (C) 2014-2022 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -34,7 +34,7 @@ from blocFissure.gmu.putName import putName class ellipse_1(fissureGenerique): """problème de fissure non plane, débouchante non normale""" - nomProbleme = "ellipse1" + nomProbleme = "ellipse_1" shapeFissureParams = dict() maillageFissureParams = dict() referencesMaillageFissure = dict() @@ -51,7 +51,7 @@ class ellipse_1(fissureGenerique): logging.info(texte) ([objetSain], _) = smesh.CreateMeshesFromMED(os.path.join(gmu.pathBloc, "materielCasTests", "boiteSaine.med")) - putName(objetSain.GetMesh(), "{}_objetSain".format(self.nomProbleme), i_pref=self.numeroCas) + putName(objetSain.GetMesh(), self.nomProbleme, i_pref=self.numeroCas) return [objetSain, True] # True : maillage hexa @@ -78,7 +78,7 @@ class ellipse_1(fissureGenerique): lgInfluence = shapeFissureParams['lgInfluence'] - shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests", "ellipse1.brep")) + shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests", "ellipse_1.brep")) fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"]) geompy.UnionIDs(fondFiss, [3]) geompy.addToStudy( shellFiss, 'shellFiss' ) @@ -96,8 +96,8 @@ class ellipse_1(fissureGenerique): texte = "setParamMaillageFissure pour '{}'".format(self.nomCas) logging.info(texte) self.maillageFissureParams = dict(nomRep = os.curdir, - nomFicSain = self.nomCas, - nomFicFissure = self.nomCas + "_fissure", + nomFicSain = self.nomProbleme, + nomFicFissure = self.nomProbleme + "_fissure", nbsegRad = 5, nbsegCercle = 8, areteFaceFissure = 1000) @@ -128,10 +128,10 @@ class ellipse_1(fissureGenerique): self.referencesMaillageFissure = dict( \ Entity_Quad_Quadrangle = 1748, \ Entity_Quad_Hexa = 3795, \ - Entity_Node = 21939, \ + Entity_Node = 21531, \ Entity_Quad_Edge = 256, \ Entity_Quad_Triangle = 360, \ - Entity_Quad_Tetra = 2425, \ + Entity_Quad_Tetra = 2121, \ Entity_Quad_Pyramid = 199, \ Entity_Quad_Penta = 120 \ )