-
-
January 7, 2025 at 1:07 am
jmsz7x
SubscriberI 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 am
Rob
Forum ModeratorYou 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 pm
jmsz7x
SubscriberI 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 am
Rob
Forum ModeratorIt'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 pm
jmsz7x
SubscriberRob, 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 am
Rob
Forum ModeratorLaunch 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 pm
jmsz7x
SubscriberWhich help from fluent? Like the button that shows when accessing a dialog box?
-
-
January 15, 2025 at 9:47 am
Rob
Forum ModeratorYes, that launches into a browser and paste the link into that browser.Â
-
January 16, 2025 at 11:11 pm
jmsz7x
SubscriberOk, 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 am
Rob
Forum ModeratorBut 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
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1932
-
823
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.