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

Oscillating Airfoil Fleunt UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2018, 17:30
Default Oscillating Airfoil Fleunt UDF
  #1
New Member
 
Michael Scott
Join Date: Jul 2018
Posts: 1
Rep Power: 0
rolltide is on a distinguished road
I am looking to create an oscillating airfoil in fluent. I want the angle of attack to change with time. I have this so far for the udf. I have compiled the udf and selected the airfoil as a dynamic mesh yet nothing moves. I am new to fluent and a working example would be very helpful

#include "udf.h"

DEFINE_CG_MOTION(rotate, dt, vel, omega, time, dtime)
{
real a, w, pi;

pi = 3.1415;

/* define motion variables */
a = 0.05; /* 0.05m movement amplitude */
w = 2 * pi * 2; /* 2Hz frequency */

/* define object movement law */
omega [0] = -.5* sin(w*time);
}
rolltide is offline   Reply With Quote

Reply

Tags
airfoil, oscillating, pitching airfoil, udf, user defined function


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 for oscillating wall QBeast Fluent UDF and Scheme Programming 3 December 17, 2020 03:03
UDF for moving wall (oscillating) Sambhu.jayachandran Fluent UDF and Scheme Programming 3 March 12, 2018 04:23
UDF for Heaving airfoil alireza_b FLUENT 0 June 3, 2015 16:40
UDF for Oscillating Membrane/Diaphragm of a Synthetic Jet cuan1029 Fluent UDF and Scheme Programming 0 December 8, 2014 09:20
No-slip boundary condition for oscillating airfoil Tarak OpenFOAM Running, Solving & CFD 3 June 5, 2013 08:04


All times are GMT -4. The time now is 18:16.