|
[Sponsors] |
July 15, 2005, 11:59 |
Mesh motion
|
#1 |
Guest
Posts: n/a
|
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. |
|
July 19, 2005, 23:40 |
Re: Mesh motion
|
#2 |
Guest
Posts: n/a
|
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 |
|
July 20, 2005, 08:03 |
Re: Mesh motion
|
#3 |
Guest
Posts: n/a
|
have u set the adjacent fluid as deforming? aerofoil with the profile and a rigid body.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 06:21 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 06:42 |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |
Mesh motion on inlet (2-way FSI) | Lance | CFX | 2 | August 13, 2009 05:31 |