From e2a012b355adce576e423e28973291944baff751 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 11 Mar 2011 14:17:23 +0000 Subject: [PATCH] 0021197: EDF 1772 SMESH: Automatic meshing hypothesis --- doc/salome/gui/SMESH/images/hypo_sets.png | Bin 0 -> 7070 bytes .../gui/SMESH/input/constructing_meshes.doc | 31 ++++++++++++------ 2 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 doc/salome/gui/SMESH/images/hypo_sets.png diff --git a/doc/salome/gui/SMESH/images/hypo_sets.png b/doc/salome/gui/SMESH/images/hypo_sets.png new file mode 100644 index 0000000000000000000000000000000000000000..2a9859d231e9b79fe6e8de4d5611c00656334918 GIT binary patch literal 7070 zcma)B2Q-{pxE+#c(W6F5jFNCgOOU7`dhY~L<4Tn1Cb}rmiHL|E1QBJlQD+7bM9FAj z^j@M2!4P%4{Wfm?wz{t=P-POWFM2um$92x5!Uphoj%%cx#g| zKPo|(`;;-o;Sz9>`tv$Lg3hY^!%=3+1A`{TCb&xsgC&nh)Y$OqUNN z!rE-`cc5plQ&O&7CMJqdEDdS*KF)3VhxQCfnKFk}sugc(}&mfG|%J(pr!t7yEp;$j3PlR`U6C z>sXaN5rm40%B!PRv2XkTar@tS;d$!gPH7bAq%@-CH<`U-$ z?$p@GL{Hh_im{2Y!T!F}m-5m=HY&+qE5ec`RaMCu85y4uh}4OR3ANG@1Knq?u7xWr ze^+E@XKQn-#NUMG4-FaY{{AiUD`e?A-R|CA!PJyxX|<-N=GrS#&X03*Hcl=sJkb0b zA*aa<6w1tvfuFy8fl5kBI=Q*k`?=_fj5-Pk)eQ{qpz?+}C4Mizm>6Xa-WwcDU)0yv z|GD}XDlYEoH#<=*+GCM~hdySUkiw@OW?rtMp+O;hq@$w~osiH$I6EQoo+95jCDhj5 z>&unTbq4#lcXg3oPw0H8^XSnfJ3G69iHX=`Zqmp~j83vpXpG!*G?)J-s4-Dvie=4SxE61_Cyv$@@U{Xp)M@JN+ z6b45h_c+N&xti6vur7H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{f&(E6L=cHxnfU)a)^dP*=W=g*DALB~t iVV4_>lB8YqFrFor example, you need to mesh a 3d object. \n First, type the name for your mesh in the "Name" box, by default, it is "Mesh_1". Then select the object you wish to mesh in the Object -Browser and click the "Add" button. +Browser and click the "Add" button (if name of the object not yet +appeared in \b Geometry field). \image html image120.png
"Add" button
@@ -33,7 +34,8 @@ Browser and click the "Add" button. Now you can define 1d Algorithm and 1d Hypotheses, which will be applied to the edges of your object. (Note that any object has edges, even if their existence is not apparent, for example, a sphere has 4 -edges). Click the "Add Hypothesis" button to add a hypothesis. +edges). Click the "Add Hypothesis" button to add a +hypothesis. \image html image121.png
"Add Hypothesis" button
@@ -49,8 +51,10 @@ The use of additional hypotheses is optional (i.e. you may leave Proceed in the same way with 2d and 3d Algorithms and Hypotheses, note that the choice of hypotheses depends on the algorithm. There must be -one Algorithm and one or several Hypotheses for each dimension of your -object, otherwise you will not get any mesh at all. Of course, if you +one Algorithm and zero or several Hypotheses for each dimension of your +object (most of the standard 2D and 3D algorithms can work without +hypotheses using some default parameters), +otherwise you will not get any mesh at all. Of course, if you wish to mesh a face, which is a 2d object, you don't need to define 3d Algorithm and Hypotheses. \n In the Object Browser the structure of the new mesh will be @@ -66,13 +70,20 @@ hypotheses applied to the construction of the mesh;
  • Applied algorithms folder containing the references to the algorithms applied to the construction of the mesh.
  • - +
    There is an alternative way to create a mesh on an object simply by -clicking Assign a set of hypotheses button and selecting between -Automatic Tetrahedralization or Hexahedralization. The program will -automatically generate a 3D mesh with the most appropriate -settings. In the same way you can apply this functionality for meshing -2D objects, in which case 3D algorithms are not applied. +clicking Assign a set of hypotheses button and selecting among +pre-defined sets of hypotheses. In addition to the standard +sets of hypotheses, one can create his own sets by creating +CustomMeshers.xml file located in the home directory. CustomMeshers.xml +file must describe sets of hypotheses the +same way as ${SMESH_ROOT_DIR}/share/salome/resources/smesh/StdMeshers.xml +file does (hypotheses sets are enclosed between +tags). +\image html hypo_sets.png +
    List of sets of hypotheses: [custom] is automatically added to the sets defined +by the user
    + \anchor preview_mesh_anchor -- 2.39.2