|
[Sponsors] |
UDF For XY MOTION OF VORTEX INDUCED VIBRATIONS OF CIRCULAR CYLINDER |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 24, 2018, 23:34 |
UDF For XY MOTION OF VORTEX INDUCED VIBRATIONS OF CIRCULAR CYLINDER
|
#1 |
New Member
Sajid
Join Date: Nov 2017
Posts: 3
Rep Power: 8 |
Hi
This is Sajid I am presently working on Vortex Induced Vibrations of Circular Cylinder in ANSYS Fluent I have already completed 2D Case of VIV (Cross Flow Direction Only) using following UDF. #include "udf.h" static real v_prev_y = 0.0; DEFINE_CG_MOTION(viv,dt,vel,omega,time,dtime) { Thread *t; Domain *d; FILE *fp; real cg[3], force[3], moment[3]; real accl_y, dv_y; real ured=6.02; real mass_ratio = 149.10; real eta = 0.0012; real ro = 1.225; real wn_y = (2*M_PI)/ured; real mass = (ro*M_PI*mass_ratio)/4; real k_y = mass*wn_y*wn_y; real c_y = 2*mass*wn_y*eta; int i; NV_S(vel,=,0.0); NV_S(omega,=,0.0); t = DT_THREAD(dt); d = Get_Domain(1); for(i=0;i<3;i++) cg[i] = DT_CG(dt)[i]; Compute_Force_And_Moment(d, t, cg, force, moment, TRUE); force[1] += -k_y*cg[1] - c_y*vel[1]; accl_y = force[1]/mass; dv_y = accl_y*dtime; v_prev_y += dv_y; Now i want to simulate XY Motion i.e both Inline and Cross Flow direction in ANSYS Fluent. Can anybody send me UDF of XY Motion ??? |
|
November 26, 2020, 04:20 |
|
#2 | |
New Member
Join Date: Nov 2020
Posts: 5
Rep Power: 5 |
Quote:
Thank you. |
||
November 26, 2020, 18:45 |
|
#3 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
yes
next time you may find information about macros in ansys fluent customization manual
__________________
best regards ****************************** press LIKE if this message was helpful |
|
November 26, 2020, 18:51 |
|
#4 |
New Member
Join Date: Nov 2020
Posts: 5
Rep Power: 5 |
Hi Mr. Alexander Z,
Thank you for your information and guidelines. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cylinder motion along a circular path | karamiag | OpenFOAM Running, Solving & CFD | 0 | May 25, 2014 05:05 |
benchmark: flow over a circular cylinder | goodegg | Main CFD Forum | 12 | January 22, 2013 11:47 |
vortex flow over circular cylinder | Sheila | FLUENT | 7 | March 21, 2006 14:28 |
Vortex Shedding Circular Cylinder | Ray Mahon | Main CFD Forum | 1 | March 14, 2002 23:38 |
LES: vortex shedding past a 2D and 3D circular cylinder | Rocchi Daniele | Main CFD Forum | 7 | April 9, 1999 12:05 |