CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to write UDF for pitching&plunging airfoil? (https://www.cfd-online.com/Forums/fluent/40183-how-write-udf-pitching-plunging-airfoil.html)

Alex March 17, 2006 12:37

How to write UDF for pitching&plunging airfoil?
 
Hi,

I am currently trying to write a UDF file for an airfoil in pitch and plunge to perform unsteady 2-D analysis.

I have no experience writing a UDF file, so I was wondering if you could give me a tip on how to integrate the following equations into my UDF. I think I need to use the DEFINE_CG_MOTION UDF.

For my plunging motion:

h=h_0*sin(omega*t)

For Pitching:

theta=theta_0*sin(omega*t+delta)

Your help would be greatly appreciated.

Thank you very much

Alex


All times are GMT -4. The time now is 05:27.