# MassFlowAverage temperature difference (swak4foam)

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 17, 2014, 09:06 MassFlowAverage temperature difference (swak4foam) #1 New Member   Vanja Join Date: Feb 2014 Posts: 1 Rep Power: 0 Dear Foamers. I'm a relatively new OF user and I need a little help. I'm using OF 2.2.2 and swak4foam 0.3.0. In my 2D heat exchanger case I want to calculate average temperature increase and pressure drop from inlet to outlet boundary. I use the principle described here: http://openfoamwiki.net/index.php/Co...sureDifference I've modified it to calculate temperature differences. However, this is area-weighted averaging. And I want to do a mass-flux-weighted averaging for my temperature increase, but in the same way as in the upper link. It should be based on this equation: Please, show me the direction. Thank you, Vanja

February 20, 2014, 17:43
#2
Assistant Moderator

Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
Quote:
 Originally Posted by vskuric Dear Foamers. I'm a relatively new OF user and I need a little help. I'm using OF 2.2.2 and swak4foam 0.3.0. In my 2D heat exchanger case I want to calculate average temperature increase and pressure drop from inlet to outlet boundary. I use the principle described here: http://openfoamwiki.net/index.php/Co...sureDifference I've modified it to calculate temperature differences. However, this is area-weighted averaging. And I want to do a mass-flux-weighted averaging for my temperature increase, but in the same way as in the upper link. It should be based on this equation: Please, show me the direction. Thank you, Vanja
Mass-flux weight would be (check the definition of phi. it has been explained multiple times before, here and on the Wiki) something like "sum(T*phi)/sum(phi)". Whether you want the upper sum in the expression or the accumulation is a matter of taste.

Would be a nice candidate for http://openfoamwiki.net/index.php/Co...Usage_examples
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

 Tags mass flow average, swak4foam, temperature difference

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post polo OpenFOAM Post-Processing 7 October 1, 2013 10:22 Dorasemon FLUENT 0 September 6, 2013 22:21 norger FLUENT 5 January 17, 2013 22:29 justinF FLUENT 2 July 11, 2007 22:55 Astrid Main CFD Forum 2 January 31, 2001 03:34

All times are GMT -4. The time now is 03:07.