Problems with interpolating UDF
I'm trying to make a UDF that interpolates between values of a continuous curve defining wall temperature to evaluate the difference the interpolation makes on the solution.
Here is the working continuous UDF: Code:
#include "udf.h" And here is the non-working interpolating UDF for 100 time steps doing interpolation between every 4th point in time: Code:
#include "udf.h" Error output in fluent: Copied H:\Research\Fluent\100 Timesteps\Subcycling\panel-wall-7_temperature_100_Subcycling.c to libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\sr c\makefile_nt.udf "libudf\win64\3ddp_host\makefile" ") 1 file(s) copied. (chdir "libudf")() (chdir "win64\3ddp_host")() 'nmake' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file. (system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\sr c\makefile_nt.udf "libudf\win64\3ddp_node\makefile" ") 1 file(s) copied. (chdir "libudf")() (chdir "win64\3ddp_node")() 'nmake' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file. Any idea what needs fixed for the latter? I have Visual Studio 2013 Ultimate through my school's Dreamspark program, so I don't get the 'nmake' error... |
Might as well post this for anyone that stumbles upon this with the same issue:
Eliminated the 'nmake' error by launching from Net2.0 "SDK Command Prompt" Now, it seems to compile correctly. Here's my new code, I just edited it to get rid of the vector. It has to reassemble the temperature curve every timestep but that's fine. Code:
#include "udf.h" |
All times are GMT -4. The time now is 00:34. |