ADINA Home

Mission

Company

Products

News
Newsgroup
Support
Installation
FAQs
ftp
Updates

Distributors

Training Course
Training Videos
Gallery

Educational

900 Nodes

Jobs

Contact Us

Support for ADINA Users Only

ADINA
Structures, Heat Transfer and CFD
Question QG-001:

How can I use user-supplied subroutines on the PC Windows version?

Answer:

From ADINA 7.5 onwards, the user-supplied subroutine source files for a program module are installed by default if the module is selected for installation. If you are using a previous version of ADINA, please see section below on how to load the user-supplied subroutine source files.

The user-supplied subroutines are compiled into a dll (dynamic link library). You can modify the Fortran source files for the user-supplied subroutines with a text editor and then compile a new dll using Digital Fortran 6.0 compiler.

The makefile to compile the user-supplied subroutines is provided. To compile, open up a DOS window, go to the directory which contains the makefile and the Fortran files. Assuming you are modifying the user-supplied subroutines for the ADINA program module,

cd "%ADINAHOME%\adina"

After modifying the Fortran file(s), execute the following two commands:

...\DF98\bin\dfvars
 
nmake

Please substitute ...\ with the full path name where your Digital Fortran is installed.

The first command sets up the proper Fortran environment. The second command compiles the modified subroutines and creates a new dll. If the compilation is successful, the new dll will be used when you next run the solution program.

Loading of User-Supplied Subroutine Source Files:

For ADINA 7.4 and before, the user-supplied subroutine source files are not installed by default. During installation, you need to select Custom installation.

Then, in the Select Components dialog, select the appropriate component (ADINA, ADINA-T, etc) and click on the Change button. See figure below.

Custom Install

In the Select Sub-components dialog, toggle on the Source Files item. Click on the Continue button and proceed with the installation.



| ADINA home | mission | company | products | news | support | distributors | training |
| gallery | educational | 900 nodes | jobs | contact us |