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

UDF of flow over oscillating cylinder 2D case

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 27, 2011, 05:28
Default UDF of flow over oscillating cylinder 2D case
  #1
New Member
 
Haroon
Join Date: Aug 2011
Posts: 6
Rep Power: 5
imharoon1 is on a distinguished road
Sir I am recent into the UDFs and trying to simulate the flow over the oscillating cylinder.The UDF for cylinder oscillation is

#include "udf.h"
#include "dynamesh_tools.h"

DEFINE_CG_MOTION(cilindro1,dt,vel,omega,time,dtime )
{ vel[0]=0; vel[1]=10*sin(100*time); omega[1]=0.0; omega[0]=0.0; }


But when i hook it with cylinder it give me error
Warning: incorrect cg motion UDF cilindro1 on zone 12 (assuming no motion)
I have attached my problem domain as well.
My email address is imharoon1@gmail.com
Regards Haroon
Attached Images
File Type: jpg Untitled.jpg (96.7 KB, 80 views)
imharoon1 is offline   Reply With Quote

Old   August 27, 2011, 06:50
Default Reply
  #2
New Member
 
Saif Ullah
Join Date: Aug 2011
Posts: 5
Rep Power: 5
saifullahkhalid is on a distinguished road
You may check this problem on the following url which has been posted.
I don't know it works or not. But it may be helpful.

tutorial for solving oscillating cylinder problem

Regards!
saifullahkhalid is offline   Reply With Quote

Old   August 27, 2011, 07:08
Default Thanks
  #3
New Member
 
Haroon
Join Date: Aug 2011
Posts: 6
Rep Power: 5
imharoon1 is on a distinguished road
Sir It is just coincidence.I am trying to contact you the whole day but your cell was switched off.At last i have put my problem on the site and you are the first person who respond on that.
Thanks
Regards Haroon
imharoon1 is offline   Reply With Quote

Old   August 28, 2011, 01:46
Default
  #4
Member
 
Nirav
Join Date: Jul 2011
Posts: 42
Rep Power: 5
niravtm007 is on a distinguished road
Send a message via Skype™ to niravtm007
hiii friends i am entirely new to using udf's in fluent. I have a cubical geometry, with two inlets on perpendicular adjacent faces. i have to implement udf to only one of the conditions.
i have two cases
1) parabolic velocity inlet ( space varient)
2) sinusodial velocity velocity inlet ( time variant)
can any one pls send me the udf ( codes) ...
niravtm007 is offline   Reply With Quote

Reply

Tags
fluent, oscillating cylinder, udf

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF to measure Mass Flow Rate a.lynchy Fluent UDF and Scheme Programming 21 February 15, 2014 03:18
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 12:47
flow around a cylinder pXYZ Main CFD Forum 14 July 25, 2011 10:05
flow resistance of cylinder in parallel flow Ralf Schmidt Main CFD Forum 3 May 11, 2009 02:26
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 02:21.