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

UDF inlet velocity by UDF not the same as via GUI?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2017, 02:45
Default UDF inlet velocity by UDF not the same as via GUI?
  #1
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 10
h0rst is on a distinguished road
Hello everyone,

I am using an inlet velocity magnitude of 5.85 m/s.

I want to do this by udf because I use this value also in different functions.
The result is very similar compared to input by GUI, but not exactly. Also the convergence occur 1 step later.

Is my UDF wrong or what is the case here?


The UDF is:

DEFINE_PROFILE(inlet_velocity, thread, position)
{
face_t f;
begin_f_loop(f,thread)
{
F_PROFILE(f, thread, position) = 5.85;
}
end_f_loop(f, thread)
}


I hook it by GUI next to the field "velocity magnitude".

Best regards
h0rst
h0rst is offline   Reply With Quote

Reply


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
how to put udf inlet velocity and udf outlet pressure in fluent raminostadi Fluent UDF and Scheme Programming 4 July 3, 2017 07:43
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
UDF for Inlet velocity Mijin Kim FLUENT 0 September 28, 2009 05:50
Urgent! Help on UDF to set inlet velocity Ray Hong FLUENT 4 December 30, 2005 13:32
UDF paraboloid velocity inlet Ronak Shah FLUENT 0 June 4, 2003 10:44


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