|
[Sponsors] |
Reading the last value (converged one) from the file through UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 13, 2023, 09:24 |
Reading the last value (converged one) from the file through UDF
|
#1 |
New Member
ZA
Join Date: Aug 2023
Posts: 7
Rep Power: 3 |
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, |
|
December 15, 2023, 06:33 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you may use macro to execute code whenever you want
Code:
DEFINE_ON_DEMAND (your_function_name)
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
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 |