|
[Sponsors] |
Error "UDF library you are trying to load is not compiled for 2ddp..." |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2016, 11:22 |
Error "UDF library you are trying to load is not compiled for 2ddp..."
|
#1 |
New Member
ananthanarasimhan
Join Date: Dec 2015
Posts: 15
Rep Power: 10 |
im getting below error while trying to load the udf file.
The UDF library you are trying to load is not compiled for 2ddp on the current platform (win64) |
|
January 31, 2016, 23:02 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Try compiling the UDF again, if you're having trouble updating compiled UDFs then check my compiling process for Fluent UDFs with an existing library loaded.
|
|
June 7, 2019, 05:31 |
compiling problem
|
#3 |
New Member
ehsan
Join Date: Jun 2019
Posts: 1
Rep Power: 0 |
You are trying to load a UDF which is not compiled. Either you forgot to compile, or you tried to compile it and it failed, but you didn't notice the errors showing on your screen. Besides, compiling failure can be due to different reasons. Most common reasons:
1-Compiler is not installed on your system. 2- Use unusual characters for folder/sub folder or for UDF name such as, @, *,+, or even using "space". 3-Errors in UDF code. |
|
March 18, 2021, 01:58 |
|
#4 |
New Member
umerali
Join Date: Mar 2021
Posts: 14
Rep Power: 5 |
is there any video regarding compilation of udf in visual studio?
|
|
March 18, 2021, 21:40 |
|
#5 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
check youtube
__________________
best regards ****************************** press LIKE if this message was helpful |
|
March 25, 2021, 01:13 |
|
#6 |
New Member
umerali
Join Date: Mar 2021
Posts: 14
Rep Power: 5 |
i have a code for flapping motion in 2D can you check it, i can not find any error in it.
/* the code is written for 2D flapping chord length of 0.01 m and Reynolds number of 157 i.e velocity = 0.229 m/s */ #include "udf.h" static real alpha_dot = 0.0; /* rotational velocity */ static real x_velocity = 0.0; /* velocity in X direction */ static real y_velocity = 0.0; /* velocity in Y direction*/ DEFINE_CG_MOTION(flapping, dt, vel, omega, time, dtime) { Thread *t; face_t f; real pi = 3.14159; real c = 0.01; /* wing chord in meters */ real amp = 0.025; /* Amplitude in meters */ real period= 0.025; /* time period in second */ real alpha; /* angle of attack */ real beta = (pi/3); /* inclination angle of stroke plane */ /*reset velocities*/ NV_S(vel, =, 0.0); NV_S(omega, =, 0.0); if (!Data_Valid_P ()) return; x_velocity= -(amp*pi/(period))*cos(beta)*sin(2*pi*time/period); y_velocity= -(amp*pi/(period))*sin(beta)*sin(2*pi*time/period); alpha = (pi/4)-((pi/4)*sin(2*pi*time/period)); alpha_dot = -((pi/4)*2*pi/(period))*cos(2*pi*time/period); Message("time:%f alpha:%f alpha_dot:%f x_velocity:%f y_velocity:%f\n",time,alpha,alpha_dot,x_velocity, y_velocity); vel[0] = (x_velocity); vel[1] = (y_velocity); omega[2]= -(alpha_dot); } (whenever i click on build there is a msg i.e. (chdir "libudf")(chdir "win64\2ddp") 'nmake' is not recognized as an internal or external command, operable program or batch file.) after this if i load it gives the same error |
|
Tags |
udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The UDF library you are trying to load (libudf) is not compiled for 3D on the current | mohibanwar | Fluent UDF and Scheme Programming | 14 | December 8, 2020 18:33 |
The UDF library you are trying to load (libudf) is not compiled for 3d on the current | vigii | Fluent UDF and Scheme Programming | 37 | October 3, 2019 07:16 |
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the | gxu2 | Fluent UDF and Scheme Programming | 13 | August 10, 2018 18:38 |
Error: The UDF library you are trying to load is not compiled for 3ddp on the current | Whitemast | Fluent UDF and Scheme Programming | 0 | November 21, 2013 07:45 |
Compiled library vs. inInclude Files, DSMC solver crashes after run | GPesch | OpenFOAM Programming & Development | 8 | April 18, 2013 08:17 |