-
-
April 6, 2024 at 5:17 pm
grayg34
SubscriberI 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 pm
grayg34
Subscriberaddition 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 pm
Rob
Forum ModeratorYou 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.
- How do I get my hands on Ansys Rocky DEM
- Script Error
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
-
2337
-
925
-
599
-
591
-
527
© 2025 Copyright ANSYS, Inc. All rights reserved.