What is the best way to heat up a thermal liquid ?
3 次查看(过去 30 天)
显示 更早的评论
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
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1711311/image.png)
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!
采纳的回答
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
. 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.
![Q = mdot * Cp * (Tout - Tin)](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1711321/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1711326/image.png)
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1711331/image.png)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!