|
[Sponsors] |
how to simulate a velocity profile UDF with sliding mesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2014, 03:28 |
how to simulate a velocity profile UDF with sliding mesh?
|
#1 |
New Member
Join Date: May 2012
Posts: 7
Rep Power: 14 |
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) } |
|
|
|
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 |