Accommodating User-Written Subroutines from the Adams Model
LifeMOD™ uses a special ADAMS/Solver executable, which works with SFOSUB and GFOSUB subroutines and others. If the user may adjust the SFOSUB or GFOSUB subroutines in the ADAMS mechanical model by doing the following:
1. Rename the SFOSUB or GFOSUB subroutines to USRSFO or USRGFO. The call string remains the same.
2. Add a -1 to the first parameter in the calling string.
3. Compile ADAMS/Solver with the subroutine set and the object library LifeMOD_SOLVER.obj
4. Make sure ADAMS/View uses this SOLVER executable (Settings - Solver Executable )
|