May 12, 2023 at 1:15 pm
Subscriber
Hi Rob,
I apologize, I was wrong in saying that the ANSYS UDF manual was no help. I eventually figured out my problem. I will snap shot the code below for other users with similar interests. Also, /solve/set/advanced/retain-temporary-solver-mem only works in serial, as this as well gives me a warning saying this is not compatible with parallel simulation.
Step 1. Copy and paste ANSY UDF manual code (section 3.2.12.6)
Step 2. Enable UDS with UDM of 1
Step 3. Turn off the UDS equation in the control
Step 4. Extract UDS value and take the gradient of the UDS (see below)