|
[Sponsors] |
July 31, 2016, 07:32 |
How to set the inlet velocity profile
|
#1 |
Member
Paul Zhang
Join Date: Feb 2011
Posts: 44
Rep Power: 15 |
Hello all,
The inlet velocity function is given as u=y-1 if y>=1 and u=0 if 0<=y<1. How to implement it in CFX? Thanks, Paul |
|
July 31, 2016, 08:20 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Use a CEL expression. Something like
UVel = if(y<1,0[m/s],y-1[m/s]) And set the inlet velocity to UVel. |
|
July 31, 2016, 08:23 |
|
#3 |
Member
Paul Zhang
Join Date: Feb 2011
Posts: 44
Rep Power: 15 |
Awesome. That works!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF - Inlet Velocity Profile (Ansys Fluent) | vinayak4399 | Fluent UDF and Scheme Programming | 3 | August 25, 2020 14:15 |
3D UDF Paraboilc Velocity Profile (Can't Maintain) | Sing | FLUENT | 12 | August 7, 2017 06:25 |
extracting outlet velocity profile from one case to another case's inlet | tonggysun | OpenFOAM | 2 | September 13, 2013 04:19 |
FSI- Pipe- uniform velocity profile inlet | Absy | Main CFD Forum | 0 | April 6, 2010 03:01 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |