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

(ask) how to create UDF for inlet velocity profile

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

Like Tree21Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2018, 12:17
Default
  #81
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
I use TextPad or Vim.
cfd_worker99 likes this.
pakk is offline   Reply With Quote

Old   August 8, 2019, 05:40
Default negatif values
  #82
New Member
 
Elvire Katramiz
Join Date: Jul 2019
Posts: 2
Rep Power: 0
elvirekatramiz is on a distinguished road
Hello!
I have a question concerning the velocity profile.
I did the UDF function and compiled it in ANSYS fluent, however I need to assign it to a BC of inlet velocity? if so, it only gives positive values of the velocity... how can the velocity change from + to - on a boundary and thus change the direction of the velocity vectors?
should I change the type of boundary conditions?

Thank You !!
elvirekatramiz is offline   Reply With Quote

Old   August 8, 2019, 08:49
Default
  #83
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 33
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
if we speak about inlet boundary condition ->
positive velocity means flow inside domain
negative velocity means flow onside domain through inlet

best regards
AlexanderZ is offline   Reply With Quote

Old   May 16, 2022, 14:04
Default How can set velocity component in UDF
  #84
New Member
 
ali
Join Date: Dec 2021
Posts: 4
Rep Power: 4
alireza_T is on a distinguished road
hello everybody, I need a UDF for the set velocity component.
for example. I want to set y velocity or anything else. so how can write it?

for example on the fluent, you can set ...


how can write it on the UDF, now?
alireza_T is offline   Reply With Quote

Reply

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
UDF problems - velocity profile Oli Fluent UDF and Scheme Programming 6 October 24, 2016 11:38
How to create non-uniform velocity profile in FLUENT? pankaj FLUENT 7 October 24, 2016 05:52
udf for velocity profile in a geometry having two inlets shubham208011 Fluent UDF and Scheme Programming 0 April 6, 2009 16:13
UDF velocity and temperature Raj FLUENT 3 February 1, 2009 19:29
UDF velocity profile at nodes Emad FLUENT 2 January 29, 2009 07:35


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