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

help about udf

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2011, 14:06
Question help about udf
  #1
New Member
 
sadegh
Join Date: Mar 2011
Posts: 2
Rep Power: 0
sadegh1080 is on a distinguished road
Hi friends,

I have a model that rotate about x axis through passing air flow on it.(free roll)

I have written an udf for this model but I don't know that is correct or not.

please help me.

udf is :

#include "udf.h"
static real wx = 0.0;
static real Mx=10;
static real dwx;
real NV_VEC(omega);
real Ix=10;
DEFINE_SDOF_PROPERTIES(missile, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 50;
prop[SDOF_IXX] = Ix;
prop[SDOF_LOAD_M_X] += Mx;
dwx = dtime * Mx / Ix;
wx +=dwx;
NV_D(omega,=,wx,0,0);
//omega[0]= wx;
}
sadegh1080 is offline   Reply With Quote

Reply

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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
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 19:48.