GiD - The personal pre and post processor

Solver

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.

cmas2d.c solver structure



NOTE: The "cmas2d.c" code is explained in the appendix.

COPYRIGHT © 2022 · GID · CIMNE