TAGGED: #fluent-#ansys, fluent, udf
-
-
February 21, 2025 at 2:59 pm
Shyam Prasad V Atri
SubscriberHello
I am trying to find out if it is possible to connect fluent udfs through visual studio or visual studio code so that i can debug the UDFs if necessery.
I am able to do so in Ansys Rocky and the process is given by Ansys Staff in this page
(https://innovationspace.ansys.com/forum/forums/topic/debug-custom-module-in-rocky-with-visual-studio/)
I want to know how to achieve the same for fluent.Â
Should I make changes in the JSON file, or is the process different for fluent?
Please let me know.
-
February 21, 2025 at 3:17 pm
Rob
Forum ModeratorYes, but it's generally best to use Messages etc and READ the error messages.Â
-
February 21, 2025 at 3:28 pm
Shyam Prasad V Atri
SubscriberI would like to try using the debugger in VS code similar to the one for Ansys Rocky.
Please tell me how to setup the JSON file and how i can connect fluent in debug mode.
It would be much appreciated if you could please provide the screenshots and some details of how to set up the debugger similar to the one provided by Ansys Rocky staff.
-
February 21, 2025 at 3:31 pm
Rob
Forum ModeratorIf it's not in the UDF manual I can't: it's also a function not even the person I talk to uses and he's been coding for 20+ years.Â
-
February 21, 2025 at 3:34 pm
Shyam Prasad V Atri
SubscriberI do not understand this statement
what are you trying to say
 "it's also a function not even the person I talk to uses and he's been coding for 20+ years. "
-
February 21, 2025 at 3:48 pm
Rob
Forum ModeratorAs in our expert uses Messages etc and never uses the debug, nor has he ever used it.
-
February 21, 2025 at 3:59 pm
Shyam Prasad V Atri
SubscriberIt's ok if he has not used it.
I want to try it.
I do not know which file i should link in args of the json file? or if the procedure is different, i am not sure how to proceed.Â
Can you please tell me how I can set this up?
Â
-
February 21, 2025 at 4:10 pm
Rob
Forum ModeratorI can only refer you to the manual: if it's not covered then no, I can't tell you. Other community members are not under the same restrictions as Ansys staff.Â
-
February 24, 2025 at 2:59 am
Shyam Prasad V Atri
SubscriberI found one resource. It might also be helpful to other users who want to debug fluent UDF by using breakpoints. so i thought of posting it here. If anyone is trying to debug fluent udf use this resource. its very helpful.
https://www.youtube.com/watch?v=sK7u416BOas
-
- You must be logged in to reply to this topic.
-
2918
-
970
-
852
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.