How to select more than 10 nodes to be used for a curve


ApplicationPLAXIS 2D
PLAXIS 3D
VersionPLAXIS 2D
PLAXIS 3D
Date created23 March 2018
Date modified23 March 2018
Since the release of PLAXIS 3D 2017 and PLAXIS 2D 2018 it's possible to select an unlimited number of points to be used for curves via the GUI, rendering the approach below obsolete for these newer versions.

In order to generate curves to show e.g. displacements in time, we should select a node for which we want to show this displacement data, or stress points to show stress related data. The Plaxis applications currently allow you to select up to 10 nodes and 10 stress points prior to calculation for which the data for all intermediate steps is stored.
For nodes and stress points selected after the calculation (post-calc), the data will be retrieved from the stored result files. By default, a phase will have the Max number of steps stored set to 1, so only the last step for this phase is remembered, hence only the result for this step will be shown for the selected post-calc node. For more detailed curves, it is needed to increase this Max number of steps stored to have more intermediate data points in a phase for the curve. If the Max number of steps stored is equal to the Max steps value then all steps will be available to be used for a curve.
For more details, see the related article on Selecting points for curves.

Note, having a lot of results steps saved will also increase the disk space needed.

For some applications, like dynamic earthquake analyses, the number of steps is usually huge, and so a lot of data will need to be stored if you want to define graphs with more than 10 nodes. However, with the use of a special file, it is possible to tell PLAXIS 2D it needs to store the nodal history for more than 10 nodes. Note: this is not available for stress points.

History file: data.hi2.rsa

This special file for these (additional) pre-calc selected nodes is an ASCII file (text file) named data.hi2.rsa and it needs to be present in the Plaxis data folder.

The structure of this file is as follows:

Example content to store data for 4 nodes (nodes 1492, 1829, 2045 and 2229)

4 #number of nodes 
1492 
1829 
2045 
2229

To make it work

This data.hi2.rsa file can be altered to include a different amount of nodes:

After the calculation and saving, you will find per phase a file called data.hx2.rr# (with # the number of the phase) in which the displacement history of the stored nodes from the data.hi2.rsa-file is saved.

Content of results file

Structure

The file data.hx2.rr# (with # the number of the phase) contains per phase the history of the nodal data for each calculation step.

In this file, the data will be written for each calculation step once a calculation step is finished.
It will write:

The specific data per step also contains some legacy data (e.g. multiplier data from 2D Classic and earlier) which is not used since the PLAXIS 2D AE version and defaults to a value.

The content structure looks like this:

1[legacy][legacy][legacy]timePmaxcurrent_phase_step

2ΣMweightt_dynΣMareaΣMsf[legacy]previous_phase_step
3uxuyPexcessvxvyaxay
4uxuyPexcessvxvyaxay
....
6uxuyPexcessvxvyaxay
7FxFyΣMstage[legacy][legacy]CSP

Notes:

So if we take the input example as shown above and run the calculation, the image below could be part of the data.hx2.rr# - result of a dynamic calculation, opened in e.g. Notepad:

Figure 1. Example of part of data.hx2.rr# file containing steps 1 to 3

In this calculation we selected 4 nodes. This means that per step, we have 7 lines per step: 2 data lines, then 4 lines with node data, followed by 1 result line:

Figure 2. Example of part of data.hx2.rr# file highlighting data blocks for steps 1 to 3

For each step block in this example, lines 3-6 contain the results per node:
ux    uy    excess_pore_pressure    vx    vy    ax    ay

Figure 3. data.hx2.rr# file showing the data lines per step containing the node specific results

And these are the most important parameters in the general data lines (lines 1, 2, and the final line per step):

Figure 4. Parameters in the general data lines 1, 2, and the final line for step 2 of the phase

Results in Output program

Note that the data of this data.hx2.rr#-file does not follow a valid data format for the PLAXIS Output program. So it is not possible to use the history of these nodes in the PLAXIS Output program to visualize this in a curve. For this a third party application, like a spreadsheet program (e.g. Microsoft Excel), is needed.

Conclusion

With the mentioned trick, it is now possible to follow and store the complete displacement history of more than 10 nodes without the need to save all calculation results.

See also

Selecting points for curves

[Tips and Tricks]