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

trying to write a UDF for rigid body motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2014, 18:59
Exclamation trying to write a UDF for rigid body motion
  #1
New Member
 
Join Date: Feb 2014
Posts: 9
Rep Power: 12
niteshrajput is on a distinguished road
I am trying to write a UDF for rigid body motion.

The airfoil pitches from -0.03 to 15.54 degrees. It is a simple ramp case.
The motion of the airfoil is as shown in the figure.
Please help how do I define the motion of the grid with rigid body motion.
I have equation of motion, will that be used anywhere in the UDF. Please help.
Attached Images
File Type: png rampp.png (6.5 KB, 73 views)
niteshrajput is offline   Reply With Quote

Old   December 10, 2014, 04:45
Default
  #2
New Member
 
Join Date: Nov 2012
Posts: 18
Rep Power: 14
koray is on a distinguished road
Hey,

You can simply generate points for omega with respect to time by using your equation (in MS Excel for instance). Then, you can transfer these points into a text file in a Fluent profile file (*.prof) format. After, hooking the profile onto the rigid zone, you can simulate the motion with the appropriate dynamic mesh settings.

And if you want a UDF to calculate each position at each timestep by using your equation, then you can use DEFINE_CG_MOTION macro to introduce your the angular velocity as a function of time. Please, check Ansys Help. There you can find UDFs very similar to your case.

Hope, this helps.

Cheers,
Koray
koray is offline   Reply With Quote

Old   December 15, 2014, 14:34
Default
  #3
New Member
 
Srinivasa Reddy
Join Date: Dec 2011
Posts: 5
Rep Power: 15
srireddyn is on a distinguished road
Hi koray
Is it possible to avoid UDF for dynamic mesh with some table data to define the motion of the boundary?

Last edited by srireddyn; December 17, 2014 at 01:28.
srireddyn is offline   Reply With Quote

Old   December 15, 2014, 15:46
Default
  #4
New Member
 
Join Date: Nov 2012
Posts: 18
Rep Power: 14
koray is on a distinguished road
Quote:
Originally Posted by srireddyn View Post
Hi koray
Is it possible to avoid UDF for dynamic mesh with some table data to define the motion of the boundar?
Hi there,

Just check ansys help and look for profile under fluent user guide. It's very straightforward.

Cheers,
Koray
koray is offline   Reply With Quote

Old   December 17, 2014, 01:29
Default
  #5
New Member
 
Srinivasa Reddy
Join Date: Dec 2011
Posts: 5
Rep Power: 15
srireddyn is on a distinguished road
Thanks koray!
I have checked. I should try it out.
srireddyn 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
CG Motion UDF Problem leoarmas Fluent UDF and Scheme Programming 17 February 14, 2023 09:59
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
UDF to control motion NOT about CG LenDawg0220 Fluent UDF and Scheme Programming 0 July 28, 2012 13:54
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 04:06
UDF to write interp files Karl FLUENT 6 February 7, 2002 13:10


All times are GMT -4. The time now is 17:28.