|
[Sponsors] |
July 31, 2016, 08: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, 09:20 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,890
Rep Power: 144 |
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, 09:23 |
|
#3 |
Member
Paul Zhang
Join Date: Feb 2011
Posts: 44
Rep Power: 15 |
Awesome. That works!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 15:15 |
3D UDF Paraboilc Velocity Profile (Can't Maintain) | Sing | FLUENT | 12 | August 7, 2017 07:25 |
extracting outlet velocity profile from one case to another case's inlet | tonggysun | OpenFOAM | 2 | September 13, 2013 05:19 |
FSI- Pipe- uniform velocity profile inlet | Absy | Main CFD Forum | 0 | April 6, 2010 04:01 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |