Graphs

Graph Lines description

Here you can draw graphs in order to take a closer look at the results. Several graph types are available: point evolution against time, result 1 vs. result 2 over points, and result along a boundary line. You can also save or read a graph (see Files menu ). The format of the file will be described later (see Graph Lines File Format ).

In the View Results -> Graphs pull-down menu, there are the following options:

You can view labels for the points of a graph. These labels include not only the graph point's number, but also its X and Y values. If some points on the graph are labeled, when returning to the normal results view, the labels also appear in the results view.

Graph Lines options

Graph Lines File Format

The graph file that GiD uses is a standard ASCII file.

Every line of the file is a point on the graph with X and Y coordinates separated by a space.

Comment lines are also allowed and should begin with a '#'.

The title of the graph and the labels for the X and Y axes can also be configured.

If a comment line contains the Keyword 'Graph:' the string between quotes that follows this keyword will be used as the title of the graph. The string between quotes that follows the keywords 'X:' and 'Y:' will be used as labels for the X- and Y-axes respectively. The same is true for the Y axis, but with the Keyword 'Y:'.

Example:

# Graph: "Nodes 26, 27, 28, ... 52 Graph."

#

# X: "Szz-Nodal_Streess" Y: "Sxz-Nodal_Stress"

-3055.444 1672.365

-2837.013 5892.115

-2371.195 666.9543

-2030.643 3390.457

-1588.883 -4042.649

-1011.5 1236.958

# End