Contact CIMNE
C1 Building, Campus Norte UPC Gran Capitan, s/n 08034 Barcelona, Spain
|
|   |
| Creating the Execution file of the Calculating Module |
Creating the Execution file of the Calculating ModuleCreate the file "cmas2d.c". This file contains the code for the execution program of the calculating module. This execution program reads the problem data provided by GiD, calculates the coordinates of the center of mass of the object and the distance between each element and this point. These results are saved in a text file with the extension .post.res. Compile and link the "cmas2d.c" file in order to obtain the executable cmas2d.exe file. The calculating module (cmas2d.exe) reads and generates the files described below.
NOTE: The "cmas2d.c" code is explained in the appendix.
|