mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 23:10:34 +05:00
SUppression de step dans construitFissureGenerale
This commit is contained in:
parent
a4dc6572e5
commit
8f0082e9d0
@ -31,10 +31,6 @@ from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetS
|
|||||||
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
class cubeAngle(fissureGenerique):
|
class cubeAngle(fissureGenerique):
|
||||||
"""problème de fissure plane coupant 2 faces (angle), débouches normaux, objet plan"""
|
"""problème de fissure plane coupant 2 faces (angle), débouches normaux, objet plan"""
|
||||||
|
|
||||||
@ -115,7 +111,7 @@ class cubeAngle(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -31,10 +31,6 @@ from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetS
|
|||||||
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
class cylindre(fissureGenerique):
|
class cylindre(fissureGenerique):
|
||||||
"""problème de fissure plane sur cylindre, grand fond de fissure en arc de cercle"""
|
"""problème de fissure plane sur cylindre, grand fond de fissure en arc de cercle"""
|
||||||
|
|
||||||
@ -110,7 +106,7 @@ class cylindre(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -24,12 +24,9 @@ import os
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from blocFissure import gmu
|
from blocFissure import gmu
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
|
||||||
|
|
||||||
import GEOM
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
from .cylindre import cylindre
|
from .cylindre import cylindre
|
||||||
|
|
||||||
|
@ -31,10 +31,6 @@ from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetS
|
|||||||
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
class ellipse_1(fissureGenerique):
|
class ellipse_1(fissureGenerique):
|
||||||
"""problème de fissure non plane, débouchante non normale"""
|
"""problème de fissure non plane, débouchante non normale"""
|
||||||
|
|
||||||
@ -124,7 +120,7 @@ class ellipse_1(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -24,13 +24,9 @@ import os
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from blocFissure import gmu
|
from blocFissure import gmu
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
from .ellipse_1 import ellipse_1
|
from .ellipse_1 import ellipse_1
|
||||||
|
|
||||||
class ellipse_2(ellipse_1):
|
class ellipse_2(ellipse_1):
|
||||||
|
@ -31,10 +31,6 @@ from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetS
|
|||||||
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
class eprouvetteCourbe(fissureGenerique):
|
class eprouvetteCourbe(fissureGenerique):
|
||||||
"""problème de fissure plane coupant 3 faces (éprouvette), faces au débouché non planes, incidence presque normale"""
|
"""problème de fissure plane coupant 3 faces (éprouvette), faces au débouché non planes, incidence presque normale"""
|
||||||
|
|
||||||
@ -118,7 +114,7 @@ class eprouvetteCourbe(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -20,18 +20,13 @@
|
|||||||
"""problème de fissure plane coupant 3 faces (éprouvette), débouches normaux, objet plan"""
|
"""problème de fissure plane coupant 3 faces (éprouvette), débouches normaux, objet plan"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
from blocFissure import gmu
|
from blocFissure import gmu
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy, smesh
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
#import StdMeshers
|
|
||||||
#import GHS3DPlugin
|
|
||||||
#import NETGENPlugin
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
||||||
|
|
||||||
from blocFissure.gmu.triedreBase import triedreBase
|
from blocFissure.gmu.triedreBase import triedreBase
|
||||||
@ -115,7 +110,7 @@ class eprouvetteDroite(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -20,18 +20,14 @@
|
|||||||
"""problème de fissure plane coupant 3 faces (éprouvette), débouches non normaux, objet plan"""
|
"""problème de fissure plane coupant 3 faces (éprouvette), débouches non normaux, objet plan"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from blocFissure import gmu
|
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from .eprouvetteDroite import eprouvetteDroite
|
from blocFissure import gmu
|
||||||
|
from blocFissure.gmu.geomsmesh import geompy
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
|
|
||||||
|
from .eprouvetteDroite import eprouvetteDroite
|
||||||
|
|
||||||
class eprouvetteDroite_2(eprouvetteDroite):
|
class eprouvetteDroite_2(eprouvetteDroite):
|
||||||
"""problème de fissure plane coupant 3 faces (éprouvette), débouches non normaux, objet plan"""
|
"""problème de fissure plane coupant 3 faces (éprouvette), débouches non normaux, objet plan"""
|
||||||
|
|
||||||
|
@ -20,21 +20,12 @@
|
|||||||
"""problème de fissure non plane, débouchante non normale"""
|
"""problème de fissure non plane, débouchante non normale"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import logging
|
||||||
|
|
||||||
from blocFissure import gmu
|
from blocFissure import gmu
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy, smesh
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
#import StdMeshers
|
|
||||||
#import GHS3DPlugin
|
|
||||||
#import NETGENPlugin
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
||||||
|
|
||||||
|
|
||||||
from blocFissure.gmu.triedreBase import triedreBase
|
from blocFissure.gmu.triedreBase import triedreBase
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetSain
|
from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetSain
|
||||||
@ -115,7 +106,7 @@ class faceGauche_2(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -23,16 +23,16 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import math
|
import math
|
||||||
|
|
||||||
from blocFissure.gmu import initLog
|
|
||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
|
||||||
from blocFissure.gmu.geomsmesh import geomPublish
|
|
||||||
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
|
||||||
from blocFissure.gmu.putName import putName
|
|
||||||
|
|
||||||
import GEOM
|
import GEOM
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
import SMESH
|
||||||
|
|
||||||
|
from blocFissure.gmu.geomsmesh import geompy
|
||||||
|
from blocFissure.gmu.geomsmesh import smesh
|
||||||
|
from blocFissure.gmu.geomsmesh import geomPublish
|
||||||
|
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
||||||
|
|
||||||
|
from blocFissure.gmu import initLog
|
||||||
|
from blocFissure.gmu.putName import putName
|
||||||
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
||||||
from blocFissure.gmu.triedreBase import triedreBase
|
from blocFissure.gmu.triedreBase import triedreBase
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
@ -233,8 +233,8 @@ class fissure_Coude(fissureGenerique):
|
|||||||
|
|
||||||
algo3d = maillageSain.Hexahedron()
|
algo3d = maillageSain.Hexahedron()
|
||||||
algo2d = maillageSain.Quadrangle()
|
algo2d = maillageSain.Quadrangle()
|
||||||
putName(algo3d, "{}_3d_maillageSain".format(self.mailleur), i_pref=self.numeroCas)
|
putName(algo3d, "3d_maillageSain", i_pref=self.numeroCas)
|
||||||
putName(algo2d, "{}_2d_maillageSain".format(self.mailleur), i_pref=self.numeroCas)
|
putName(algo2d, "2d_maillageSain", i_pref=self.numeroCas)
|
||||||
|
|
||||||
algo1d_long_p1 = maillageSain.Segment(geom=long_p1)
|
algo1d_long_p1 = maillageSain.Segment(geom=long_p1)
|
||||||
hypo1d_long_p1 = algo1d_long_p1.NumberOfSegments(n_long_p1)
|
hypo1d_long_p1 = algo1d_long_p1.NumberOfSegments(n_long_p1)
|
||||||
|
@ -28,16 +28,13 @@ from blocFissure.gmu import initLog
|
|||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy, smesh
|
||||||
from blocFissure.gmu.geomsmesh import geomPublish
|
from blocFissure.gmu.geomsmesh import geomPublish
|
||||||
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
||||||
|
|
||||||
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetSain
|
from blocFissure.gmu.creeZoneDefautDansObjetSain import creeZoneDefautDansObjetSain
|
||||||
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
from blocFissure.gmu.construitFissureGenerale import construitFissureGenerale
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
class tube(fissureGenerique):
|
class tube(fissureGenerique):
|
||||||
"""problème de fissure plane dans un tube"""
|
"""problème de fissure plane dans un tube"""
|
||||||
|
|
||||||
@ -123,7 +120,7 @@ class tube(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -27,12 +27,8 @@ from blocFissure.gmu import initLog
|
|||||||
from blocFissure.gmu.geomsmesh import geompy, smesh
|
from blocFissure.gmu.geomsmesh import geompy, smesh
|
||||||
from blocFissure.gmu.geomsmesh import geomPublish
|
from blocFissure.gmu.geomsmesh import geomPublish
|
||||||
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
from blocFissure.gmu.geomsmesh import geomPublishInFather
|
||||||
|
|
||||||
from blocFissure.gmu.putName import putName
|
from blocFissure.gmu.putName import putName
|
||||||
|
|
||||||
import GEOM
|
|
||||||
import SALOMEDS
|
|
||||||
import SMESH
|
|
||||||
|
|
||||||
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
from blocFissure.gmu.fissureGenerique import fissureGenerique
|
||||||
from blocFissure.gmu.triedreBase import triedreBase
|
from blocFissure.gmu.triedreBase import triedreBase
|
||||||
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
from blocFissure.gmu.genereMeshCalculZoneDefaut import genereMeshCalculZoneDefaut
|
||||||
@ -124,7 +120,7 @@ class vis_1(fissureGenerique):
|
|||||||
mailleur = self.mailleur2d3d()
|
mailleur = self.mailleur2d3d()
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -178,7 +178,7 @@ class casStandard(fissureGenerique):
|
|||||||
mailleur="MeshGems"):
|
mailleur="MeshGems"):
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -57,7 +57,7 @@ from .construitFissureGenerale_c import construitFissureGenerale_c
|
|||||||
|
|
||||||
def construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
def construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step=-1, mailleur="MeshGems", nro_cas=None):
|
mailleur="MeshGems", nro_cas=None):
|
||||||
"""procédure complète fissure générale"""
|
"""procédure complète fissure générale"""
|
||||||
logging.info('start')
|
logging.info('start')
|
||||||
logging.info("Usage du mailleur %s pour le cas n°%s", mailleur, nro_cas)
|
logging.info("Usage du mailleur %s pour le cas n°%s", mailleur, nro_cas)
|
||||||
|
@ -682,7 +682,7 @@ class fissureCoude(fissureGenerique):
|
|||||||
mailleur="MeshGems"):
|
mailleur="MeshGems"):
|
||||||
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
maillageFissure = construitFissureGenerale(shapesFissure, shapeFissureParams, \
|
||||||
maillageFissureParams, elementsDefaut, \
|
maillageFissureParams, elementsDefaut, \
|
||||||
step, mailleur, self.numeroCas)
|
mailleur, self.numeroCas)
|
||||||
return maillageFissure
|
return maillageFissure
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user