|
[Sponsors] |
Volumetric Heat Loss UDF - Surface Area and Surface Heat Flux |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Brandon Hager
Join Date: Nov 2022
Posts: 1
Rep Power: 0 ![]() |
Hello,
I am trying to write a UDF in Fluent that will first calculate the surface area of any given wall, then obtain the surface heat flux through that wall. I will then need to supply those values to a DEFINE_SOURCE UDF that will be used to calculate volumetric heat loss through the corresponding cell zone. What macros will I need to use to obtain the surface heat flux from the wall, store the surface area and heat flux in a specified memory location, and then pass the surface area and heat flux values to the DEFINE_SOURCE UDF? Any assistance would be greatly appreciated. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 ![]() ![]() |
you may take a look here as a start
"Segmentation fault" when using UDFs in Fluent I'm not sure if there is macro to get heat flux through the wall probably, you would need to write it by your own I recommend you to read ansys fluent customization manual, here you can find some examples there is a macro DEFINE_HEAT_FLUX which is not what you need, however, could be useful as a basis
__________________
best regards ****************************** press LIKE if this message was helpful |
|
![]() |
![]() |
![]() |
Tags |
heat flux, storedvariables, udf |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to calculate area of particular surface through UDF? | Silence | Fluent UDF and Scheme Programming | 10 | May 25, 2021 03:18 |
solver crashing | hrishikeshsivanandan | OpenFOAM | 7 | March 6, 2021 01:18 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 05:15 |
Convective heat loss out of a solar receiver construction | Lionel Trébuchon | CFX | 10 | April 6, 2014 20:25 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |