The Ansys Innovation Space website recently experienced a database corruption issue. While service has been restored there appears to have been some data loss from November 13. We are still investigating and apologize for any issues our users may have as a result.

Ansys Learning Forum Forums Discuss Simulation Fluids DPM Drag Law UDF Error Reply To: DPM Drag Law UDF Error

Rob
Forum Moderator
If you copy and pasted direct from the manual can you check for white space characters. There's a good chance there's something in there that's mimicking a return/tab/space and messing with the code. However, that usually causes the compiler to fail.