TAGGED: ansys-fluent, ansys-student, fluid-flow, udf, udf-fluent
-
-
October 27, 2021 at 8:36 am
ESL
SubscriberNice to meet you.
I am a university student using ANSYS for my research.
I would like to ask a question about an equation used in analysis.
If I want to substitute the pressure of a specific cell zone in the equation, it would look like this
pressure(["zone name"])
Now, if I want to use the pressure of a single computational grid instead of a cell zone, I would need to use a cell-level macro with UDF.
However, even after looking at the reference page, that programming is not clear to me. Can someone please advise me how to set this up?
I am looking forward to your answers.
October 27, 2021 at 10:07 amRob
Forum ModeratorThere are a couple of approaches. Are the monitor points fixed or moving? If fixed it's a common work around to separate off a cell/facet to use in the UDF. Otherwise you're looking for a cell that contains a location rather than a cell by it's ID.
Viewing 1 reply thread- The topic ‘About UDF programming’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3492
-
1057
-
1051
-
965
-
942
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-