Create the materials file "cmas2d.mat". This file stores the physical properties of the material under study for the problem type. In this case, defining the density will be enough.
Enter the materials in the "cmas2d.mat" file using the following format:
MATERIAL: Name of the material (without spaces)
QUESTION: Property of the material. For this example, we are interested in the density of the material.
VALUE: Value of the property
HELP: A help text (optional field)
…
END MATERIAL
In GiD, the information in "cmas2d.mat" file is managed in the materials window, located in Data->Materials.
MATERIAL: Air QUESTION: Density VALUE: 1.01 HELP: material density END MATERIAL MATERIAL: Steel QUESTION: Density VALUE: 7850 HELP: material density END MATERIAL MATERIAL: Aluminium QUESTION: Density VALUE: 2650 HELP: material density END MATERIAL