|
[Sponsors] |
UDF parbolic inlet velocity profile for 3D channel flow. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2016, 03:21 |
UDF parbolic inlet velocity profile for 3D channel flow.
|
#1 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
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) { F_CENTROID(x,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. thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pulsatile Blood Flow Inlet Velocity Profile | Sicario | FLUENT | 15 | May 12, 2022 05:16 |
How do I prescribe Average Velocity /Total Inlet Flow for a simple channel problem? | skuznet | OpenFOAM Pre-Processing | 4 | February 16, 2022 10:44 |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
3D UDF Paraboilc Velocity Profile (Can't Maintain) | Sing | FLUENT | 12 | August 7, 2017 07:25 |
Problem with assigned inlet velocity profile as a boundary condition | Ozgur_ | FLUENT | 5 | August 25, 2015 05:58 |