@@ -7,10 +7,10 @@ generated part.
77* The workflow is fully automated using a CGX fbd file.
88* The geometry is created in Onshape and exported as STEP file.
99* Import and meshing in gmsh, export as .inp file with volume and surface meshes.
10- From within gmsh, display the surface numbers and note the required ones for
11- loads and constraints application.
12- * Open the inp file in cgx and convert the surface element sets for boundary
13- conditions into node sets. Remove all surface elements .
10+ In gmsh, define physical surfaces for boundary conditions and export the mesh
11+ with appropriate settings (to ensure that node sets are written)
12+ * Open the inp file in cgx and remove all surface elements. Eventually extend node sets to
13+ face sets for surface definition or pressure application .
1414* Write the mesh and required set definitions
1515* Write other FEA items
1616* Run the analysis
@@ -41,24 +41,12 @@ The individual steps of the workflow are discussed below.
4141The STEP geometry is loaded into gmsh and meshed with second order tetrahedra. Gmsh
4242also meshes the surfaces with individual sets of second order triangles.
4343
44- Upon export in ABAQUS format (inp) the elements are stored in individual sets
45- of the name VolumeXX and SurfaceXX, where
46- XX are unique region numbers.
44+ Then, the physical groups have to be defined.
45+ + a phyiscal volume, named "part", containing the part
46+ + a physical surface "support", defining the area to be fixed
47+ + a physical surface "load", defining the area for pressure application
4748
48- The regions for boundary conditions are referenced by their numbers. therefore,
49- gmsh offers a display of the meshed surfaces with region numbers.
50-
51- ![ Model in Gmsh] ( gmsh.png )
52-
53- By interactive inspection, the relevant surface numbers are found:
54- + Surface5 for the support
55- + Surface17 for pressure application
56-
57- The only non-default meshing option is to use second order elements.
58-
59- The whole process of STEP inport, mesh and display setting, meshing and export of the mesh
60- is controlled by a gmsh geo file. Alternatively, a set of command line
61- parameters for gmsh could have been used.
49+ Upon export to ABAQUS format (inp) node and element sets for the physical groups are written.
6250
6351The gmsh geo file can be executed separately if you want to play around with the meshing details:
6452```
@@ -72,35 +60,23 @@ You could do that interactively using
7260```
7361> cgx -c gmsh.inp
7462```
75- Then you might issue ` prnt se ` in order to see what sets are defined and ` plot e <setname> ` to
76- display individual element sets.
77-
78- Gmsh provides the surfaces as sets of 2D elements. CalculiX needs sets of nodes
79- or sets of faces of solid elements for
80- boundary condition application.
81-
82- CGX has a mechanism for doing this conversion.
83-
84- 1 . Extend the relevant surface element set to include the nodes, e.g.
85- ```
86- comp SurfaceXX do
87- ```
88-
89- 1. Remove all Surface elements. The extended sets now contain just the nodes. A generic way to do this is
90- ```
91- seta tozap e all
92- setr tozap e +C3D10
93- zap tozap
94- del se0
95- ```
96-
97- 1. Eventually extend the node sets to include the faces of the adjacent volume elements.
98- ```
99- comp SurfaceXX do
100- ```
63+ Then you might issue ` prnt se ` in order to see what sets are defined and ` plot e ` or ` plot n ` to
64+ display individual sets (browse the sets by PageUp and PageDown).
65+
66+ Some cleanup is required, because gmsh writes 2D elements for the physical surfaces, which are not needed in CalculiX.
10167
68+ Remove the 2D elements (we address them by type here):
69+ ```
70+ zap +CPS6
71+ ```
72+ Extend node sets to face sets if required (here we need the set ` load ` for
73+ pressure application)
74+ ```
75+ comp load do
76+ ```
10277The following image shows the nodes of the support surface and the faces of the pressure
10378application surface.
79+
10480<img src =" Refs/sets.png " width =" 400 " title =" Sets for boundary application " >
10581
10682Once the sets are defined, there is no particular challenge any more with setting up the simulation.
0 commit comments