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

Reading the last value (converged one) from the file through UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2023, 09:24
Default Reading the last value (converged one) from the file through UDF
  #1
Zee
New Member
 
ZA
Join Date: Aug 2023
Posts: 7
Rep Power: 3
Zee is on a distinguished road
Dear All,

I need to develop a UDF to read converged values (temperature, velocity, etc) from the outlet of system1 and apply these values on the inlet of system2.

In ANSYS FLUENT, I have generated the report definitions of mass-weighted average temperature and velocity at the outlet of system1.

Is there any macro that can be used in UDF to read only the last value (converged) from the file saved through the report definitions?

Your guidance in this regard would be highly appreciated.

Best Regards,
Zee is offline   Reply With Quote

Old   December 15, 2023, 06:33
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
you may use macro to execute code whenever you want
Code:
DEFINE_ON_DEMAND (your_function_name)
for more information take a look at ansys fluent customization manual
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


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