Contact Us
 

Contact CIMNE

    International Center for Numerical Methods in Engineering
    C1 Building, Campus Norte UPC
    Gran Capitan, s/n
    08034 Barcelona, Spain

 
 
Creating the Execution file of the Calculating Module
 Prev:  Creating the Data Format File (Template file)Main page
 Next:  Creating the Execution File for the Problem Type



Creating the Execution file of the Calculating Module

Create 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.

Creating the Execution file of the Calculating Module




 Prev:  Creating the Data Format File (Template file)Main page
 Next:  Creating the Execution File for the Problem Type