diff --git a/doc/salome/gui/SMESH/images/blsurf_attractors.png b/doc/salome/gui/SMESH/images/blsurf_attractors.png deleted file mode 100644 index a0e0276c3..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_attractors.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_attractors2.png b/doc/salome/gui/SMESH/images/blsurf_attractors2.png deleted file mode 100644 index 09dc1290d..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_attractors2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png deleted file mode 100644 index 9e5ad6c0c..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png deleted file mode 100644 index 68620f39e..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters.png b/doc/salome/gui/SMESH/images/blsurf_parameters.png deleted file mode 100644 index 4da8a9e3a..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png b/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png deleted file mode 100644 index 4fadb6b48..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png b/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png deleted file mode 100644 index b9a665afc..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap.png deleted file mode 100644 index 2b3819759..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png deleted file mode 100644 index 4ae88c895..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png deleted file mode 100644 index e5e000d32..000000000 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_enforced_meshes.png b/doc/salome/gui/SMESH/images/ghs3d_enforced_meshes.png deleted file mode 100644 index 9ddc0127d..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_enforced_meshes.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png b/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png deleted file mode 100644 index d3a4bbcfa..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png b/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png deleted file mode 100644 index c254112a2..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png b/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png deleted file mode 100644 index 9519c1461..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot.png deleted file mode 100644 index a9e7b972b..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf1.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf1.png deleted file mode 100644 index 8923f007a..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf2.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf2.png deleted file mode 100644 index 5daf8a269..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf3.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf3.png deleted file mode 100644 index f6911ce0b..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf4.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf4.png deleted file mode 100644 index 46f12d83c..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf4.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf5.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf5.png deleted file mode 100644 index 531b8126d..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf5.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf6.png b/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf6.png deleted file mode 100644 index 003f89f14..000000000 Binary files a/doc/salome/gui/SMESH/images/ghs3d_screenshot_enf6.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/hexotic_parameters.png b/doc/salome/gui/SMESH/images/hexotic_parameters.png deleted file mode 100644 index 40abfedd3..000000000 Binary files a/doc/salome/gui/SMESH/images/hexotic_parameters.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/mesh_order_123_res.png b/doc/salome/gui/SMESH/images/mesh_order_123_res.png index 7b7588c63..02208a052 100644 Binary files a/doc/salome/gui/SMESH/images/mesh_order_123_res.png and b/doc/salome/gui/SMESH/images/mesh_order_123_res.png differ diff --git a/doc/salome/gui/SMESH/images/mesh_order_213_res.png b/doc/salome/gui/SMESH/images/mesh_order_213_res.png index ca36759a9..8706fb45c 100644 Binary files a/doc/salome/gui/SMESH/images/mesh_order_213_res.png and b/doc/salome/gui/SMESH/images/mesh_order_213_res.png differ diff --git a/doc/salome/gui/SMESH/images/mesh_order_321_res.png b/doc/salome/gui/SMESH/images/mesh_order_321_res.png index 051447093..7a5f0172e 100644 Binary files a/doc/salome/gui/SMESH/images/mesh_order_321_res.png and b/doc/salome/gui/SMESH/images/mesh_order_321_res.png differ diff --git a/doc/salome/gui/SMESH/images/netgen2d3d.png b/doc/salome/gui/SMESH/images/netgen2d3d.png deleted file mode 100644 index 97b95486e..000000000 Binary files a/doc/salome/gui/SMESH/images/netgen2d3d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/netgen2d3d_only.png b/doc/salome/gui/SMESH/images/netgen2d3d_only.png deleted file mode 100644 index ece6fd1e8..000000000 Binary files a/doc/salome/gui/SMESH/images/netgen2d3d_only.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/netgen2d3d_simple.png b/doc/salome/gui/SMESH/images/netgen2d3d_simple.png deleted file mode 100644 index f8d116610..000000000 Binary files a/doc/salome/gui/SMESH/images/netgen2d3d_simple.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/images/netgen3d_local_size.png b/doc/salome/gui/SMESH/images/netgen3d_local_size.png deleted file mode 100644 index f7bcd18b9..000000000 Binary files a/doc/salome/gui/SMESH/images/netgen3d_local_size.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/input/about_hypo.doc b/doc/salome/gui/SMESH/input/about_hypo.doc index f655e1a69..b17225d56 100644 --- a/doc/salome/gui/SMESH/input/about_hypo.doc +++ b/doc/salome/gui/SMESH/input/about_hypo.doc @@ -36,16 +36,6 @@ them, you operate numerical values): -Some hypotheses are strictly combined with plug-in -meshers and thus, work only with definite algorithms. -
- -\verbatim -myname@myhost > /export/home/myname/salome_5/GHS3DPRLPLUGIN_5/bin/salome/tepal2med --help -Available options: - --help : produces this help message - --casename : path and name of input tepal2med files which are - - output files of tepal .msg .noboite .faces .points .glo - - output file of GHS3DPRL_Plugin casename_skin.med (optional) - with initial skin and its initial groups - --number : number of partitions - --medname : path and name of output MED files - --limitswap : max size of working cpu memory (Mo) (before swapping on .temp files) - --verbose : trace of execution (0->6) - --test : more tests about joints, before generation of output files - --menu : a GUI menu for option number - --launchtepal : also launch tepal on files casename.faces and casename.points and option number - --meshholes : force parameter component of tetmesh-ghs3d to mesh holes - --background : force background mode from launch tepal and generation of final MED files (big meshes) - --deletegroups : regular expression (see QRegExp) which matches unwanted groups in final MED files - (try --deletegroups="(\bAll_Nodes|\bAll_Faces)" - (try --deletegroups="((\bAll_|\bNew_)(N|F|T))" -example: - tepal2med --casename=/tmp/GHS3DPRL --number=2 --medname=DOMAIN --limitswap=1000 - --verbose=0 --test=yes --menu=no --launchtepal=no - -\endverbatim -\n -
- -\verbatim - -USAGE : tepal options - -With options : - --filename name (-f name) : - Prefix of the input case (MANDATORY) - - --ndom n (-n n) : - Number of subdomains to make (MANDATORY) - - --ghs3d ghs3d options (-g ghs3d options) : - Runs temesh ghs3d on a previously generated subdomain. (ghs3d options must be "quoted") - - --memory m (-m m) : - Max amount of memory (megabytes) allowed for ghs in the cutting process. (default is 0 : unlimited) - - --mesh_only (-Z ) : - Only (re)meshes all subdomains and updates communications messages - - --mesh_call command (-c command) : - Calls the user specified command for meshing all the - subomains after their skin has been generated - - --stats_only (-S ) : - Only computes and shows some statistics on subdomains - - --rebuild (-r ) : - Merges final subdomains skins - - --rebuild_tetra (-R ) : - Merges final subdomains skins and tetraedra - - --rebuild_iface (-i ) : - Includes interfaces in final subdomains merge - - --rebuild_retag (-t ) : - Tags vertices, faces (and tetra if selected) with their - subdomain number in the final merge of subdomains (keeps the lowest tag for shared elements) - - --rebuild_ensight_parts (-e ) : - Builds ensight geom file with parts - - --tetmesh_args str (-G str) : - Arguments to pass to Tetmesh during cutting process - -\endverbatim -\n -
- -\verbatim -myname@myhost > ghs3d -h - -USE - /export/home/myname/ghs3d-4.0/DISTENE/Tools/TetMesh-GHS3D4.0/bin/Linux/ghs3dV4.0 - [-u] [-m memory>] [-M MEMORY] [-f prefix] [-v verbose] - [-c component] [-p0] [-C] [-E count] [-t] [-o level] - [-I filetype] [-a/-b] [-O n m] - -DESCRIPTION - - -u (-h) : prints this message. - - -m memory : launches the software with memory in Megabytes. - The default value of this parameter is 64 Megabytes and its - minimum value is 10 Megabytes. - It is also possible to set this parameter with the - environment variable GHS3D_MEMORY by means of an operation - equivalent to: - setenv GHS3D_MEMORY memory, - the value specified in the command line has the priority on - the environment variable. - - -M MEMORY : provides the automatic memory adjustment feature. - If MEMORY (in Megabytes) is equal to zero, the size of the work space is - calculated from the input. If MEMORY is not equal to - zero, the software starts with MEMORY amount of work space. - The software reallocates memory as necessary. - The start value of MEMORY can range from 0 to 64 Megabytes, - the maximum depends on -m option and the actual memory available. - - -f prefix : defines the generic prefix of the files. - - -v verbose : sets the output level parameter (the verbose parameter - must be in the range 0 to 10). - - -c component : chooses the meshed component. If the parameter is - 0, all components will be meshed, if - 1, only the main (outermost) component will be meshed - - -p0 : disables creation of internal points. - - -C : uses an alternative boundary recovery mechanism. It should be used only - when the standard boundary recovery fails. - - -E count : sets the extended output for error messages. If -E is used, - the error messages will be printed, it is possible - to indicate the maximum number of printed messages between 1 and 100. - - -t : generates an error file prefix.Log - - -o level : sets the required optimisation level. - Valid optimisation levels are: - none, light, standard or strong, - with increase of "quality vs speed" ratio. - - -I filetype : defines the input mesh format as follows: - -IP input files are ascii files, named prefix.points - and prefix.faces - this is the default type of files - -IPb input files are binary files, named prefix.pointsb - and prefix.facesb - -IM input file is ascii file, named prefix.mesh - where prefix is defined with -f option - - -a/-b : selects the output file type: - -a for ascii (the default) and - -b for binary. - - -On : saves a NOPO file in addition. NOPO is the mesh data - structure of the Simail and Modulef software packages. - -Om : saves a mesh file in addition. - -Omn : saves both NOPO and mesh files. - - ============================================================================== - TETMESH-GHS3D SOFTWARE 4.0-3 (December, 2006) - END OF SESSION - COPYRIGHT (C)1989-2006 INRIA ALL RIGHTS RESERVED - ============================================================================== - ( Distene SAS - Phone: +33(0)1-69-26-62-10 Fax: +33(0)1-69-26-90-33 - EMail: support@distene.com ) - -\endverbatim -\n -
-You may rename tepal2med as tepal2med.exe for example. - -\code -#!/bin/bash -#script tepal2med overriding parameter deletegroups -#we have renamed binary executable tepal2med as tepal2med.exe -#echo tepal2med initial parameters are $1 $2 $3 $4 ... or $* -#$0 is ignored - -tepal2med.exe $* --deletegroups="(\bAll_Nodes|\bAll_Faces)" - -\endcode -\n -
-You may rename tepal as tepal.exe for example. - -\code -#!/bin/bash -#script tepal overriding parameter component of tetmesh-ghs3d -#we have renamed binary executable tepal as tepal.exe - -#optionnaly we could set licence only for us -DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR" -DLIM8VAR="dlim8 1:1:29030@is142356/0016175ef08c::a1ba1...etc...e19" -SIMULOGD_LICENSE_FILE=29029@is142356 - -tepal.exe $* --tetmesh_args "-c 0" - -\endcode -\n -
-You may rename tepal as tepal.exe for example. - -\code -#!/bin/bash -#script tepal overriding launching tepal on other host (tepal run 64 bits only) -#we have renamed binary executable tepal as tepal.exe -#common file system (same path) otherwise scp... on input or result files -#ssh -keygen -t rsa done and files id_rsa et id-rsa.pub move in ~/.ssh - -#example of typical command -#tepal -f /home/myname/tmp/GHS3DPRL -n 4 > /home/myname/tmp/tepal.log -#echo parameters $1 $2 $3 $4 ... or $* - -#tepal licence ought to be known on otherhost -ssh otherhost "tepal.exe $* > /home/myname/tmp/tepal.log" - -#or more and more -#ssh otherhost "tepal.exe $* --tetmesh_args \"-c 0\"" > /home/myname/tmp/tepal.log - -\endcode -\n -
- -\code - -#!/bin/bash -#script tepal overriding launching Tepal_V2.0 with MPI (tepal run 64 bits only). -#we have renamed binary executable tepal as tepal64_v2.exe. -#typical command to launch tepal v1 : -#tepal -f /tmp/myname/GHS3DPRL -n 16 > /tmp/myname/tepal.log -#this file is an exemple to transform this call for tepal v2.0, -# (beta version using .mesh input file) -#you have to adapt for your convenience. - -#first problem is convert v1 input files GHS3DPRL.faces and GHS3DPRL.points -# to v2 input file GHS3DPRL.mesh. -#second problem is to launch on heterogeneous system linux cluster of -# 2 hosts (64 bits) of 8 nodes (by example) -# with different 2 executables codes linked on 2 different -# openmpi shared library codes. -#third problem is convert tepal v2 output files GHS3DPRL*.mesh -# to v1 input files GHS3DPRL*.faces an GHS3DPRL*.points. - -#you have to work on the same physical disk and same path input and ouput files : $SAME_DIR -#you have to work on different physical disk but same path and name for executable files -# (and shared libraries) : $DIFF_DIR - -echo "parameter 0="$0 -echo "parameter 1="$1 -echo "parameter 2="$2 -echo "parameter 3="$3 -echo "parameter 4="$4 - -export SAME_DIR=/same_physical_disk_and_same path/tmp -export DIFF_DIR=/different_physical_disk_but_same path/myname - -#copy input local files from local current directory (something like /tmp/myname) -#in this case we need /tmp/myname and $SAME_DIR different -cd $SAME_DIR -rm * -cp $2* . - -export IN_FILES=`basename $2` -export IN_DIR=`dirname $2` -#created .mesh from .faces et .points -/through_salome_path/facespoints2mesh.py $IN_FILES - -#there are 2 executable openmpi and library through 2 physical DIFF_DIR -export PATH=$DIFF_DIR/openmpi-1.3.1_install/bin:${PATH} -export LD_LIBRARY_PATH=$DIFF_DIR/openmpi-1.3.1_install/lib:${LD_LIBRARY_PATH} - -#there are 2 executables tepal_v2 through 2 physical DIFF_DIR -export LD_LIBRARY_PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:${LD_LIBRARY_PATH} -export PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:$PATH - -#small test betweeen friends -#rm hostnames.log -#mpirun -n $4 hostname >> hostnames.log - -#there necessary set env licence file for tepal v2 -export DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR" -export DLIM8VAR="dlim8 1:1:29030@is142356/0016175ef08c::a1ba...9e19" -export SIMULOGD_LICENSE_FILE=29029@is142356 -export LICENSE_FILE=/product/distene/dlim8.var.sh - -#mpirun with necessary set envenvironment -export TMP_ENV="-x PATH -x LD_LIBRARY_PATH -x DISTENE_LICENSE_FILE -x DLIM8VAR \ - -x SIMULOGD_LICENSE_FILE -x LICENSE_FILE" -#mpirun $TMPENV -n $4 which tepal64_v2.exe >> hostnames.log - -#real mpirun uncomment after verify small test -mpirun $TMPENV -n $4 tepal64_v2.exe --in $IN_FILES.mesh --out $IN_FILES.mesh --verbose 100 - -#convert output files tepalv1 format -/through_salome_path/mesh2facespoints.py $IN_FILES - -#copy ouputs files from $SAME_DIR to local current directory (something like /tmp/myname) -cp -f hostnames.log $IN_DIR -cp -f $IN_FILES* $IN_DIR - -#ls -al $SAME_DIR -#cat $SAME_DIR/hostnames.log -#cat /tmp/myname/tepal.log - -\endcode -\n -
- -\code - -#!/bin/python -import os - -import geompy -import smesh - -# Parameters -# ---------- - -results = "/tmp/ZZ" - -radius = 50 -height = 200 - -# Build a cylinder -# ---------------- - -base = geompy.MakeVertex(0, 0, 0) -direction = geompy.MakeVectorDXDYDZ(0, 0, 1) - -cylinder = geompy.MakeCylinder(base, direction, radius, height) - -geompy.addToStudy(cylinder, "Cylinder") - -# Define a mesh on a geometry -# --------------------------- - -m = smesh.Mesh(cylinder) - -# 2D mesh with BLSURF -# ------------------- - -algo2d = m.Triangle(smesh.BLSURF) - -algo2d.SetPhysicalMesh(1) -algo2d.SetPhySize(5) - -algo2d.SetGeometricMesh(0) - -# 3D mesh with tepal -# ------------------ - -algo3d = m.Tetrahedron(smesh.GHS3DPRL) - -algo3d.SetMEDName(results) -algo3d.SetNbPart(4) -algo3d.SetBackground(False) -algo3d.SetKeepFiles(False) -algo3d.SetToMeshHoles(True) - -# Launch meshers -# -------------- - -status = m.Compute() - -# Test if ok -# ---------- - -if os.access(results+".xml", os.F_OK): - print "Ok: tepal" -else: - print "KO: tepal" -\endcode -\n -