Nonconservation of energy when using system-level heat exchanger

Hello, when I try the heat exchanger model, I find something weird.
For fluid 1 (left), G(h_in-h_out)=125249.28kJ/s, however, for fluid 2 (right), G(h_out-h_in)=21143.1kJ/s.
I can not figure out where the problem is. If anyone can help me, thank a lot.

 採用された回答

Yifeng Tang
Yifeng Tang 2022 年 12 月 22 日

0 投票

I downloaded the model and noticed the flowrate on the right is very large. As you are still using the default port size (0.01m^2) for all the blocks, the local velocity can be very large (~50m/s), which means significant amount of enthalpy. For example, see line 315 of the source code of the reservoir block. Changing the port size to a much more reasonable value, say 0.5m^2, and you'll see the G*dh will again be (almost) conserved.

1 件のコメント

轩
轩 2022 年 12 月 30 日
That is a very clear answer, thank you !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Two-Phase Fluid Library についてさらに検索

製品

リリース

R2022b

質問済み:

轩
2022 年 11 月 24 日

コメント済み:

轩
2022 年 12 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by