TAGGED: ansys-innovation-courses, ansys-student, error, mechanical-apdl, udf
February 3, 2021 at 7:23 amA2148Subscriber
I'm trying to link the working directory while using the ANSCUST.BAT file for my UPF. I have already installed the correct prerequisites Ansys v19.0, Fortran 17.0 update 4, and VS 2015. But still got this link error. Plz,February 9, 2021 at 6:53 pmDavid WeedAnsys EmployeenCan you confirm that you're using ANSYS R19.0? For the Windows OS, the requirements for R19.0 are: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v190/ai_instl/win_compilers.htmlnVisual Studio 2012 (including the MS C++ compiler) and Intel FORTRAN 15.0.7 compilersnAlso, when you install the software items, you should make sure that you install MS VS first then install IFORT; this is so that they can integrate correctly.nFebruary 15, 2021 at 12:19 pmA2148SubscribernHope you are well and thanks for replying to me back. nThe above information was very helpful.nI have one more question, is there any guide book/documentation for UPF in Ansys. Do let me know.nMoreover, I need also help with UPF's code language...nnFebruary 22, 2021 at 4:40 amDavid WeedAnsys Employee,for documentation on ANSYS UPFs, see the Programmers Reference, specifically the Guide to User-Programmable Features: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/ans_prog/Hlp_P_UPFTOC.html. Also, can you let me know what kind of help that you need with the UPF's code language?nFebruary 23, 2021 at 5:56 pmFebruary 25, 2021 at 4:32 pmDavid WeedAnsys EmployeenThe only resource on usercreep and UPFs, in general, that I can share is the Programmer's Reference in the help: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/ans_prog/Z7K4r1e5lcd.html%23UPFimplcrpjwf122099345nThe highlighted items are Fortran Boolean logic expressions; see table 8.2 here: http://www.cs.uwm.edu/classes/cs151/Bacon/Lecture/HTML/ch08s03.htmlnRegarding using python, I'm note sure if this is supported though C and C++ are. See the Programmer's Reference here: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/ans_prog/Q7K4r2b7lcd.htmln1.5. Programming in Languages Other Than FORTRANnIf you wish to run Mechanical APDL with user customizations, the preferred method is to design and program your custom routine in FORTRAN. Although you can use languages other than FORTRAN, in each case FORTRAN must provide the interface to the rest of the Mechanical APDL program. If you do use a language other than FORTRAN, such as the C or C++, your code may require a FORTRAN shell.nYou need to take care when calling FORTRAN subroutines from C or C++ subroutines. You must use the symbol associated with the FORTRAN subroutine when invoking the subroutine from a C or C++ function. This symbol typically differs slightly from the FORTRAN subroutine name, and is extremely system dependent.nOn many Linux systems, you build this symbol name by taking the FORTRAN subroutine name, converting it to lower case, and appending an underscore. For example, the symbol name for the FORTRAN subroutine HeapInquire would be heapinquire_. You would have to use the symbol heapinquire_ in the invoking C function to avoid an unsatisfied external reference when the program is linked.nKeep in mind that the instance described above is just an example. Compilers from different vendors may construct the symbols differently. Please consult the manuals for your specific compiler for information on how to call FORTRAN subroutines from C or C++ functions.nFor more information on FORTRAN compilers please refer to the installation guide specific to your operating system (ANSYS, Inc. Linux Installation Guide or ANSYS, Inc. Windows Installation Guide).nViewing 5 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- License Error
- Error with workbench SceneGraphChart
- How can I renew ANSYS student version license?
- Workbench not opening
- Workbench error
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
Top Rated Tags
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.