Error compiling UDF.
Hi guys,
I want to create an udf to input a sinusoidal movement to a wall of a tank, so I have made a .c file with this code (found on web) for example: #include "udf.h" DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime) { vel[0]=(0.30823)*((1 - exp(-0.417*time))*1.0472*cos(1.0472*time) + ((0.417*exp(-0.417*time))*sin(1.0472*time))); } Now, I receive an error "nmake" (or something similar) when I try to load it and build a libudf. I'm using fluent 14 and to compile udf "Vs2012 Express for desktop" or "Dev-C++"...I've read by tutorials also something regarding folders and sdk commands' prompt, but I didn't understand :-( can anyone help me to resolve this problem step to step, please? Thanks in advance |
Please provide the exact error message that you see when you try to compile.
|
Hi pakk,
thanks for the help but I've resolved the problem loading fluent with the prompt of commands :) |
All times are GMT -4. The time now is 23:47. |