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

UDF for rotation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2008, 14:57
Default UDF for rotation
  #1
Hari
Guest
 
Posts: n/a
Hi, I am a beginner in fluent and am trying to use the dynamic mesh option in fluent to simulate a lobe pump,(with two lobes rotating in opposite direction). To use dynamic mesh I need to define the motion profile of these lobes. Is there any available UDF which allows me to define that motion. if not can anyone help me in writing an UDF as I have very little knowledge of C language. Thank you.
  Reply With Quote

Old   March 22, 2015, 00:52
Default Udf
  #2
New Member
 
Arpit
Join Date: Mar 2015
Posts: 3
Rep Power: 11
asdR is on a distinguished road
#include<stdio.h>
#include<math.h>
#include"udf.h"
DEFINE_CG_MOTION(right,dt,vel,omega,time,dtime)
{
omega[2]=-107;
}
DEFINE_CG_MOTION(left,dt,vel,omega,time,dtime)
{
omega[2]=107;
}
asdR is offline   Reply With Quote

Old   January 13, 2016, 02:51
Default
  #3
New Member
 
Join Date: Jan 2016
Posts: 2
Rep Power: 0
khashayarmshk is on a distinguished road
Quote:
Originally Posted by asdR View Post
#include<stdio.h>
#include<math.h>
#include"udf.h"
DEFINE_CG_MOTION(right,dt,vel,omega,time,dtime)
{
omega[2]=-107;
}
DEFINE_CG_MOTION(left,dt,vel,omega,time,dtime)
{
omega[2]=107;
}
hello dear asdr
would you please help me creating a UDF to give the motion of a rigid bar rotating around an axis to fluent. i just need a udf to give an oscilatory rotating motion of that rigid bar.
thank you a lot
khashayarmoshksayan@yahoo.com
khashayarmshk 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
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 07:10.