mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
ajout des cas tests avec coin vif potentiel : cubeFin (Coin, Milieu, Transverse). Il manque la génération des .med et .brep associés
This commit is contained in:
parent
6b00ce3326
commit
dc7608eb1f
28
src/Tools/blocFissure/CasTests/cubeCoin.py
Normal file
28
src/Tools/blocFissure/CasTests/cubeCoin.py
Normal file
@ -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)
|
||||
|
28
src/Tools/blocFissure/CasTests/cubeMilieu.py
Normal file
28
src/Tools/blocFissure/CasTests/cubeMilieu.py
Normal file
@ -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)
|
||||
|
28
src/Tools/blocFissure/CasTests/cubeTransverse.py
Normal file
28
src/Tools/blocFissure/CasTests/cubeTransverse.py
Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user