CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF Velocity profile at inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2020, 12:04
Default UDF Velocity profile at inlet
  #1
New Member
 
AL AMEEN AHMED RUFAI
Join Date: Nov 2019
Posts: 2
Rep Power: 0
aar007 is on a distinguished road
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
aar007 is offline   Reply With Quote

Old   June 28, 2020, 23:43
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
aar007 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
boundary profiles, udf, velocity profile 3d udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 11:42.