Mike Pettit
Ansys Employee

Hello,

There's no limit that I'm aware of. How are you creating the DLL?

For applying user-defined force functions, it might be easier to connect to a Python server - then you do not need to compile a DLL, and the force function can be written in Python. There's an example of this included in the installation, in e.g. C:\Program Files\ANSYS Inc\v222\aqwa\utils\ExternalForceCalculation.

Mike