CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] MassFlowAverage temperature difference

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

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2014, 09:06
Default MassFlowAverage temperature difference
  #1
New Member
 
Vanja
Join Date: Feb 2014
Posts: 1
Rep Power: 0
vskuric is on a distinguished road
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
vskuric is offline   Reply With Quote

Old   February 20, 2014, 17:43
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vskuric View Post
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
sprinter likes this.
__________________
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
gschaider is offline   Reply With Quote

Reply

Tags
mass flow average, swak4foam, temperature difference

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Shadow Wall and temperature norger FLUENT 10 September 28, 2019 12:43
How to compare temperature difference at same position between two cases? Dorasemon FLUENT 3 December 19, 2018 06:54
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 07:51
NEED U HELP:how to get the difference in temperature between two wall boundaries? oldfreshman Fluent UDF and Scheme Programming 4 August 13, 2010 00:27
Heat Exchanger Fluids Lack Temperature Difference justinF FLUENT 2 July 11, 2007 23:55


All times are GMT -4. The time now is 04:33.