|
[Sponsors] |
December 13, 2015, 23:30 |
Compile udf error
|
#1 |
New Member
Join Date: Dec 2015
Posts: 10
Rep Power: 11 |
Hello,everyone. My softwares are Windows Xp 64bites, ansys 14.0 and Microsoft visual studio 2010.
When I compile a simple udf. The messages are as followed.ImageUploadedByCFD Online Forum1450063284.256780.jpg. No error shows. But I find that no libudf is produced. When I click load,there shows a message that the udf library you are trying to load (libudf)is not compiled……. there is no any wrong when I interpreted the udf and the udf work well when interpreted. Any one can help me with the compile udf error? thank you very much |
|
December 15, 2015, 09:03 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Does this happen with all UDF's or with one specific file?
Can you compile the following code: Code:
#include "udf.h" DEFINE_PROFILE(inlet_x_velocity, thread, position) { face_t f; begin_f_loop(f,thread) { F_PROFILE(f, thread, position) = 0; } end_f_loop(f, thread) } |
|
December 17, 2015, 20:03 |
|
#3 |
New Member
Join Date: Dec 2015
Posts: 10
Rep Power: 11 |
Thank u very much。I reinstalled the ansys 14.0 and vs 2010 in default folder,it works well now.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |