-
-
December 13, 2023 at 4:56 pm
Lu Mneg
SubscriberI am writing a UDF for Fluent, and I need to access the values of flow variables on the boundary faces at the previous time step. For cell variables at the previous time step, I can access them using the C_U_M1(c,t) macro. Is there a similar data access macro available for accessing the variables on the boundary faces at the previous time step? Or is there an alternative way to access this data?
-
December 15, 2023 at 10:27 am
Rob
Forum ModeratorPossibly, try using F_ in place of C_ and see if it works. You'll get an error if it's not available, so save first in the event it's a Task Manager job to close Fluent.Â
There are other options, but as they're not documented I can't comment on a public forum.Â
-
December 15, 2023 at 11:55 am
Lu Mneg
SubscriberÂ
Thank you for your response. Can you send other methods to my personal email?Â
Â
-
-
December 15, 2023 at 11:52 am
Lu Mneg
Subscriber -
December 15, 2023 at 11:58 am
Rob
Forum ModeratorI can't, Ansys staff must comply with US Export Law, so everything is posted here and only public responses. Commercial clients are checked so support is both private and at a higher level.Â
I'll remove the email address to prevent spam/unwanted messages.Â
-
December 15, 2023 at 12:42 pm
Lu Mneg
SubscriberUnfortunately, when I replace F_ with C_, Fluent will output 'The fl process could not be started.
-
-
December 15, 2023 at 1:04 pm
Rob
Forum ModeratorWhich means it's probably not available. Do you need the boundary value, or is the adjacent cell value sufficient?Â
-
December 16, 2023 at 3:37 pm
Lu Mneg
SubscriberYes, I need boundary values in order to calculate the time rate of change of velocity (∂u/∂t)at the boundary. Using the adjacent cell value would lead to non-conservation of mass.
-
-
December 19, 2023 at 10:03 am
Rob
Forum ModeratorWill it change that much from cell centre to outlet? You might be able to mess with EXECUTE_AT_END functions, but I really can't expand on that comment, other than to suggest some manual reading.Â
-
- The topic ‘Flow Variable Macros for Boundary Faces’ is closed to new replies.
-
3462
-
1057
-
1051
-
918
-
896
© 2025 Copyright ANSYS, Inc. All rights reserved.