|
[Sponsors] | |||||
UDF parbolic inlet velocity profile for 3D Ractangular channel flow. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 11 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
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)
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 11 ![]() |
yes four wall but i just want to specify (u) normal component of velocity at inlet surface and v=w=0.
|
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
||
|
|
|
|
|
|
|
#5 |
|
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 11 ![]() |
||
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pulsatile Blood Flow Inlet Velocity Profile | Sicario | FLUENT | 16 | March 25, 2025 11:00 |
| 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 |