From dc7608eb1faad45cf83dd801d0f8344c44f3a36a Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Wed, 27 Aug 2014 17:40:22 +0200 Subject: [PATCH] =?utf8?q?ajout=20des=20cas=20tests=20avec=20coin=20vif=20?= =?utf8?q?potentiel=20:=20cubeFin=20(Coin,=20Milieu,=20Transverse).=20Il?= =?utf8?q?=20manque=20la=20g=C3=A9n=C3=A9ration=20des=20.med=20et=20.brep?= =?utf8?q?=20associ=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Tools/blocFissure/CasTests/cubeCoin.py | 28 +++++++++++++++++++ src/Tools/blocFissure/CasTests/cubeMilieu.py | 28 +++++++++++++++++++ .../blocFissure/CasTests/cubeTransverse.py | 28 +++++++++++++++++++ .../blocFissure/{ => gmu}/casStandard.py | 0 4 files changed, 84 insertions(+) create mode 100644 src/Tools/blocFissure/CasTests/cubeCoin.py create mode 100644 src/Tools/blocFissure/CasTests/cubeMilieu.py create mode 100644 src/Tools/blocFissure/CasTests/cubeTransverse.py rename src/Tools/blocFissure/{ => gmu}/casStandard.py (100%) diff --git a/src/Tools/blocFissure/CasTests/cubeCoin.py b/src/Tools/blocFissure/CasTests/cubeCoin.py new file mode 100644 index 000000000..0e39a3224 --- /dev/null +++ b/src/Tools/blocFissure/CasTests/cubeCoin.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +import os +from blocFissure import gmu + +dicoParams = dict(nomCas = 'cubeCoin', + maillageSain = os.path.join(gmu.pathBloc, 'materielCasTests/cubeFin.med'), + brepFaceFissure = os.path.join(gmu.pathBloc, "materielCasTests/cubeFin_Coin.brep"), + edgeFissIds = [4], + lgInfluence = 50, + meshBrep = (5,10), + rayonPipe = 10, + lenSegPipe = 7, + nbSegRad = 5, + nbSegCercle = 10, + areteFaceFissure = 20) + + # --------------------------------------------------------------------------- + +referencesMaillageFissure = dict(Entity_Quad_Pyramid = 0, + Entity_Quad_Triangle = 0, + Entity_Quad_Edge = 0, + Entity_Quad_Penta = 0, + Entity_Quad_Hexa = 0, + Entity_Node = 0, + Entity_Quad_Tetra = 0, + Entity_Quad_Quadrangle = 0) + diff --git a/src/Tools/blocFissure/CasTests/cubeMilieu.py b/src/Tools/blocFissure/CasTests/cubeMilieu.py new file mode 100644 index 000000000..913fa7fce --- /dev/null +++ b/src/Tools/blocFissure/CasTests/cubeMilieu.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +import os +from blocFissure import gmu + +dicoParams = dict(nomCas = 'cubeMilieu', + maillageSain = os.path.join(gmu.pathBloc, 'materielCasTests/cubeFin.med'), + brepFaceFissure = os.path.join(gmu.pathBloc, "materielCasTests/cubeFin_Milieu.brep"), + edgeFissIds = [4], + lgInfluence = 50, + meshBrep = (5,10), + rayonPipe = 10, + lenSegPipe = 7, + nbSegRad = 5, + nbSegCercle = 10, + areteFaceFissure = 10) + +# --------------------------------------------------------------------------- + +referencesMaillageFissure = dict(Entity_Quad_Pyramid = 0, + Entity_Quad_Triangle = 0, + Entity_Quad_Edge = 0, + Entity_Quad_Penta = 0, + Entity_Quad_Hexa = 0, + Entity_Node = 0, + Entity_Quad_Tetra = 0, + Entity_Quad_Quadrangle = 0) + diff --git a/src/Tools/blocFissure/CasTests/cubeTransverse.py b/src/Tools/blocFissure/CasTests/cubeTransverse.py new file mode 100644 index 000000000..c003d38f9 --- /dev/null +++ b/src/Tools/blocFissure/CasTests/cubeTransverse.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +import os +from blocFissure import gmu + +dicoParams = dict(nomCas = 'cubeTransverse', + maillageSain = os.path.join(gmu.pathBloc, 'materielCasTests/cubeFin.med'), + brepFaceFissure = os.path.join(gmu.pathBloc, "materielCasTests/cubeFin_Transverse.brep"), + edgeFissIds = [6], + lgInfluence = 50, + meshBrep = (5,10), + rayonPipe = 10, + lenSegPipe = 7, + nbSegRad = 5, + nbSegCercle = 10, + areteFaceFissure = 10) + +# --------------------------------------------------------------------------- + +referencesMaillageFissure = dict(Entity_Quad_Pyramid = 0, + Entity_Quad_Triangle = 0, + Entity_Quad_Edge = 0, + Entity_Quad_Penta = 0, + Entity_Quad_Hexa = 0, + Entity_Node = 0, + Entity_Quad_Tetra = 0, + Entity_Quad_Quadrangle = 0) + diff --git a/src/Tools/blocFissure/casStandard.py b/src/Tools/blocFissure/gmu/casStandard.py similarity index 100% rename from src/Tools/blocFissure/casStandard.py rename to src/Tools/blocFissure/gmu/casStandard.py -- 2.39.2