CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Trying to Write pitch and Plunge UDF (http://www.cfd-online.com/Forums/fluent/40196-trying-write-pitch-plunge-udf.html)

Alex March 18, 2006 17:14

Trying to Write pitch and Plunge UDF
 
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 11:57.