CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

UDf..please help

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2004, 10:35
Default UDf..please help
  #1
free
Guest
 
Posts: n/a
Hi how can i define vilocity according bellow: v=sinat v: vilocity t:time a :constant parameter i want udf program whit c code. please help me .i need your help.
  Reply With Quote

Old   October 8, 2004, 23:58
Default Re: UDf..please help
  #2
Aravind
Guest
 
Posts: n/a
Hi,

Refer to the Fluent user Manual, they have given examples with the codes.

Aravind
  Reply With Quote

Old   October 9, 2004, 00:01
Default Re: UDf..please help
  #3
scubme
Guest
 
Posts: n/a
#include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real a,t = CURRENT_TIME; a=10.0;/*change to your value*/ begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = sin(a*t); } end_f_loop(f, thread) }
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 03:45.