Pressure drop of a two-phase fluid pipeline in simscape

조회 수: 10 (최근 30일)
忠宇
忠宇 2024년 6월 12일
댓글: 忠宇 2024년 6월 14일
When simulating the pressure drop of a two-phase fluid pipeline in simscape, the local resistance in simscape did not select different pressure drop correlations according to different states of the two-phase flow. As far as I know, two-phase fluids in different states can have different pressure drops, such as the viscosity correlations of Mac Adam and Dukler. How can I model the pressure drop of a two-phase pipe if I consider different empirical correlations.

채택된 답변

Yifeng Tang
Yifeng Tang 2024년 6월 14일
You can view the Simscape code of the Pipe (2P) block, save a copy, and modify it to use a custom correlation if you like.
Find the source code:
Locate the part for pressure drop calculation (R2024a):
And write your own equations!
There are two ways to use your own .ssc file. See this documentation page: https://www.mathworks.com/help/simscape/simscape-file-deployment.html

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by