4.8. User Subroutine

A RecurDyn User Subroutine can be used by the user- defined function expression. So, the user can directly write a program code to the user- defined function expression by Fortran or C++ when the user cannot perform the desired phenomena through the Expression Function provided by RecurDyn.

Note

When using FORTRAN compiler, the recommended unit number is 10000 ~ 20000

../_images/image3011.png

Figure 4.95 User Subroutine List dialog box

  • No: Shows the number of User Subroutine.

  • Name: Shows the name of User Subroutine. You cannot use reserved words in RecurDyn.

  • DLL: Show the dll file which contains the User Subroutine.

  • User Parameters: Show the User Parameters which contains the User Subroutine.

  • Comment: Shows the comment of the User Subroutine.

  • Create: Creates a User Subroutine.

  • Insert: Inserts a User Subroutine at the current cursor row.

  • Delete: Deletes a User Subroutine at the current cursor row.

  • Create or Insert, and then the User Subroutine dialog box appears.

    ../_images/image3021.png

    Figure 4.96 User Subroutine dialog box

    • Name: Defines the name of the User Subroutine.

    • User Parameter: Defines parameters needed User Subroutine.

    • Argument List: If the name of markers or other entities is needed for User Subroutine, first the user register the entities at Argument List and then use the input field of User Parameter as the form of ~1 and ~2.

    • DLL Name: Defines the name of dll file which contains the User Subroutine.