- Open the block called 'thermal liquid settings'
- Go to 'Density'
- Set 'Density parameterization to 'Reference Density'
- Set 'Constant isobaric thermal expansion coefficient' to zero
[Simscape:thermal liquid] Pressure increasing without reason...
14 views (last 30 days)
Show older comments
Hello,
I am trying simscape and I am having an issue on a rather simple system. I am using the library "thermal fluid" to model a system of a pressure source + pipe with the pipe exchanging heat to another body (thermal mass).
I would like in the end to see the temperature of the body and the temperature of the fluid (water) converging toward the same value as it should...
However, when I am simulating, I can see the pressure of my fluid (scope absolute pressure) rising and rising again until it crashes around 5e7 Pa. I cannot understand how the pressure is increasing that much... The pipe provide the exact pressure loss to compensate the pressure source (as the scopes show) and the temperature is evolving too slowly to cause such increase of pressure. I even get the problem if my body is at the same temperature of my fluid initially.
I attached the file for anyone willing to help me on this matter. Maybe I overlooked something basic.
Best,
Sylvain Mathonnière

1 Comment
Jens Lünenstraß
on 20 Dec 2022
Edited: Jens Lünenstraß
on 20 Dec 2022
Hey Sylvain,
i'm experiencing the same problem. Just started with Simscape, building up a simple system and the pressure is always crossing the boundaries. Did you found a solution to this problem?
Best,
Jens
Edit: I did find a solution to my problem:
Simulate!
This worked for me. This way you ignore the influence of the temperature on the density, but as the density is varying only between 958kg/m^3 and 999kg/m^3 between 0 °C and 100 °C, you shouldnt't get into too much trouble.
Answers (1)
See Also
Categories
Find more on Elements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!