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

sinusoidal oscillating airfoil simulation in CFX

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2017, 13:15
Default sinusoidal oscillating airfoil simulation in CFX
  #1
New Member
 
mamly
Join Date: Sep 2010
Posts: 12
Rep Power: 15
mamly is on a distinguished road
Hello guys
I am trying to simulate a sinusoidal oscillating airfoil by CFX.
The airfoil is NACA0012 and the oscillating center is 0.25 chord.
the UDF for the oscilation is:
---------------------------------------------------------------------
# include "udf.h"


#define D 10.0 /* Amplitude */
#define K 0.026 /* Reduced Frequency */

DEFINE_CG_MOTION(airfoil, dt, vel, omega, time, dtime)
{
omega[2]=0.0174532*D*2.0*K*cos(2.0*K*time);
}
----------------------------------------------------------------------

Can you help me and tell me how can I simulate this airfoil?
I have no problem in modeling and mesh generation, but I don't know, where should I implement these equations?

Waiting for you!
Best
mamly is offline   Reply With Quote

Old   August 7, 2017, 19:22
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,716
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I would not do this using a user function. This can be implemented easily in CEL and that is much easier. Have a look at the CFX tutorials for how to implement CEL expressions.
mamly likes this.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfx, sinusoidal oscillating, udf


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
3D wave simulation CFX JimG91 CFX 9 January 2, 2023 00:54
Problem with airfoil shape optimization robyTKD SU2 Shape Design 7 March 7, 2022 16:18
simulating 2D airfoil mesh in CFX iffy ANSYS Meshing & Geometry 7 January 24, 2017 03:05
2D FFD Optimization RLangtry SU2 2 August 5, 2014 09:48
FSI Simulation of a 2D airfoil marcanyada CFX 13 July 3, 2014 09:23


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