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

Can I use UDF to input a parameter which is related to the result of last step?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2016, 22:17
Question Can I use UDF to input a parameter which is related to the result of last step?
  #1
New Member
 
Yi Chen
Join Date: Dec 2012
Posts: 1
Rep Power: 0
bagecy is on a distinguished road
Hello,

I am calculating the hydraulic characteristics of a pump, which gives the inlet pressure and mass flow rate( of gas and water).
However, I can only set mass flow inlet and pressure outlet in FLUENT. So I assumed the pressure at its outlet, and calculated its inlet pressure. But in this way, it take too long adjusting the pressure outlet in FLUENT to make the inlet pressure close to the given value.

Since I have never used UDF before, I am wondering if I can use UDF to to automatically adjust the outlet pressure by referring to the inlet pressure calculated in last step, like outer iteration.

Any suggestion is appreciated.
Thanks a lot!

Paul
bagecy 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
Previous time step variable to be used in UDF CFD-user Fluent UDF and Scheme Programming 18 June 23, 2022 02:17
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
calling result of a UDF into current time step Komon Fluent UDF and Scheme Programming 1 April 1, 2012 20:53
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


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