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

UDF of flow over oscillating cylinder 2D case

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By imharoon1
  • 1 Post By saifullahkhalid

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2011, 06:28
Default UDF of flow over oscillating cylinder 2D case
  #1
New Member
 
Haroon
Join Date: Aug 2011
Posts: 6
Rep Power: 15
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, 138 views)
zhaomu67 and jzc like this.
imharoon1 is offline   Reply With Quote

Old   August 27, 2011, 07:50
Default Reply
  #2
New Member
 
Saif Ullah
Join Date: Aug 2011
Posts: 10
Rep Power: 15
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.

http://www.cfd-online.com/Forums/flu...r-problem.html

Regards!
jzc likes this.
saifullahkhalid is offline   Reply With Quote

Old   August 27, 2011, 08:08
Default Thanks
  #3
New Member
 
Haroon
Join Date: Aug 2011
Posts: 6
Rep Power: 15
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, 02:46
Default
  #4
Member
 
Nirav
Join Date: Jul 2011
Posts: 43
Rep Power: 15
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


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
UDF to measure Mass Flow Rate a.lynchy Fluent UDF and Scheme Programming 31 October 4, 2018 15:10
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 11:05
flow resistance of cylinder in parallel flow Ralf Schmidt Main CFD Forum 3 May 11, 2009 03:26
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 01:42.