Let's see out example: the cmas2d_customlib problemtype. You can see it's files on the example's problemtype folder.

Inside it's folder, we can find the following files:

  • cmas2d_customlib.xml

Defines some information about the problemtype, such as the name, the minimum GiD version, a description, etc.

  • cmas2d_customlib_default.spd

Defines the tree interface.

  • cmas2d_customlib.tcl

Contains tcl code to process some GiD events, and the functions to write the input file.

  • cmas2d_customlib.win.bat | cmas2d_customlib.unix.bat

Script that launches the solver.