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

Energy source term, modeling a very simplified heat exchanger

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2014, 11:09
Question Energy source term, modeling a very simplified heat exchanger
  #1
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
FulePeter is on a distinguished road
Dear forumers!

My problem specification is as follows:
I want to have a closed duct, where in the middle there is a zone, where the fluid flowing through is cooled down, like it would in a heat exchanger but I am not interested in efficiency, pressure drop, coolant temperatures, etc, the only thing important is the inflow-outflow temperature difference, more precisely that the outflow temperature to be around a specific value, but the inflow temperature can vary (but it is always higher than the specified outflow), so that's why I wrote that it is like a very simplified case of a heat exchanger.

My first guess was to write an UDF to get the inflow average temperature and based on the temperature difference, zone size (and possibly others, haven't figured out yet) set a source term for the energy equation. The problem is that I am not very familiar with heat transfer problems so I am not even sure that this problem could be solved this way.

So my first question is that is it possible to solve this problem via UDF (or other methods)?
The second is that if it is possible - even though I know that it is a very generalized problem yet - than could you give me some guidelines or tutorials about similar problems?
Every hint and help is much appreciated!

Thanks in advance!

Peter
FulePeter is offline   Reply With Quote

Old   October 31, 2014, 04:13
Default
  #2
Sun
Senior Member
 
Sun's Avatar
 
Join Date: Nov 2010
Posts: 103
Rep Power: 16
Sun is on a distinguished road
Quote:
Originally Posted by FulePeter View Post
My first guess was to write an UDF to get the inflow average temperature and based on the temperature difference, zone size (and possibly others, haven't figured out yet) set a source term for the energy equation.
Peter
This is indeed possible. But let me simplify it even more, let's say you want to add a source/sink term in your energy eq. Then, these could be a good starting points:
here and here

I am also trying to understand the problem. So you've got this duct and somewhere in the duct there is a zone acting like a sink for the energy equation right? if you are only interested in the temperature difference between the input and output of this zone, why don't you limit the domain to only this region and change the ave temperature at the boundary? Not sure though just an idea...! can you add a sketch of the problem?

cheers!
Sun is offline   Reply With Quote

Old   October 31, 2014, 05:57
Default
  #3
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
FulePeter is on a distinguished road
Hi Sun!

Thank you for your reply!
Reading again my question your idea to limit the geometry seems trivial, but it's because my description was a bit misleading and not complete enough, sorry about that!
So yeah, the temp difference is important, but that is just the beginning of a bigger project. Later this duct should be a part of a bigger geometry and it would connect two systems. From inlet side comes a higher temperature air from a pump system, and whatever temp it is I would like to cool it down to around a specified value before entering to the other pump system.
But for now I would like to know if it is possible to create such a simplified heat exchanger-like sink term by just modeling the duct first in 2D (sketch attached, but maybe now it is clear without it too), then it should be implemented in 3D, then attached to the whole system.

Thanks again for your help!

Cheers!
Attached Images
File Type: png sketch.png (6.9 KB, 20 views)
FulePeter is offline   Reply With Quote

Old   October 31, 2014, 10:27
Default
  #4
Sun
Senior Member
 
Sun's Avatar
 
Join Date: Nov 2010
Posts: 103
Rep Power: 16
Sun is on a distinguished road
Thanks for the sketch and explanation. Now it is quite clear.

Quote:
Originally Posted by FulePeter View Post
But for now I would like to know if it is possible to create such a simplified heat exchanger-like sink term by just modeling the duct first in 2D (sketch attached, but maybe now it is clear without it too)
The answer is affirmative! as a matter of fact I think the approach you are taking (simple 2D to 3D) is pretty reasonable. Wonder if you've written the udf or maybe formulate the sink term?
cheers!
Sun is offline   Reply With Quote

Old   October 31, 2014, 11:03
Default
  #5
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
FulePeter is on a distinguished road
Quote:
Wonder if you've written the udf or maybe formulate the sink term?
No, I haven't done any programming and formulation yet as I have to dig deeper into the field of heat transfer and working with the energy equation, but I wanted to know first if it is feasible and wanted to have some guidelines which you have given, so thank you again for your help! I'll check back if some progress is made or have other questions

Cheers!
FulePeter is offline   Reply With Quote

Reply

Tags
fluent - udf, heat exchanger model


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
Conjugate Heat Transfer in Two-Phase Flow Parisa_Khiabani OpenFOAM Programming & Development 13 June 26, 2024 04:36
Source Term due to evaporation in energy transport equation styleworker OpenFOAM Programming & Development 3 September 7, 2022 04:09
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 16:14
Energy source modeling shahpar73 CFX 2 September 23, 2009 08:36
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 14:22


All times are GMT -4. The time now is 12:06.