## 31.2. Junction Box Routines

Junction box routines are used to call your own Fortran subroutines during execution of the CFX-Solver. You must create a junction box routine object so that the CFX-Solver knows the location of the subroutine, the location of the shared libraries associated with the subroutine, and when to call the subroutine. Each of these items is specified in the details view. For details, see User Junction Box Routines in the CFX-Solver Modeling Guide.

To complete the Junction Box Routine details:

1. The first three parameters are identical to those described for the `User Function` option, under Calling Name and Library Name and Library Path.

2. Enter the Junction Box Location at which to call the subroutine. For details, see Junction Box Routine Options and Parameters in the CFX-Solver Modeling Guide.

Junction box routines appear in the `LIBRARY` section of a CCL file. You can create many junction box routines in CFX-Pre, but only call the required routines during execution of the CFX-Solver. This enables you to read in a CCL file containing a list of junction box routines and then select only those that you want to call. This selection is made on the Solver Control tab. For details, see Basic Settings Tab.

Release 18.2 - © ANSYS, Inc. All rights reserved.