|
[Sponsors] |
September 13, 2006, 10:44 |
problem with oscillating cylinder
|
#1 |
Guest
Posts: n/a
|
hi,
i'm trying to simulate a cylinder oscillating in a transverse fashion. i've met with some problems which i hope someone can help... these are the steps i took: 1. read in the mesh 2. prepare the plung.c udf file given as #include "udf.h" /* this function defines velocity of center of gravity for pure plunging motion*/ /* Plunging motion equation is z(t)=h*sin(2*pi*f*t) */ DEFINE_CG_MOTION(plung, dt, vel, omega, time, dtime) { Thread *t; face_t *f; /*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 defined */ /* t=DT_THREAD(dt); */ /* vel[1] is the vertical plunging velocity */ /* These velocity below is for h=0.4c and f=0.993Hz */ vel[1] = 2.495*cos(6.2392*time); } 3. compile the source file 4. go to dynamic mesh - zones. i've selected cylinder with rigid body motion with the udf profile just compiled 5. set the BC of the cylinder with moving wall and use the library just compiled. i wanted to start iteration but the "iterate" button is not highlighted. so what have i missed out? tks in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
benchmark: flow over a circular cylinder | goodegg | Main CFD Forum | 12 | January 22, 2013 11:47 |
Lift Hysteresis problem in Oscillating Airfoil | Farid | CFX | 3 | March 29, 2012 05:52 |
Oscillating cylinder using icoFoam blowing up | rieuk | OpenFOAM Running, Solving & CFD | 5 | September 22, 2010 11:25 |
[Other] Shadow wall region problem | amoolraina | ANSYS Meshing & Geometry | 0 | July 25, 2010 21:17 |
flow around oscillating cylinder | gs | Main CFD Forum | 0 | May 31, 2004 06:34 |