Filter löschen
Filter löschen

Simscape Two phase domain - concepts and logic

3 Ansichten (letzte 30 Tage)
Muhammad Zain Haider Ali
Muhammad Zain Haider Ali am 23 Sep. 2015
Beantwortet: Yifeng Tang am 22 Jun. 2022
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.

Antworten (1)

Yifeng Tang
Yifeng Tang am 22 Jun. 2022
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.

Kategorien

Mehr zu Two-Phase Fluid Library finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by