CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF of flow over oscillating cylinder 2D case (http://www.cfd-online.com/Forums/fluent/91945-udf-flow-over-oscillating-cylinder-2d-case.html)

imharoon1 August 27, 2011 05:28

UDF of flow over oscillating cylinder 2D case
 
1 Attachment(s)
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

saifullahkhalid August 27, 2011 06:50

Reply
 
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!

imharoon1 August 27, 2011 07:08

Thanks
 
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

niravtm007 August 28, 2011 01:46

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) ...


All times are GMT -4. The time now is 06:26.