Salome HOME
debug
[modules/smesh.git] / src / Tools / blocFissure / lanceurTestAubry.py
1 # -*- coding: iso-8859-1 -*-
2
3 import sys
4 import salome
5
6 import os
7 from blocFissure import gmu
8 from blocFissure.gmu import initLog
9 #initLog.setDebug()
10 initLog.setVerbose()
11
12 from blocFissure.casStandard import casStandard
13
14 mesh = 'huehue.med'
15 crack = 'hue.brep'
16
17 dicoParams = dict(nomCas            = 'testAubry',
18                   maillageSain      = '/local00/home/I48174/Bureau/{0}'.format(mesh),
19                   brepFaceFissure   = '/local00/home/I48174/Bureau/{0}'.format(crack),
20                   edgeFissIds       = [8],
21                   lgInfluence       = 0.01,
22                   meshBrep          = (0.0002,0.003),
23                   rayonPipe         = 0.005,
24                   lenSegPipe        = 0.0015,
25                   nbSegRad          = 8,
26                   nbSegCercle       = 18,
27                   areteFaceFissure  = 0.0015)
28
29 execInstance = casStandard(dicoParams)
30
31 if salome.sg.hasDesktop():
32   salome.sg.updateObjBrowser(1)