CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

how to simulate a velocity profile UDF with sliding mesh?

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

LinkBack Thread Tools Display Modes
Old   May 1, 2014, 02:28
Default how to simulate a velocity profile UDF with sliding mesh?
New Member
Join Date: May 2012
Posts: 7
Rep Power: 7
mani1455 is on a distinguished road
Sponsored Links
Hi all,

i am trying to simulate a velocity profile UDF with sliding mesh..!
I applied the UDF on the inlet of the sliding mesh.... but when simulated the mesh slides but the UDF doesnt..... how i can slide the UDF with the sliding mesh?

Attaching an image: The right side of the Mesh is sliding but UDF doesnt!

Help required ASAP!

regards and thanks in advance

my udf
#include "udf.h"
DEFINE_PROFILE(inlet_x_velocity, thread, nv)
float x[2];
float y;
face_t f;
begin_f_loop(f, thread)
y = x[1];
F_PROFILE(f, thread, nv) = 6.67-(7.018457*exp(-0.693*pow(y/0.001654,2.0)));
end_f_loop(f, thread)
Attached Images
File Type: jpg sliding mesh.jpg (22.0 KB, 5 views)
mani1455 is offline   Reply With Quote
Sponsored Links


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 inlet velocity profile mismatch with Fluent ChristineL Fluent UDF and Scheme Programming 15 November 25, 2016 07:45
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 05:30
A girl fail to plot velocity profile when mesh changes + Wall function asherah STAR-CCM+ 0 February 19, 2010 18:45
please help UDF for velocity profile in y-directio raju FLUENT 3 September 22, 2008 16:36
UDF Unsteady velocity parabolic profile Rashad FLUENT 2 February 29, 2008 03:36

Sponsored Links

All times are GMT -4. The time now is 07:24.