X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fdoc%2Fscripts.rst;h=d8804c1c3ccc87cff14423b1489245c9ebccb1fe;hb=HEAD;hp=0808c48bb3d11ffa9d3c9772a9bd6c3bf6ae4fce;hpb=004925bca40d46c25cf9cc837193335163c2d44f;p=modules%2Fsmesh.git diff --git a/src/Tools/blocFissure/doc/scripts.rst b/src/Tools/blocFissure/doc/scripts.rst old mode 100755 new mode 100644 index 0808c48bb..d8804c1c3 --- a/src/Tools/blocFissure/doc/scripts.rst +++ b/src/Tools/blocFissure/doc/scripts.rst @@ -15,10 +15,12 @@ The main command of « Bloc Fissure » is the casStandard function. It has a sin | **maillageSain** | *[string]* | Absolute address of the input structure 3D mesh | | | | in MED format | +----------------------+-----------------------------------+-------------------------------------------------------+ -| **BrepFaceFissure** | *[string]* | Absolute address of the input crack geometry | -| | | in BREP format | +| **CAOFaceFissure** | *[string]* | Absolute address of the input crack geometry | +| | | in XAO or BREP format | +----------------------+-----------------------------------+-------------------------------------------------------+ -| **edgeFissIds** | *[list of integers]* | List of edges number which define the crack front | +| **edgeFiss** | *[list of strings]* | List of edges group which define the crack front | ++----------------------+-----------------------------------+-------------------------------------------------------+ +| | *[list of integers]* | List of edges number which define the crack front | +----------------------+-----------------------------------+-------------------------------------------------------+ | **meshBrep** | *[list of 2 floats]* | List of two floats defining respectively minimum and | | | | maximum size of elements of the crack mesh | @@ -47,29 +49,30 @@ Geometrical parameters of the tore are illustrated : .. image:: images/parametres.png :width: 350 :align: center + :alt: Geometrical parameters of the tore -Different levels of verbose are available. Use one of this 4 optional functions to set verbose type: +Different levels of verbose are available. The prints are located in the file ''LOGFILE''. Use one of this 4 optional functions to set verbose type: -- / **setDebug()** +- / **setDebug(LOGFILE)** -- / **setVerbose()** +- / **setVerbose(LOGFILE)** -- / **setRelease()** +- / **setRelease(LOGFILE)** -- / **setUnitTests()** +- / **setUnitTests(LOGFILE)** **example to run in salome session**:: from blocFissure import gmu from blocFissure.gmu import initLog - initLog.setDebug() + initLog.setDebug("/tmp/blocFissure.log") from blocFissure.casStandard import casStandard dicoParams = dict(nomCas = 'cubeFiss', maillageSain = "/home/A123456/BF/cube.med", - brepFaceFissure = "/home/A123456/BF/fiss.brep", - edgeFissIds = [4], + CAOFaceFissure = "/home/A123456/BF/fiss.xao", + edgeFiss = ["Fond"], lgInfluence = 20., meshBrep = (5.,10.), rayonPipe = 5., @@ -80,6 +83,8 @@ Different levels of verbose are available. Use one of this 4 optional functions execInstance = casStandard(dicoParams) + newmesh = execInstance.maillageFissure +