next up previous contents
Next: gsur Up: Commands Previous: gonly   Contents


graph

   'graph'  [<amplitude> 'amp']|
            [<material> 'mat']|
            [<seq> 'length']| 
            [<set> 'nr'|'time'|'descr' [<Dataset-name> <entity-name>] ->
            .. [<first-Dataset-Nr> <last-Dataset-Nr>]
This keyword is used to create time history plots of nodal values. For this, a sequence of datasets (see Toggle Dataset Sequence) is scanned. The values of the pre-selected nodes stored in the referenced set will be written to a file called ''graph.out''. A gnuplot command file will be written called ''graph.gnu'' and executed. The resulting file ''graph.ps'' will be automatically displayed with the postscript viewer. The default is ''ghostview'' but this can be changed in the ''cgx.h'' file before compiling.

A set with the nodes of interest must be created (see qadd) before a graph can be drawn. In case a sequence (seq) was created (see also qadd), use the parameter l (length) to plot values along the length of a set of nodes:

graph set length

The length is calculated as the sum of the distances between successive nodes.

Since version 1.8, there are two ways of operation. One way is to specify the Datasets and the entity as parameters of the command

graph set time DISP D1

which will display the displacement D1 of nodes in ''set'' vs. the dataset-time of all ''DISP'' Datasets. The first and the last dataset can be specified optionally.

For the traditional way, a sequence of datasets must be selected (see Toggle Dataset Sequence). After the selection of the datasets, an Entity must be specified. Then, the user could use the graph command to generate the history-plot. The command

graph set nr

will display the values on the node-positions vs. the dataset-number. The command

graph set time

will display the nodal-values vs. the dataset-values (usually time) if available and the command

graph set descr

will display the nodal-values vs. the dataset-description (only makes sense if the description is a numerical value).

In addition, a second data-file is written ''graph.out2'' which stores the node-number and the node-coordinates and all values at this node-position for all datasets. This file can be used to display values over node-positions, etc. It is up to the user to generate a suitable plot out of this data.

The ''graph'' files can be edited and combined. For example to plot one type of value vs. another type of value.

If an ccx- or Abaqus-input-file was read then it is also possible to create time history plots of the amplitudes (*AMPLITUDE in ccx) or the material-properties can be displayed (*MATERIAL in ccx):

graph amplitude-name amp

graph material-name mat


next up previous contents
Next: gsur Up: Commands Previous: gonly   Contents
root 2010-07-31