Rocscience International Conference 2025 is going to take place in Sydney, Australia Read more

Search Results

Define User Data

To create a new User Data definition:

  1. Select Define User Data from the toolbar or the Data menu.
  2. Select the New button in the User Data dialog.
  3. You will see the Define User Data Equation dialog. This lists all of the variables, material properties, and functions which are available for defining user data equations. (Select the tabs to view all of the available variables, functions etc)
  4. Enter a Name for the Equation you will be creating (this can be anything you wish).
  5. Enter an Equation using the available variables, functions, properties. Note that an Equation can simply be a single variable. For example, you could enter the variable sxx as an Equation, which would plot stress in the x-direction.
  6. Select OK on this dialog, and you will be returned to the User Data dialog. The Name of the Equation you just defined will appear in the list of Existing User Data.
  7. To plot the user data you have just defined, select the Display button. To save the user data without plotting, select Done. To exit without saving any changes, select Cancel. To change or delete user data, select Edit or Delete.


  1. Select the New button in the User Data dialog.
  2. In the Define User Data Equation dialog, enter Maximum Shear in the Name box.
  3. In the Equation box, type (s1 – s3) / 2.0
  4. Select OK.
  5. In the User Data dialog, Maximum Shear will now appear in the list of Existing User Data, and its Equation will appear in the Equation box below the list.
  6. To plot Maximum Shear, make sure it is highlighted in the list of Existing User Data, and select the Display button. A contour plot of Maximum Shear will be generated.
  7. Maximum Shear will also now appear in the drop-down data list in the INTERPRET toolbar, and can be selected for plotting at any time, like any other RS2 data (e.g. Sigma 1, Strength Factor etc).

Note: there are various checks to ensure that a valid expression is entered as a User Data equation, however, the checks may not cover all possible cases, so the user should be careful to type in a valid expression, to avoid unexpected results.

User Data Configuration File

The User Data definitions are stored in a file named PH2.CFG, which you should find in your RS2 installation directory. Whenever you Add , Edit or Delete user data definitions, and then select Display or Done in the User Data dialog, the PH2.CFG file gets updated with the latest user data definitions.

When you install the RS2 program, a few User Data definitions will already be created for you in the PH2.CFG file.

Rocscience logo, click here to return to the homepage Portal Account Portal Account Log In Log Out Home Shopping Cart icon Click here to search our site Click here to close Learning Tech Support Documentation Info Chevron Delete Back to Top View More" Previous Next PDF File Calendar Location Language Fees Video Click here to visit Rocscience's LinkedIn page Click here to visit Rocscience's YouTube page Click here to visit Rocscience's X page Click here to visit Rocscience's Facebook page Click here to visit Rocscience's Instagram page Click here to visit Rocscience's Reddit page Bookmark Network Scroll down for more Checkmark Download Print Back to top Single User Multiple Users RSLog RocFall3 CPillar Dips EX3 RocFall RocPlane RocSlope3 RocSupport RocTopple RS2 RS3 RSData RSPile Settle3 Slide2 Slide3 SWedge UnWedge RocTunnel RocSlope2 Commercial License Education License Trial License Shop safe & secure Money-back guarantee