|
[Sponsors] |
December 2, 2014, 18:59 |
trying to write a UDF for rigid body motion
|
#1 |
New Member
Join Date: Feb 2014
Posts: 9
Rep Power: 12 |
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. |
|
December 10, 2014, 04:45 |
|
#2 |
New Member
Join Date: Nov 2012
Posts: 18
Rep Power: 14 |
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 |
|
December 15, 2014, 14:34 |
|
#3 |
New Member
Srinivasa Reddy
Join Date: Dec 2011
Posts: 5
Rep Power: 15 |
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. |
|
December 15, 2014, 15:46 |
|
#4 |
New Member
Join Date: Nov 2012
Posts: 18
Rep Power: 14 |
||
December 17, 2014, 01:29 |
|
#5 |
New Member
Srinivasa Reddy
Join Date: Dec 2011
Posts: 5
Rep Power: 15 |
Thanks koray!
I have checked. I should try it out. |
|
|
|
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 |