Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Test-3D-tetras.msh | 2016-10-01 | 12.0 kB | |
Test-3D-tetras-tochnog-input.dbs | 2016-10-01 | 867.4 kB | |
Test-3D-tetras.dat | 2016-10-01 | 28.2 kB | |
Test-3D-tetras.geo | 2016-10-01 | 1.9 kB | |
foo.pos | 2016-10-01 | 5.7 MB | |
Test-3D-tetras-tochnog-input.dat | 2016-10-01 | 28.3 kB | |
Readme First.txt | 2016-10-01 | 1.6 kB | |
foo.geo | 2016-10-01 | 67.4 kB | |
mkgmsh.awk | 2016-10-01 | 5.9 kB | |
Totals: 9 Items | 6.7 MB | 3 |
Dear Tochnogers, I am including an example of a mesh created with Gmsh which I used as an input file for Tochnog, the edit necessary to run it with Tochnog and the post processing file obtained using the awk script indicated. The example is a simple 3-D plate made out of two different materials with a circular profile on the right side. One edge is fixed, the other edge has a load applied to it. Let me have any questions or feedback. Included in the zip file are: The geometry file created with gmsh Test-3D-tetras.geo the Tochnog format file mesh created with gmsh Test-3D-tetras.dat The file edited to use as input file for Tochnog renamed Test-3D-tetras-tochnoginput.dat The Tochnog output files we use the .dbs Test-3D-tetras-tochnoginput.dbs The mkgmsh.awk script to process the Tochnog output file to create the post processing file foo.pos (foo.pos is the post processing file in the gmsh format) Inside the mkgmsh.awk are the instructions on how to run the Tochnog generated .dbs file From the terminal application type "awk -f mkgmsh.awk name_of_.dbs_file.dbs” or gawk if that is the awk interpreter in your system, to get as output : foo.geo and foo.pos files Then start gmsh and do the following # use gmsh to open foo.geo or the originally created .geo file and use the "merge” menu option to merge with with foo.pos obtained # use the post processing controls in Gmsh to turn off all but one of the # output values (all of the dof_label are processed). That is all there is! I will be posting more examples in the upcoming weeks. Fernando Lorenzo