Dynamic calculating of kinematic viscosity
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello, I'm working a lot with the hydraulic componets from the simscape library and I want my models to be able to calculate the changes of the kinematic viscosity during the simulation. I'm coming from AMESim and my idea is to build something similar. I would like to supply tables to my model, where are measured values available (density, kinematic viscosity as a function of the local pressure). These tables should be accessable for every single component that calculates its functions with concerning viscosity and density of the local pressure. Is this possible? Can I change the calculation inside the hydraulic domain? Is the source code of the hydraulic domain accessbale for me?
Regards, Philipp
댓글 수: 0
답변 (1개)
Yifeng Tang
2022년 8월 19일
The source code of all Simscape foundation library blocks are available, including the hydraulic domain. I can verify back to the 2018b version but not sure about earlier ones. The parameter dialog box has a link to the source code for each block (.ssc file).
To make certain fluid properties as a function of pressure, you may define property lookup tables in the domain definition, and use the "tablelookup" function whenever appropriate to get the local fluid property. There are plenty of such examples in the source code of the thermal liquid (TL) domain.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Upgrading Hydraulic Models to Use Isothermal Liquid Blocks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!