CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF Velocity profile at inlet

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By AlexanderZ

LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2020, 11:04
Default UDF Velocity profile at inlet
New Member
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
Z=z(height of domain 1.32m)


Designed velocity profile at the inlet
aar007 is offline   Reply With Quote

Old   June 28, 2020, 22:43
Senior Member
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


boundary profiles, udf, velocity profile 3d udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:56
UDF velocity inlet sinusoidal profile dka14 Fluent UDF and Scheme Programming 0 March 27, 2017 06:58
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
simpleFoam: Non-uniform mesh near inlet & outlet causes incorrect velocity profile? Zaphod'sSecondHead OpenFOAM Running, Solving & CFD 0 January 28, 2015 05:17
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13

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