|
[Sponsors] |
June 27, 2020, 12:04 |
UDF Velocity profile at inlet
|
#1 |
New Member
AL AMEEN AHMED RUFAI
Join Date: Nov 2019
Posts: 2
Rep Power: 0 |
Hi, I am trying to create UDF for my simulation with an initial velocity profile of 65mm at the inlet and velocity of 40m/s. I have tried using the formula below to write a UDF for my rectangular domain but I can’t seem to manipulate the initial velocity at the beginning of the inlet to a have velocity profile 65mm. Below is a copy of my UDF, domain description, and the experimental description of what I am trying to achieve at the beginning of my inlet.
NOTE: I am able to achieve the desired 65mm velocity profile at the desired location(of 4m from the inlet) but not at the inlet.  Formula U=Uref(z/Zref)gamma Uref=40m/s Z=z(height of domain 1.32m) Zref=65mm Domain https://ibb.co/G3dxqTP Designed velocity profile at the inlet https://ibb.co/ZfLmqkF |
|
June 28, 2020, 23:43 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
1. For this case you can use expressions, but not UDF from fluent 2019 version
2. Also yo may use profile, which contains velocity vs coordinates. 3. I don't see your UDF, but you need DEFINE_PROFILE macro. You can apply it to any external boundary. Hook it to your inlet boundary as velocity, it should work
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
boundary profiles, udf, velocity profile 3d udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disappearing mass when using udf inlet profile | divergence | Fluent UDF and Scheme Programming | 5 | January 2, 2021 15:56 |
UDF velocity inlet sinusoidal profile | dka14 | Fluent UDF and Scheme Programming | 0 | March 27, 2017 07:58 |
Problem with assigned inlet velocity profile as a boundary condition | Ozgur_ | FLUENT | 5 | August 25, 2015 05:58 |
simpleFoam: Non-uniform mesh near inlet & outlet causes incorrect velocity profile? | Zaphod'sSecondHead | OpenFOAM Running, Solving & CFD | 0 | January 28, 2015 06:17 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |