From: maintenance team Date: Mon, 16 Mar 2009 14:50:10 +0000 (+0000) Subject: Update SMESH documentation X-Git-Tag: V5_1_1rc3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=362522cd9a5525a5702fdb899e3f1afe94a56816 Update SMESH documentation --- diff --git a/doc/salome/gui/SMESH/images/create_groups_from_geometry.png b/doc/salome/gui/SMESH/images/create_groups_from_geometry.png index 17d54dec3..f20d4a724 100644 Binary files a/doc/salome/gui/SMESH/images/create_groups_from_geometry.png and b/doc/salome/gui/SMESH/images/create_groups_from_geometry.png differ diff --git a/doc/salome/gui/SMESH/input/about_meshes.doc b/doc/salome/gui/SMESH/input/about_meshes.doc index 61865173b..84e84cdcf 100644 --- a/doc/salome/gui/SMESH/input/about_meshes.doc +++ b/doc/salome/gui/SMESH/input/about_meshes.doc @@ -18,7 +18,7 @@ Several created meshes can be \subpage building_compounds_page "combined into me All created meshes and submeshes can be \subpage editing_meshes_page "edited". -Meshes can be also using the MESH functions destined for +Meshes can be also edited using the MESH functions destined for \ref modifying_meshes_page "modification" of generated meshes. The \b topology of a mesh is described by the relationships between its diff --git a/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc b/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc new file mode 100755 index 000000000..a09272c98 --- /dev/null +++ b/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc @@ -0,0 +1,17 @@ +/*! + +\page create_groups_from_geometry_page Create Groups from Geometry + +To use this operation, select in the \b Mesh menu Create Groups from Geometry. + +\image html create_groups_from_geometry.png + +This operation allows creating on a selected geometry several groups consisting of +elements of all types. + +The group names will be the same as the names of geometrical objects. +The Type of group of mesh elements is defined automatically by the nature of +the Geometric object. + + +*/ diff --git a/doc/salome/gui/SMESH/input/creating_groups.doc b/doc/salome/gui/SMESH/input/creating_groups.doc index 0e89b980d..4d74a3aa0 100644 --- a/doc/salome/gui/SMESH/input/creating_groups.doc +++ b/doc/salome/gui/SMESH/input/creating_groups.doc @@ -42,16 +42,32 @@ To remove a selected element or elements from the list click the mesh elements. \n Select from set of fields allows to choose a submesh or an existing group whose elements of the previously defined type will be added to -the list of elements which will form your group. +the list of elements which will form the new group. \n Color - allows to assign to the group a certain color, for example, defining boundary conditions. This feature introduces a useful element of preprocessing in Mesh module. Note that Color attribute defines the colors used for the display of the elements of the group. \n Warning The Med Color group interface may change in future versions of Salome. - \image html creategroup.png +For example, to create a new group containing all entities of the +existing group and some other faces selected in the viewer: + + +Please note that the new group does not have references to the source +group. It contains only the list of face IDs. So if the old group will +be changed, the new one will not be modified. + + \image html image130.gif
In this picture the brown cells belong to a group defined manually.
@@ -74,16 +90,6 @@ a new group of mesh elements will be created. \image html a-creategroup.png -

-To create multiple groups on geometry of both nodes and elements of -any type at once, in the \b Mesh menu select Create Groups from -Geometry.
-Group names are same as those of geometrical objects. -Type of group of mesh elements is defined automatically by -Geometrical object nature. - -\image html create_groups_from_geometry.png - \image html image132.gif
In this picture the cells which belong to a certain face are selected in green.
@@ -92,58 +98,4 @@ selected in green. \ref tui_create_group_on_geometry "Create a Group on Geometry" operation. -

Creation of groups using existing groups and sub-meshes.

- -Application provides possibility to create new standalone groups using existing standalone groups, groups on geometry and sub-meshes. This functionality is implemented using "Select from" group box of "Create group" dialog box described above. - -This functionality is described on the example of creating new group from existing standalone groups and groups on geometry. - -Imagine there are group G1. It can be standalone group or group on geometry. - -To create group G2 containing all entities of group G1 and a faces graphically selected in 3D view following steps can be performed: - - -Please note that group G2 does not have a references to source group G1. It contains list of faces identifiers only. So if G1 group will be changed group G2 will remain unmodified. - -
-\anchor gui_create_dim_group -

Creating groups of entities from existing groups of superior dimensions

- -Application provides possibility for creating groups of entities from existing groups of superior dimensions. For example, it is possible to create group of nodes using list of existing groups of faces. - -To create groups of entities from existing groups of superior dimensions, in the \b Mesh menu select Group of underlying entities.
- -The following dialog box will appear: - -\image html dimgroup_dlg.png - -In this dialog box you should specify the name of the resulting group, types of entities and set of source groups. - -For example, we have two source Volume groups illustrated on the figure below - -\image html dimgroup_src.png -
Source groups
- -In this case we obtain following results for Faces, Edges and Nodes. - -\image html dimgroup_2d.png -
Faces
- -\image html dimgroup_1d.png -
Edges
- -\image html dimgroup_0d.png -
Nodes
- -See Also a sample TUI Script of a -\ref tui_create_dim_group "Creating groups of entities from existing groups of superior dimensions" -operation. */ \ No newline at end of file diff --git a/doc/salome/gui/SMESH/input/extrusion.doc b/doc/salome/gui/SMESH/input/extrusion.doc index 21fa2e25c..82c054677 100644 --- a/doc/salome/gui/SMESH/input/extrusion.doc +++ b/doc/salome/gui/SMESH/input/extrusion.doc @@ -39,14 +39,14 @@ viewer; or about filters in the \ref selection_filter_library_page "Selection filter library" page. -
  • If the Extrude to Distance Radio Button Selected
  • +
  • If the Extrude to Distance radio button is selected
  • -
  • If the Extrude Along Vector Radio Button Selected
  • +
  • If the Extrude Along Vector radio button is selected
  • specify the number of steps;
  • activate Generate Groups checkbox if it is necessary to copy the groups of diff --git a/doc/salome/gui/SMESH/input/free_faces.doc b/doc/salome/gui/SMESH/input/free_faces.doc index 68a986efd..0c852f32c 100644 --- a/doc/salome/gui/SMESH/input/free_faces.doc +++ b/doc/salome/gui/SMESH/input/free_faces.doc @@ -2,12 +2,12 @@ \page free_faces_page Free faces -\n This mesh quality control highlights the faces connected -less than to two mesh volume elements. The free faces are shown with a +\n This mesh quality control highlights the faces connected to +less than two mesh volume elements. The free faces are shown with a color different from the color of shared faces. \image html free_faces.png -
    In this picture some volume mesh elements have been, as +
    In this picture some volume mesh elements have been removed, as a result some faces became connected only to one volume. i.e. became free. diff --git a/doc/salome/gui/SMESH/input/ghs3dprl_hypo.doc b/doc/salome/gui/SMESH/input/ghs3dprl_hypo.doc index 40ffb918c..418f2f0b2 100644 --- a/doc/salome/gui/SMESH/input/ghs3dprl_hypo.doc +++ b/doc/salome/gui/SMESH/input/ghs3dprl_hypo.doc @@ -5,17 +5,17 @@ \n GHS3DPRL Parameters hypothesis works only with Tetrahedron (Tepal with TetMesh-GHS3D) algorithm. \n \n This algorithm is a commercial software, its use requires a licence (http://www.distene.com/fr/build/offer.html). -\n The advantage of Tepal is the possibility to generate (for example) a partitioned -200 million tetrahedra mesh on a not-so-big memory computer (2Go RAM) -...in something like 50 hours of one CPU (Xeon, 2008). -This is an alternative to Pluging GHS3D where you should need something like a not-so-common CPU with 64Go RAM -to try to do a one-partitionned 200 million tetrahedra mesh ...in a much less time indeed. +\n For example, Tepal gives the possibility to generate a partitioned +mesh with 200 million tetrahedrons on a computer with average memory size +(2Go RAM) in about 50 hours on one CPU (Xeon, 2008). +This is a serious alternative to GHS3D, which requires a much less common +configuration with 64Go RAM to only try to make a partition of a mesh with +200 million tetrahedrons, no result guaranteed. \n -\n Notes: -\n This Plugin doesn't load in Memory the supposed plentiful big resulting meshes. -It's user choice: (in GUI Mesh mode) menu File-Import-MED Files. -\n Beware, to load one 5 millions tetrahedra MED file, GUI Salome needs 2Go RAM. -\n A new true parallel faster version of Tepal, using MPI, is expected in 2009. +\note The Plugin doesn't load in the Memory the supposedly large resulting meshes. +The meshes are imported in the user-defined location as MED files via menu File-Import-MED Files. +\n Pay attention, that Salome GUI Salome needs 2Go RAM. to load a MED +file with 5 million tetrahedrons. \image html ghs3dprl_parameters_basic.png @@ -24,39 +24,41 @@ It's user choice: (in GUI Mesh mode) menu File-Import-MED Files. Name - allows to define the name of the hypothesis (GHS3DPRL Parameters by default).
  • -MED_Name - allows to define the path and the basename of the -generated resulted MED files ("DOMAIN" by default). -Undefined path means environment variable $SALOME_TMP_DIR (or $TMP by default). +MED_Name - allows to define the path and the default name of the +resulting MED files ("DOMAIN"). +If the path is not defined, the environment variable $SALOME_TMP_DIR +is used.
  • -Nb_Part - allows to define the number of MED files generated, -the initial skin (triangles) will be meshed (tetrahedra) and partitioned -in Nb_Part by the elementary algorithm implemented in Tepal.
    -Beware, the (expected) number of total tetrahedra versus this parameter -involves the maximum tepal RAM use. +Nb_Part - allows to define the number of generated MED files, +The initial skin (triangles) will be meshed (tetrahedrons) and partitioned +in Nb_Part by the elementary algorithm implemented in Tepal.
  • Keep_Files - if this box is checked, input files of Tepal -(GHS3DPRL.points and GHS3DPRL.faces) are deleted after use (...if no backgrounding). +(GHS3DPRL.points and GHS3DPRL.faces) are deleted after use (...if the +background mode was not used).
  • -Tepal_in_Background - if this box is checked, for big meshes, -launch Tepal execution and MED file generation in background, -allows user exiting of Salome. In this case, beware of the -job Tepal is "killSalome.py" independent, sometimes on other host. +Tepal_in_Background - if this box is checked, Tepal execution +and MED file generation are launched in background mode and the user +can even exit Salome. Pay attention that in this case Tepal algorithm works +independently of "killSalome.py", and sometimes on another host.
  • -To_Mesh_Holes - if this box is checked, force parameter component -of tetmesh-ghs3d to mesh holes. +To_Mesh_Holes - if this box is checked, the parameter component +of tetmesh-ghs3d will mesh holes.
  • Modifying GHS3DPRL Advanced Parameters


    -GHS3DPRL Plugin launches standalone binary executable tepal2med which launches binary executable tepal.
    -tepal2med launches tepal, wait for the end of computation, and converts resulting output tepal files in expected MED files.
    -Some advanced optional parameters are accessibles as arguments.
    -If keep_files checked you a posteriori can always re-launch tepal2med in a Terminal as a command with yours parameters.
    Idem for tepal.

    +GHS3DPRL Plugin launches a standalone binary executable tepal2med.
    +tepal2med launches tepal, waits for the end of computation, and +converts the resulting output tepal files into MED files.
    +Some advanced optional parameters are accessible as arguments.
    +If keep_files option is checked, it is possible to re-launch tepal2med +or tepal in the Terminal as a command with custom parameters.
  • -Advanced tepal2med Parameters - type "tepal2med --help" in a Terminal.

    +Advanced tepal2med Parameters - type "tepal2med --help" in the Terminal.

    \verbatim myname@myhost > /export/home/myname/salome_5/GHS3DPRLPLUGIN_5/bin/salome/tepal2med --help @@ -108,42 +110,44 @@ myname@myhost > tepal USAGE : tepal options -With options in : +With options : --filename name (-f name) : - Basename of the input case (MANDATORY) + Default name of the input case (MANDATORY) --ndom n (-n n) : Number of subdomains to make (MANDATORY) --ghs3d ghs3d options (-g ghs3d options) : - Run temesh ghs3d on a previously generated subdomain. (ghs3d options must be "quoted") + 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)mesh all subdomains and update communications messages + Only (re)meshes all subdomains and updates communications messages --mesh_call command (-c command) : - Call the user specified command for meshing all the subomains after their skin was generated + Calls the user specified command for meshing all the + subomains after their skin has been generated --stats_only (-S ) : - Only compute and show some statistics on subdomains + Only computes and shows some statistics on subdomains --rebuild (-r ) : - Merge final subdomains skins + Merges final subdomains skins --rebuild_tetra (-R ) : - Merge final subdomains skins and tetraedra + Merges final subdomains skins and tetraedra --rebuild_iface (-i ) : - Include interfaces in final subdomains merge + Includes interfaces in final subdomains merge --rebuild_retag (-t ) : - Tag vertices, faces (and tetra if selected) with their subdomain number in final subdomains merge (keeps the lowest tag for shared elements) + Tags vertices, faces (and tetra if selected) with their + subdomain number in the final merger of subdomains (keeps the lowest tag for shared elements) --rebuild_ensight_parts (-e ) : - Build ensight geom file with parts + Builds ensight geom file with parts --tetmesh_args str (-G str) : Arguments to pass to Tetmesh during cutting process @@ -177,7 +181,7 @@ DESCRIPTION -u (-h) : prints this message. - -m memory : launches the software with memory Megabytes of work space. + -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 @@ -188,47 +192,45 @@ DESCRIPTION the environment variable. -M MEMORY : uses the automatic memory adjustment feature. - If MEMORY is zero, the size of the work space is initially - guessed from the input. If MEMORY is not zero, the - software starts with MEMORY Megabytes of work space. - The software then reallocates more and more memory as - needed. - The starting value when MEMORY equals 0 is 64 Megabytes, - the maximum is given with memory of the -m option if used - and the actual memory available. + If MEMORY 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 with MEMORY equal to 0 is 64 Megabytes, + the maximum is 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 component is - 0, all components to be meshed - 1, only the main (outermost) component to be meshed + -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 alternate boundary recovery version. To be used only - when the boundary recovery of the standard version fails. + -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 found will be printed, up to a maximum - count of errors between 1 and 100. + the error messages will be printed, it is possinle + to indicate the maximum number of printed messages between 1 and 100. -t : generates an error file prefix.Log - -o level : sets the desired optimisation level. + -o level : sets the required optimisation level. Valid optimisation levels are: - none, light, medium or standard, strong, - in increasing order of "quality vs speed" ratio. + 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 + 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 given with the -f option + where prefix is defined with -f option -a/-b : selects the output file type: -a for ascii (the default) and diff --git a/doc/salome/gui/SMESH/input/group_of_underlying_elements.doc b/doc/salome/gui/SMESH/input/group_of_underlying_elements.doc new file mode 100755 index 000000000..5491c3ed2 --- /dev/null +++ b/doc/salome/gui/SMESH/input/group_of_underlying_elements.doc @@ -0,0 +1,34 @@ +/*! + +\page group_of_underlying_elements_page "Create Group of Underlying Elements" + + +To create groups of entities from existing groups of superior dimensions, in the \b Mesh menu select Group of underlying entities.
    + +The following dialog box will appear: + +\image html dimgroup_dlg.png + +In this dialog box specify the name of the resulting group, types of entities and set of source groups. + +In the figure below, there are two source Volume groups: + +\image html dimgroup_src.png +

    Source groups
    + +In this case the following results for Faces, Edges and Nodes are obtained: + +\image html dimgroup_2d.png +
    Faces
    + +\image html dimgroup_1d.png +
    Edges
    + +\image html dimgroup_0d.png +
    Nodes
    + +See Also a sample TUI Script of a +\ref tui_create_dim_group "Creating groups of entities from existing groups of superior dimensions" +operation. + +*/ diff --git a/doc/salome/gui/SMESH/input/grouping_elements.doc b/doc/salome/gui/SMESH/input/grouping_elements.doc index 56fe14c0d..5364a8eb9 100644 --- a/doc/salome/gui/SMESH/input/grouping_elements.doc +++ b/doc/salome/gui/SMESH/input/grouping_elements.doc @@ -11,11 +11,22 @@ dialog.
  • by creating a group of elements of the selected type from all such elements of the chosen geometrical object - Group on geometry tab of Create group dialog.
  • + +
  • by creating a group including all types of elements from an +existing geometrical object - using subpage create_groups_from_geometry_page "Create Groups from Geometry" dialog.
  • +
  • by creating several groups of elements (nodes, edges, faces and volumes) from the chosen submesh - using Mesh -> Construct -Group Menu item. In this case groups of elements are created automatically.
  • +Group Menu item. In this case groups of elements are created +automatically. + +
  • by creating groups of entities from existing groups of superior +dimensions - using subpage group_of_underlying_elements_page "Create Group of Underlying Elements" +dialog.
  • + + The created groups can be later: