CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   HELP . . . Vertical motion of a wing (http://www.cfd-online.com/Forums/fluent/90995-help-vertical-motion-wing.html)

Phil_QM July 27, 2011 10:57

HELP . . . Vertical motion of a wing
 
I am trying to model vertical movement of an airfoil.

I currently have a mesh which works well for normal flows over it but I am trying to look at the effects of vertical oscillations on the forces of the airfoil.

My problem is that I cannot work out how to get my airfoil to translate.

Thanks
Phil

AdrienL July 29, 2011 05:15

Hey,

to translate your mesh you have to use a dynamic mesh (DEFINE_CG_MOTION).
You can find some stuff about it in the UDF manual.

If you have any questions ...

bye

Phil_QM August 26, 2011 06:45

Hi again, I have had to take some time away from this project but now have some more time to spend on it, I have managed to write a udf though seem to have some issues with it.
I get the following warning come up when I apply my UDF to my airfoil.
"Warning: incorrect cg motion UDF FOILMOTION on zone 7 (assuming no motion)"

The UDF I am using is bellow
#include <udf.h>
DEFINE_CG_MOTION(FOILMOTION, DT, VEL, OMEGA, TIME, DTIME)
{
VEL[1]=sin(CURRENT_TIME)
}

Do you have any idea what could be wrong?
Thanks


All times are GMT -4. The time now is 12:56.