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

udf or Parameters in fluent..plz help..

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2013, 06:51
Default udf or Parameters in fluent..plz help..
  #1
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 4
nitman118 is on a distinguished road
Send a message via Yahoo to nitman118
i am trying the foll udf to simulate vibration in the cylinder in middle, as shown in figure,in z direction,

#include "udf.h"

DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime)
{
vel[0]=0;
vel[1]=0;
vel[2]=((0.037098)*sin(7.7528*time));
}

but its not working.... iam just a beginner in udf, how do u reckon should i go ahead.... is there any other method in fluent through which we can simulate this movement, like defining time and displacement as a parameter and then giving values of displacement or velocity at corresponding time..... any help will be much appreciated..
Attached Images
File Type: png cfdonline.PNG (20.4 KB, 18 views)
nitman118 is offline   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
fluent udf, saving data in udf mohsen zendehbad Fluent UDF and Scheme Programming 13 March 21, 2014 16:36
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 4 September 20, 2013 16:30
fluent udf problem: write specific data for every iteration in a file. nnvoro Fluent UDF and Scheme Programming 1 May 27, 2013 15:26
Language for Fluent 6.3.26 UDF Compiler ?? Abhya Fluent UDF and Scheme Programming 1 October 31, 2012 02:30
UDF in parallel version of fluent yobee FLUENT 2 August 5, 2004 00:36


All times are GMT -4. The time now is 14:54.