-
-
April 6, 2024 at 5:17 pmgrayg34Subscriber
I am working on writing a UDF for a flux boundary condition for a UDS transport equation. The boundary condition is not working as expected so I am trying to access some of the values through user memory for debugging purposes.
Â
I have no problem setting up the UDMI and it shows up as a variable in reports, and plots but the value is 0 even when I assigned a constant non-zero value as a test. I have tried a number of different report, contours, and line plots to access it.Â
specifically I am using C_UDMI assigning it within begin_c_loop.Â
-
April 7, 2024 at 1:18 pmgrayg34Subscriber
addition information:Â
I have written the value of the UDMI to a file from within the udf code and the value is correct.Â
If i initialize the UDMI to some non-zero value I get the expected result. I then run an interation and the UDMI according to the report has not changed but the file from within the c code shows that it has.Â
-
April 8, 2024 at 2:10 pmRobForum Moderator
You may want to look at https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v241/en/flu_udf/flu_udf_DataAccessMacros.html%23x1-5030004.2.9Â for a surface zone.Â
-
- The topic ‘Problems accessing UDMI asigned in DEFINE_PROFILE’ is closed to new replies.
- error udf
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- Diesel with Ammonia/Hydrogen blend combustion
- Non-Intersected faces found for matching interface periodic-walls
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
- Fan rotation using Fluent Meshing , Error : “Activate Global Domain”
-
1156
-
488
-
481
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.