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

udf or Parameters in fluent..plz help..

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2013, 07:51
Default udf or Parameters in fluent..plz help..
  #1
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 13
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, 49 views)
nitman118 is offline   Reply With Quote

Reply


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
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 04:22
fluent udf, saving data in udf mohsen zendehbad Fluent UDF and Scheme Programming 15 June 14, 2017 00:23
fluent udf problem: write specific data for every iteration in a file. nnvoro Fluent UDF and Scheme Programming 1 May 27, 2013 16: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 01:36


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