File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ From the difference of the strain energy for two different crack lengths the ene
4242release rate can be calculated.
4343
4444In order to determine the energy release rate, run the model twice with
45- different settings of the crack length a in ` ct.geo `
45+ different settings of the crack length ` a ` in ` ct.geo `
4646
4747For each run, record the crack length a and the strain energy from the file s` olve.dat ` .
4848
@@ -69,10 +69,9 @@ the element size at the three points in the crack plane.
6969<img src =" mesh.png " width =" 400 " title =" Mesh for B=20, a=20.5, t=2. Image generated by Save as png in Gmsh " >
7070
7171The faces for symmetry constraints and load application are defined as so called physical groups in Gmsh.
72- This has the advantage that properly named element sets are written to the output ` gmsh.inp ` .
72+ This has the advantage that properly named node sets are written to the output ` gmsh.inp ` .
7373
74- The mesh then is read into CGX and the surface element sets are extended to node sets (for the constraints) and to
75- element face sets (for the load).
74+ The mesh then is read into CGX, the surface elements from Gmsh are deleted and the node set for the load is extended into a face set.
7675
7776<img src =" Refs/sets.png " width =" 400 " title =" Sets: Load (yellow), Ysym (red), Zsym (blue) " >
7877
Original file line number Diff line number Diff line change 11sys gmsh ct.geo
22read gmsh.inp
33
4- # Symmetry
5- comp Symy do
6- comp Symz do
7- # force
8- comp Load do
94# remove all surface elements
10- seta tozap e all
11- setr tozap e +C3D10
12- zap tozap
13- del se0
5+ zap +CPS6
146
157send all abq
168send Symy abq nam
Original file line number Diff line number Diff line change @@ -55,5 +55,6 @@ Physical Surface("Symy")={30};
5555Physical Surface("Symz")= {14 };
5656Physical Surface("Load")= {66 ,70 };
5757Physical Volume("Part")= {1 };
58+ Mesh.SaveGroupsOfNodes = 1 ;
5859Save "gmsh.inp";
5960Save "gmsh.png";
You can’t perform that action at this time.
0 commit comments