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

Udf with a sliding mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2014, 05:21
Default Udf with a sliding mesh
  #1
New Member
 
Join Date: May 2012
Posts: 7
Rep Power: 11
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, 15 views)

Last edited by mani1455; May 1, 2014 at 02:25.
mani1455 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
sliding mesh for valves & sonicTurbDyMEngineFoam sasanghomi OpenFOAM 9 March 28, 2013 10:22
what does sliding mesh REALLY mean? Jason FLUENT 2 February 21, 2012 05:49
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


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