-
-
May 17, 2022 at 10:16 pm
rammohan.telikicherla
SubscriberHello,
I want to compile the Fortran usermat subroutine with ANSYS 2022 R1 student version and I was looking for compilers that are compatible with it. Please guide me to where I can find the compiler that would be compatible with running the Fortran subroutines? Do I have to install Visual Studio 2012/ 19 to compile the subroutines?
Thank you,
Ram
May 24, 2022 at 8:22 pmGeorge Karnos
Ansys Employee
* For UDFs, these supported compilers are recommended but optional, as a built-in compiler (Clang 10.0.0) is provided as part of the Fluent installation. You should enable the built-in compiler if the compiler you installed is an older version that is not supported; if Fluent determines that neither Microsoft Visual Studio nor Clang is installed on your computer, the built-in compiler is used automatically. For details, seeCompiling a UDF Using the GUI in theFluent Customization Manual.
** This compiler is only supported for compiling UDFs, and will only be used if Fluent determines that Microsoft Visual Studio is not installed on your computer.
Note:The software compiler versions listed above may not correspond to the latest releases available from Intel and Microsoft but can be downloaded separately from the respective vendors' customer sites. If you need to purchase/obtain Intel Fortran, note that you must register on Intel's customer website with your Intel Fortran license information. Once logged into Intel's customer site, you have the option of downloading previous releases. For Microsoft Visual Studio, an MSDN subscription is required, which allows you to download previous releases. Note that purchasing the latest Microsoft Visual Studio software without an MSDN subscription may not entitle you to download previous releases.
May 25, 2022 at 5:17 pmrammohan.telikicherla
SubscriberHello Thank you very much for guiding me with the FORTRAN and Visual studio versions compatible with the ANSYS student workbench 2022.
Please find the attached snapshots. When I installed the UPF extension for the ANSYS workbench, I got a warning.
I have installed version 4.0 of the UPF extension which is compatible with versions 18 and 19.
Would it cause potential issues with running it with ANSYS 2022 and do I need to install an updated UPF extension?
Please let me know.
Thank you Ram
May 25, 2022 at 5:29 pmGeorge Karnos
Ansys EmployeeI would say you need the updated one, if available.
May 27, 2022 at 6:35 pmMike Rife
Ansys Employee& That ACT Extension comes with the source code - if you look at it it is mostly defensive programming for OS version, bit type, WB version and compiler version. It looks like the only paths to not working are using Linux and 32 bit Windows. The other conditions try to implement the UPF but with a warning if not the right version.
In my opinion unless you are a system admin implementing this for many users, I'd not worry about the warning message. If you have the right compiler etc, and it's configured correctly, then the extension should work. But the /UPF command method is easy to perform manually. Please see the Ansys Help; Mechanical APDL -> Programmer's Reference chapter 1.11.1 on using the /UPF command on Windows systems. It just requires:
1) Setting the ANS_USE_UPF environment variable to True. I'd do this in a Windows batch file that then launches WB. That way you don't have to have the env var active all the time.
2) Insert the /UPF command into the APDL input file. In WB Mechanical you are probably already using a commands object to define the UPF inputs (i.e. material model definition). Just add the command at the start of the same commands object.
3) The actual user routine file needs to be in the MAPDL working directory. To do this just copy it to the WB Mechanical MECH folder for the analysis system prior to solving. The file will be copied, along with the input file, to the working directory MAPDL will use during the solve. You can right-click the Solution object and there is an option to open the folder. This will open MS File Explorer in the right folder. Just copy your user routine file here. Then solve.
Mike
Viewing 4 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost 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.
Ansys Blog
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- Limitations to Student License?
- Not seeing any items in the ANSYS Workbench toolbox?
- Missing Analysis Systems from toolbox
- “An error occurred while starting the solver module.” – Maybe licence problem?
- FLUENT application Failed to start
- Please recommend the configuration of the computer workstation
- ANSYS License Manager Error
- No license available at this time
- I am using MacBook Pro with M1chip, how can I install or any other ways to use Ansys ?
- Problem with ANSYS 18.2 SpaceClaim
Top Contributors-
3850
-
2629
-
1853
-
1252
-
600
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.
-