|
[Sponsors] |
July 3, 2018, 17:30 |
Oscillating Airfoil Fleunt UDF
|
#1 |
New Member
Michael Scott
Join Date: Jul 2018
Posts: 1
Rep Power: 0 |
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); } |
|
Tags |
airfoil, oscillating, pitching airfoil, udf, user defined function |
|
|
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 |