Simscape Two phase domain - concepts and logic

1 次查看(过去 30 天)
A two phase domain has been included in the MATLAB 2015b release. Although, the source code for different blocks in 2P domain are visible, one is unable to understand the logic and concepts behind this type of modeling For e.g in the two_port_steady.ssc, step functions are used to smooth the mass flow rate. What does this mean? Can anyone recommend a theoretical source or literature to understand these modeling concepts? It want to further extend the library with self-built components and the logic behind these is necessary to understand and model the components.

回答(1 个)

Yifeng Tang
Yifeng Tang 2022-6-22
The general principles of the two-phase domain are conservation of mass, momentum, and energy, just like the gas, moist-air, and thermal liquid domains. The key equations are documented in the Help of each block. The fluid property table look-up in two-phase is more complicated because of the phase change.
These domains also share a smoothed upwind scheme at the nodes. The step and smooth functions you noticed are to implement this numerical scheme.

类别

Help CenterFile Exchange 中查找有关 Two-Phase Fluid Library 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by