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

Setting velocity UDF at outlets

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2021, 08:43
Default Setting velocity UDF at outlets
  #1
New Member
 
sofia
Join Date: Jul 2021
Posts: 5
Rep Power: 4
dsofi32 is on a distinguished road
I have a coronary artery and I am trying to implement a UDF of pressure in the inlet (pressure-inlet type) and a velocity profile in the outlets (mass-flow-outlet type). I understand that velocity and mass flow rate are different things, but the profile shape is the same (just different magnitudes).


This approach is inspired by Fig. 4 of an article (https://doi.org/10.1080/10255842.2014.921682).


I can implement the inlet pressure, but I cannot define the outlet velocity... the closest is mass flow rate which I selected.


When I run the calculation, Fluent returns the following error:


Error: / (divide): invalid argument [1]: wrong type [not a number] Error Object: inf.



I have tried doing the opposite (inlet velocity and outlet pressures) and there are no errors...



Any help? Thanks in advance
dsofi32 is offline   Reply With Quote

Old   July 15, 2021, 13:18
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Not sure what your error is. Check your UDF. But you can specify the velocity if you use a velocity inlet type BC at an outlet. The BC type may be named an inlet but it is a fixed velocity constraint.
LuckyTran is offline   Reply With Quote

Reply

Tags
boundaries condition, error, inlet, udf, velocity


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
serial udf to parallel udf radioss Fluent UDF and Scheme Programming 10 January 19, 2019 08:56
UDF for inlet velocity alongwith UDF for properties akshayy224 FLUENT 0 February 1, 2018 09:17
3-D parabolic velocity Inlet - Steady state - UDF Turbulent Flow mohibanwar Fluent UDF and Scheme Programming 10 May 18, 2015 10:34
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 04:30
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58


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