Professional Documents
Culture Documents
Anthony Dawson
anthony.dawson@ansys.com
2015 ANSYS, Inc.
Contents
Introduction
Installation instructions
Introduction
This extension gives users simple access to User Programmable
Features natively in the ANSYS Workbench Environment
Previously this capability only existed in the Classic environment (without
pre-compilation of a new ANSYS executable)
The extension takes care of compiling and linking your UPF to the ANSYS
MAPDL solver
For more information about UPF (including details regarding all of the
following installation instructions) reference the ANSYS UPF training material
2015 ANSYS, Inc.
Compiler Requirements
Intel FORTRAN 14.0.3 compilers (aka Intel FORTRAN 2013) for ANSYS
16.0/16.1/16.2
Other compilers are not supported
Be sure to download and install the proper version for your version
of ANSYS
See previous page for required version
Be sure to install with Administrator Privileges
Note that on 64-bit Windows the compiler can install both 32-bit and 64-bit
compilers so the default installation directory is "C:\Program Files (x86)\",
although it will install the 64-bit compilers
You are looking for Intel Parallel Studio XE 2013
It is possible to obtain a version of these compilers that contains an
included version of MS Visual Studio Shell
This is desirable as it is all you need! (no need to install anything else)
Be sure to download and install the proper version for your version
of ANSYS
See above for required version
Be sure to install with administrative privileges
Note that if you use MS Visual Studio, you likely need to install it
first to get Intel Fortran integrated with MS VS
ANSYS 16.0/16.1/16.2: All Programs > Intel Parallel Studio XE 2013 > Command Prompt > Parallel Studio XE with Intel
Compiler XE v14.0 Update 1 and click on the appropriate command prompt for your version of Visual Studio
Tip: If you would like the extension to be saved with a project (so colleagues you send
the project to can utilize it), see the Extension settings under Workbench Tools > Options
2015 ANSYS, Inc.
Clicking the Check UPF Setup button will perform several tasks
Check your compiler installation
Check your MS Visual Studio, MS SDK or MS VS Shell installation
Check to make sure your ANSYS installation supports the use of UPF
10
Using a UPF
The Use a UPF button will insert a new object into your tree
This object will indicate that you wish to solve a particular analysis
branch while invoking a UPF
The only option you need to set in the details section of the UPF object is
declaring what UPF file you would like to use (generally a FORTRAN .f file)
You may insert and use more than one UPF object/file in a given analysis
However, you may not use more than one specific UPF routine per analysis
For example, you may use a USERMAT routine and a USERCREEP routine but
you may not use two USERMAT routines
Note that the UPF extension is using the name of the given file (and nothing
more) to decide which routine it is associated with
To effectively use your UPF, you must declare TB,USER (or similar) with the
proper material definitions for your UPF in a geometry commands object
2015 ANSYS, Inc.
11
and
Note - This ANSYS version was linked by Licensee
12
13
14
15
16
17