CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF parbolic inlet velocity profile for 3D channel flow.

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

LinkBack Thread Tools Display Modes
Old   August 6, 2016, 02:21
Default UDF parbolic inlet velocity profile for 3D channel flow.
Saurav Kumar
Join Date: Jul 2016
Posts: 76
Rep Power: 3
srv537 is on a distinguished road
inlet is y=1cm and z=17cm, for 2D case i am using

#include "udf.h"
DEFINE_PROFILE(inlet_x_velocity, thread, position)
real x[ND_ND]; /* this will hold the position vector */
real y;
face_t f;
begin_f_loop(f, thread)
y = x[1];
F_PROFILE(f, thread, position) = 0.4382 - y*y/(0.005*0.005)*0.4382;
end_f_loop(f, thread)

what modification required to change this into 3D parabolic velocity profile.

srv537 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D UDF Paraboilc Velocity Profile (Can't Maintain) Sing FLUENT 12 August 7, 2017 06:25
Pulsatile Blood Flow Inlet Velocity Profile Sicario FLUENT 10 March 23, 2017 02:06
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 8 October 25, 2016 19:48
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
How do I prescribe Average Velocity /Total Inlet Flow for a simple channel problem? skuznet OpenFOAM Pre-Processing 3 December 1, 2013 23:54

All times are GMT -4. The time now is 06:13.