|
[Sponsors] |
Unable to obtain the actual velocity profile of a sinusoidal udf |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 4, 2017, 05:49 |
Unable to obtain the actual velocity profile of a sinusoidal udf
|
#1 |
New Member
Gary
Join Date: Jan 2017
Posts: 6
Rep Power: 9 |
Hi,
I am working on a project on analyzing haemodynamic properties in bifurcating aneurysmic aortas and have prepared an udf for the inlet velocity: #include "udf.h"//file that contains definitions for define functions and fluent operations #define PI 3.141592654 DEFINE_PROFILE(inlet_velocity,th,i) { face_t f; real t = CURRENT_TIME; begin_f_loop(f,th) { F_PROFILE(f,th,i) = ((-0.086)*(sin(((2*PI/3)*t) + 0.609))) + 0.0075; } end_f_loop(f,th); } I had interpreted and activated the function in the function fluent setup. The solution ran pretty well converging at each time step, but when I plotted the inlet velocity in a transient plot in CFD post(in results, not in solution), the part of the sine curve that should be in the negative y- direction was inverted along the positive y direction, i.e the absolute value of the sinusoidal funtion was displayed. Can anyone suggest a way to get the actual profile? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D rectangular velocity profile UDF | Chalke06 | Fluent UDF and Scheme Programming | 3 | August 6, 2016 14:37 |
UDF of Inlet Velocity Profile help | nabster | Fluent UDF and Scheme Programming | 0 | September 7, 2014 05:01 |
unable to get parabolic velocity profile with pimplefoam | houkensjtu | OpenFOAM | 4 | October 8, 2012 05:41 |
obtain non-uniform velocity profile | Atit Koonsrisuk | CFX | 6 | July 9, 2007 07:04 |
UDF velocity profile problem | Steve | FLUENT | 0 | January 18, 2005 13:11 |