TAGGED: udf, udf-compilation, udf-compiler-problem, udf-fluent
-
-
March 24, 2025 at 6:04 pm
as188
SubscriberWhen attempting to set up a UDF compilation environment for Fluent 2025R1 using Build Tools for Visual Studio 2022 on Windows 11, udf.bat looks at the wrong directory. In a fresh installation of the latest MSVC Build Tools and Ansys Student (installed to default locations), udf.bat looks at the following location (taken from $(FLUENT_ROOT)\$(ARCH)\udf.bat, line 13):
set MSVC_DEFAULT=%ProgramFiles%\Microsoft Visual Studio\2022
However, Build Tools does not install to Program Files, but rather Program Files (x86). Changing the line to the following allows detection of the MSVC compiler by the script:
set MSVC_DEFAULT=%ProgramFiles(x86)%\Microsoft Visual Studio\2022
I do not know if this is a regression from previous versions of Fluent or if the VS IDE installs to %ProgramFiles% by default, but I wanted to report this as a potential bug. This is the only forum I have access to, so please let me know if there is a more appropriate location I can report this to.
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Script Error Ansys
- Errors with multi-connected bodies using AQWA
- Quantitative results
-
2718
-
959
-
813
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.