|
[Sponsors] |
UDF parbolic inlet velocity profile for 3D Ractangular channel flow. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2016, 08:32 |
UDF parbolic inlet velocity profile for 3D Ractangular channel flow.
|
#1 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
i am using fluent and i have used UDF for parabolic velocity profile for 2D case at inlet as
#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) } now i want to use UDF for 3D case, how can i convert this for 3D case? please help me thanks in advance |
|
August 10, 2016, 08:49 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
the 3D problem you wanto to study has 4 walls? In such case you must solve the elliptic equation Lap w = q on the inflow plane (w is the streamwise velocity, q depends on the pressure gradient and Re number)
|
|
August 10, 2016, 09:02 |
|
#3 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
yes four wall but i just want to specify (u) normal component of velocity at inlet surface and v=w=0.
|
|
August 10, 2016, 09:05 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
||
August 10, 2016, 10:25 |
|
#5 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
||
|
|
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 |
UDF - Inlet Velocity Profile (Ansys Fluent) | vinayak4399 | Fluent UDF and Scheme Programming | 3 | August 25, 2020 15:15 |
UDF parbolic inlet velocity profile for 3D channel flow. | srv537 | FLUENT | 0 | August 6, 2016 03:21 |
[swak4Foam] Inlet velocity profile for turbulent pipe flow using swak4Foam | zordiack | OpenFOAM Community Contributions | 5 | February 23, 2016 02:52 |