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

how to simulate a velocity profile UDF with sliding mesh?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2014, 03:28
Default how to simulate a velocity profile UDF with sliding mesh?
  #1
New Member
 
Join Date: May 2012
Posts: 7
Rep Power: 14
mani1455 is on a distinguished road
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)
{
F_CENTROID(x,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, 6 views)
mani1455 is offline   Reply With Quote

Reply


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
please help UDF for velocity profile in y-directio raju Fluent UDF and Scheme Programming 6 April 13, 2019 00:21
UDF Unsteady velocity parabolic profile Rashad FLUENT 3 October 1, 2018 16:27
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


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