CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Oscillatory cylinder in a static flow medium

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2011, 16:44
Default Oscillatory cylinder in a static flow medium
  #1
New Member
 
Petrut Teodor
Join Date: Feb 2010
Location: Romania
Posts: 12
Rep Power: 16
teopetre is on a distinguished road
As you can read in the title, I have a box inside of whom I put a cylinder which is moving vertically according to a harmonic function, written in a simple udf as follows:

#include "udf.h"
/*y(t)=a*sin(2*pi*f*t) */
DEFINE_CG_MOTION(oscilation,dt,vel,omega,time,dtim e)
{
Thread *t;
face_t *f;
NV_S(vel,=,0.0);
NV_S(omega,=,0.0);
if(!Data_Valid_P())
return;
t=DT_THREAD(dt);
vel[1] = 10*cos(10*time);
}

For a 2D model, I've tried both smoothing+remeshing and layering, but still the same error, from the first time step of motion, the existence of negative volume, preceded of course by the warning of left handedness(when I use an axisymmetric model). returning to our 2d model(not axi!), the cylinder wall was set as rigid body, and the 4 boundaries of my domain were set as deforming(for smoothing and remeshing) and for layering those 4 were set as static. Moreover, Fluent don't allow me to access the info mesh scale for the boundaries of the box, giving me the overflow error.
Has anyone idea what's wrong and what should be to do?
Besides I've tried both uniform and non-uniform grids, with both an inviscid model and a k-epsilon model.

Many thanks in advance!
teopetre is offline   Reply With Quote

Old   December 16, 2011, 18:36
Default Case resolved
  #2
New Member
 
Petrut Teodor
Join Date: Feb 2010
Location: Romania
Posts: 12
Rep Power: 16
teopetre is on a distinguished road
It was just a matter of time step choice. Another question would be, how realistic would be a fluid-structure interaction analysis with Fluent, in my case, if I put a velocity bc on the left boundary of the box(square) and the cylinder moves with the harmonic law. Had anyone studied something like this?
Sincerely yours,
Petruţ.
teopetre is offline   Reply With Quote

Old   December 20, 2011, 01:31
Default reply
  #3
Member
 
karthickeyan
Join Date: Feb 2010
Location: coimbatore
Posts: 36
Rep Power: 16
karthickeyan is on a distinguished road
Send a message via Skype™ to karthickeyan
hi friend
u can use layering for hex mesh and remeshing for tet mesh it depends on time step u given it will show the error. if time step size is greater than ur cell size it will show negative volume error .send me cas file i will work on it

Quote:
Originally Posted by teopetre View Post
As you can read in the title, I have a box inside of whom I put a cylinder which is moving vertically according to a harmonic function, written in a simple udf as follows:

#include "udf.h"
/*y(t)=a*sin(2*pi*f*t) */
DEFINE_CG_MOTION(oscilation,dt,vel,omega,time,dtim e)
{
Thread *t;
face_t *f;
NV_S(vel,=,0.0);
NV_S(omega,=,0.0);
if(!Data_Valid_P())
return;
t=DT_THREAD(dt);
vel[1] = 10*cos(10*time);
}

For a 2D model, I've tried both smoothing+remeshing and layering, but still the same error, from the first time step of motion, the existence of negative volume, preceded of course by the warning of left handedness(when I use an axisymmetric model). returning to our 2d model(not axi!), the cylinder wall was set as rigid body, and the 4 boundaries of my domain were set as deforming(for smoothing and remeshing) and for layering those 4 were set as static. Moreover, Fluent don't allow me to access the info mesh scale for the boundaries of the box, giving me the overflow error.
Has anyone idea what's wrong and what should be to do?
Besides I've tried both uniform and non-uniform grids, with both an inviscid model and a k-epsilon model.

Many thanks in advance!
karthickeyan is offline   Reply With Quote

Reply

Tags
cylinder, deforming mesh, dynamic mesh, oscillatory, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oscillating Cylinder in Parallel Flow: Analytical Solution startingcfd Main CFD Forum 7 March 23, 2012 06:49
flow around a cylinder pXYZ Main CFD Forum 14 July 25, 2011 11:05
Flow induced vibration of a mobile cylinder Hooman Main CFD Forum 0 December 31, 2010 09:48
Flow past 2 smooth circular cylinder slip FLUENT 0 July 8, 2010 19:45
Flow over a cylinder Anna Main CFD Forum 9 March 24, 2006 15:32


All times are GMT -4. The time now is 22:17.