Mesh motion
Dear friends
I'm trying to model an oscillating airfoil. I wrote a udf for it and then I apply it to my airfoil, but when i use mesh motion to preview the motion of my airfoil i saw that it didn't move! this is my udf: #include "udf.h" static real v_prev = 0.942; DEFINE_CG_MOTION(plunge, dt, vel, omega, time, dtime) { Thread *t; face_t f; real NV_VEC (A); real dv; /* reset velocities */ NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); if (!Data_Valid_P ()) return; /* get the thread pointer for which this motion is efined */ t = DT_THREAD (dt); /* compute change in velocity */ dv = -5.921*sin(6.28318*time)*dtime; v_prev += dv ; Message ("time = %f, x_vel = %f", time, v_prev); /* set Y-component of velocity */ vel[1] = v_prev; } and I apply it only to my airfoil. (only my airfoil is set as dyn mesh zone) Pls help me. |
Re: Mesh motion
Do you have experimental data of an oscillating airfoil? I am also looking to simulate oscillating airfoil.
If you have geometry data and experimental results of an oscillating airfoil please inform me. Thanks & regards |
Re: Mesh motion
have u set the adjacent fluid as deforming? aerofoil with the profile and a rigid body.
|
All times are GMT -4. The time now is 20:23. |