When GiD is installed, the file units.gid is copied within the GiD directory. In this file a table of magnitudes is defined. For each magnitude there is a set of units and a conversion factor between the unit and the reference unit. The units systems are also defined. A unit system is a set of mangnitudes and the corresponding unit.
The syntax of the unit file (problem_type_name.uni) within the problem type is similar. It can include the line:
meaning that the user is able (or not able) to define his own system unit within the project. If the line does not appear in the file the value is assumed to be ENABLED.
It is possible to ignore all units systems defined by default inside the file units.gid:
With the command HIDDEN: 'magnitude', 'magnitude' certain magnitudes will not be displyed in the Problem units window.
If the problem type uses a property which has a unit, then GiD creates the file project_name.uni in the project directory. This file includes the information related to the unit used in the geometric model and the unit system used. The structure of this file is:
In this file, MODEL refers to the unit of the geometric and mesh model of preprecess and PROBLEM is the name of the units system used by GiD to convert all the data properties in the output to the solver. If this name is USER DEFINED, then the system is the one defined within the file. The block
corresponds to the user-defined system.
Unit system: It is possible to define more than one 'unit sytem'. When the user select a unit sytem it mean than when writting to the calculation file the fields with units (material properties, conditions, general data, model length) they will be written converted to the reference unit of this magnitude for the selected unit system.
Hide some units depending on unit system:
The tcl procedure Units::SetUnitsDisallowed allow to specify a list of units to be disallowed (not used in graphical windows)