-
-
December 13, 2023 at 4:56 pmLu MnegSubscriber
I 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 amRobForum Moderator
Possibly, 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 amLu MnegSubscriber
Â
Thank you for your response. Can you send other methods to my personal email?Â
Â
-
-
December 15, 2023 at 11:52 amLu MnegSubscriber
-
December 15, 2023 at 11:58 amRobForum Moderator
I 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 pmLu MnegSubscriber
Unfortunately, when I replace F_ with C_, Fluent will output 'The fl process could not be started.
-
-
December 15, 2023 at 1:04 pmRobForum Moderator
Which 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 pmLu MnegSubscriber
Yes, 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 amRobForum Moderator
Will 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.
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1336
-
591
-
569
-
525
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.