CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Error "UDF library you are trying to load is not compiled for 2ddp..."

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2016, 10:22
Default 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: 7
ananthanarasimhan is on a distinguished road
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)
ananthanarasimhan is offline   Reply With Quote

Old   January 31, 2016, 22:02
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 15
`e` is on a distinguished road
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.
`e` is offline   Reply With Quote

Old   June 7, 2019, 04:31
Exclamation compiling problem
  #3
New Member
 
ehsan
Join Date: Jun 2019
Posts: 1
Rep Power: 0
From_IRAN is on a distinguished road
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.
From_IRAN is offline   Reply With Quote

Old   March 18, 2021, 00:58
Default
  #4
New Member
 
umerali
Join Date: Mar 2021
Posts: 14
Rep Power: 2
umeralizuberi is on a distinguished road
is there any video regarding compilation of udf in visual studio?
umeralizuberi is offline   Reply With Quote

Old   March 18, 2021, 20:40
Default
  #5
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,639
Rep Power: 23
AlexanderZ will become famous soon enough
Quote:
Originally Posted by umeralizuberi View Post
is there any video regarding compilation of udf in visual studio?
check youtube
umeralizuberi likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   March 25, 2021, 00:13
Default
  #6
New Member
 
umerali
Join Date: Mar 2021
Posts: 14
Rep Power: 2
umeralizuberi is on a distinguished road
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
umeralizuberi is offline   Reply With Quote

Reply

Tags
udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 17: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 06: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 17: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 06:45
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 07:17


All times are GMT -4. The time now is 15:52.