×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

UPS's linking

UPS's linking

UPS's linking

(OP)
Hi!

I'm studying error estimate for models consisting of deferent materials. Therefore I've written a  Fortran-program for getting the unaveraged nodal stress in Ansys 8.1.

My problem: I couldn't link these procedure to Ansys. Cann anybody please help me? I am using Salford FTN95 for compiling.

In detail: I've taken the file USER02.F and sligthly modified, to see if it's still working. Therefore I've compiled and built it with Fortran and copied the USER02.F and USER02.OBJ to the Ansys-working directory. I've also copied the MAKEFILE and ANSCUST.BAT files to the same directory. After the run of ANSCUST.BAT I couldn't see any difference compared to the old USER02.

Thanks!

RE: UPS's linking

A user subroutine is compiled to form a customised ANSYS executable. If you have access to the fortran subroutine, and have the correct fortran compiler for the Ansys version and platform (see ansys installation manual), the ANSCUSTOM script will build a customised version of ANSYS. You will need to compile the subroutine and link it with the ANSYS libraries to create your own custom executable. The key thing to do is to make sure you have the *exact* compiler specified in your installation guide for the version and OS you are using. Next, make sure you have installed the custom directory for ANSYS: ...v90/ansys/custom, where you will find the ANSCUST.BAT utility that helps you do the compile.

I assume that you've done most of the steps above, with the exception of procuring the EXACT compiler for your version and OS.

Cheers,

-- drej --

RE: UPS's linking

(OP)
Hi, Drej!

Thank you for your imediate answear!

From the installation guide for ANSYS 8.1 I am learning, that I need the FORTRAN 6.6A compiler. Do you know, if it exists such a compiler free for download? I couldn't find nothing on the internet.

Thanks in advance!

RE: UPS's linking

Hi mihaiupb,

For win32 platform and v.8.1 you need COMPAQ VISUAL FORTRAN 6.6a I believe (you can use older versions - 6.0, 6.5, 6.6 BUT install file 66acompat.lib) and also you will need MS VC++ 6.0 (SP 5). For win64 and v.8.1 you need Intel Fortran v7.1 and Intel C++ v7.1. for unix, linux. I don't know of a free compiler, but having carried out a search http://www.google.co.uk/search?hl=en&q=COMPAQ+VISUAL+FORTRAN+6.6&btnG=Search&meta= I couldn't immediately see anything for free.

Cheers,

-- drej --

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources