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.
-
April 17, 2025 at 5:00 pm
-
- You must be logged in to reply to this topic.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3907
-
1414
-
1256
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.