CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS

udf for free oscillate

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2014, 04:17
Default udf for free oscillate
New Member
Join Date: Jul 2014
Posts: 1
Rep Power: 0
mina shakeri is on a distinguished road
how can i write a udf for pitching motion with free oscillations?
my udf is:
#include "udf.h"
FILE *fout;
DIFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime)
Domain *d;
Thread *t;
face_t f;
cell_t c;
real Drag;
real Lift;
real M;
real FC[2];
real A[2];

d = Get_Domain(1);
t = Lookup_Thread(d, 6);
begin_f_loop(f, t)
Drag += F_P(f,t) * A[0];
Lift += F_P(f,t) * A[1];
fprintf(fout,"D = %f L = %f", Drag, Lift);

but i have an error " The UDF library you are trying to load (libudf) is not compiled for parallel, 2ddp use on the current platform (win64).
The operation completed successfully."
please help me.
mina shakeri is offline   Reply With Quote


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01

All times are GMT -4. The time now is 00:01.