-
-
January 7, 2025 at 1:07 amjmsz7xSubscriber
I am creating a DEFINE_HEAT_FLUX udf in ANSYS fluent using MSVC. When I compile and load the udf I don't seem to get errors. This is the response from the console:
> Copy "C:\Users\jmsee\Documents\Rc.c" to "C:\Users\jmsee\Documents\libudf\src"
Creating user_nt.udf file for 3ddp_host ...
Copyright 1987-2024 ANSYS, Inc. All Rights Reserved.
Compiler and linker: Microsoft Visual C++
# Generating ud_io1.h
Rc.c
# Generating udf_names.c because of makefile Rc.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj Rc.obj
Creating library libudf.lib and object libudf.exp
Creating user_nt.udf file for 3ddp_node ...
Copyright 1987-2024 ANSYS, Inc. All Rights Reserved.
Compiler and linker: Microsoft Visual C++
# Generating ud_io1.h
Rc.c
# Generating udf_names.c because of makefile Rc.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj Rc.obj
Creating library libudf.lib and object libudf.exp
Done.
jaredcomputer: Opening library "C:\Users\jmsee\Documents\libudf"...
Done.
jaredcomputer: Opening library "C:\Users\jmsee\Documents\libudf"...
Rc
Done.I can even hook the function to fluent, but when I go to wall boundary conditions there is no dropdown for the udf. Can someone tell me what the problem is?
-
January 7, 2025 at 9:26 amRobForum Moderator
You may want to read the section in the manual covering DEFINE_HEAT_FLUX I suspect it's not the function you're looking for, and isn't hooked into the wall bc.Â
-
January 9, 2025 at 8:11 pmjmsz7xSubscriber
I have already read that section of the manual. Not sure why you have that impression, but if you don't apply it to boundary conditions then how do you use it?
-
-
January 10, 2025 at 10:01 amRobForum Moderator
It's a generic modification, and covered here  https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v242/en/flu_udf/flu_udf_ModelSpecificDEFINE.html%23flu_udf_sec_define_heat_fluxÂ
-
January 10, 2025 at 5:40 pmjmsz7xSubscriber
Rob, your link takes me to the ansys customer support page. I am a student and so I cannot access their support
-
-
January 13, 2025 at 10:54 amRobForum Moderator
Launch Help from Fluent and then paste the link into the browser. There is a public version now too, but the trick bypasses the password lock.Â
-
January 14, 2025 at 8:04 pmjmsz7xSubscriber
Which help from fluent? Like the button that shows when accessing a dialog box?
-
-
January 15, 2025 at 9:47 amRobForum Moderator
Yes, that launches into a browser and paste the link into that browser.Â
-
January 16, 2025 at 11:11 pmjmsz7xSubscriber
Ok, but that only takes me to the part of the manual that I already read, as I said before. Also, it is rather ambiguous about how it is used, it only explains how to hook it.
-
-
January 17, 2025 at 11:48 amRobForum Moderator
But it does point out that DEFINE_PROFILE is also available.Â
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
-
1572
-
602
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.