CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

MassFlowAverage temperature difference (swak4foam)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 17, 2014, 09:06
Default MassFlowAverage temperature difference (swak4foam)
  #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: 3,889
Rep Power: 38
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
__________________
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference in calculating div(U*U) swak4FOAM vs. OpenFOAM codedFunctionObject polo OpenFOAM Post-Processing 7 October 1, 2013 11:22
How to compare temperature difference at same position between two cases? Dorasemon FLUENT 0 September 6, 2013 23:21
Shadow Wall and temperature norger FLUENT 5 January 17, 2013 22:29
Heat Exchanger Fluids Lack Temperature Difference justinF FLUENT 2 July 11, 2007 23:55
Temperature in vessel during throttling process Astrid Main CFD Forum 2 January 31, 2001 03:34


All times are GMT -4. The time now is 05:31.