i was able to compile user-defined functions for density and viscosity. I compile them individually and when i run my analysis, it gives me the following error:
*** ERROR: Unable to locate function <methaneViscosity> in libraries <./libusr.dll,~/libusr.dll>
where methaneViscosity is the first user defined function that i compile.
to clarify, i submit the following two commands: acuMakeDll -src methaneViscosity.c and acuMakeDll -src methaneDensity.c . Since i submit the commands individually, each creates a libusr.lib and object libusr.exp . This means that the libusr.lib/libusr.exp created by the first acuMakeDll commands is overwritten by the second acuMakeDll. I believe this is the reason why the error occurs.