|
[Sponsors] |
April 16, 2014, 06:21 |
Udf with a 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) } Last edited by mani1455; May 1, 2014 at 03:25. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 12:14 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
sliding mesh for valves & sonicTurbDyMEngineFoam | sasanghomi | OpenFOAM | 9 | March 28, 2013 11:22 |
what does sliding mesh REALLY mean? | Jason | FLUENT | 2 | February 21, 2012 06:49 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |