-
-
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.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.