What is the best way to heat up a thermal liquid ?

조회 수: 1 (최근 30일)
Karim Darwich
Karim Darwich 2024년 6월 6일
답변: Andres Adam 2024년 6월 7일
Hello everyone,
In your opininon what is the best way to heat up a thermal liquid knowing the heat flow (in W). I am currently using a pipe with a controlled heat flow source but the fluid is not heating up correctly. Thank you in advance.
  댓글 수: 6
Andres Adam
Andres Adam 2024년 6월 7일
편집: Andres Adam 2024년 6월 7일
Got it. A couple of notes first:
  • You do not need two mass flow rate sources. One mass flow rate will ensure the specified mass flow through its line, and there is only one flow entry and one flow exit, so the second source is redundant and discrepancies will cause errors.
  • You have an algebraic loop in your system. The temperature at the pipe exit will depend on the heat flux added, but the heat flux added depends on the pipe exit temperature. This can make the simulation unstable or slower. You can solve this by simply adding a unit delay in the sensor reading or the specification of heat flux. This will also help model real-world delays/latencies in your heating process.
I got your model and compared the Q added to mass flow * Cp * (Tin-Tout). The result is very close, but it is not exact - and it should not be! is valid for stationary processes, neglecting conductive heat transfer and viscous dissipation.
Your pipe is 2km long, that means there can be considerable heat dissipation, non-stationary effects, and conductive heat transfer. The Q you are specifiying with the "Controlled heat flow source" is the sum of conductive and convective heat transfer.
I will write an answer with a plot and another suggestion. Let me know if you have any more questions!
Karim Darwich
Karim Darwich 2024년 6월 7일
Thank you very much, I really appreciate your help Andres. Till now I have no further questions.
Have a nice day!

댓글을 달려면 로그인하십시오.

채택된 답변

Andres Adam
Andres Adam 2024년 6월 7일
Using a "Heat flow rate source" block is usually my go-to for adding heat to a Pipe (TL) and many other fluid blocks with a thermal port.
You mentioned the result was suspicious because the heat added to the pipe does not match the equation Q = mdot * Cp * (Tout - Tin). While the right-hand side is a term for heat transfer, it is not the only factor for fluid energy change between inlet and outlet. The documentation for Pipe (TL) shows that term, adjusted by a factor dependent on the Nusselt number, plus non-stationary effects and conductive heat transfer. The heat flow specified by theat flow rate source will be the combination of conductive and convective heat transfers.
Here is the comparison from your model. The difference is close to zero compared to the value of Q, but not exactly zero. See that the yellow line is slightly above zero while the system is almost stationary. That should be the combined effects of conductive heat transfer and heating through viscous effects.
However, directly connecting a heat flow rate source to the thermal port of a pipe may not be the most realistic solution. Between the pipe and the heat flow blocks, Simscape will put whatever temperature value can achieve the specified flow rate - no matter how unrealistic. In real-world applications, we often apply heat to the pipe from the outside and the pipe walls have thermal inertia. That's why we often add a "Thermal mass" block between the pipe and the heat flow source, like in this example:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Elements에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by