Simscape Two-phase Fluid Constant Pressure Specific Heat

3 views (last 30 days)
In the two_phase_fluid.ssc domain file (located in: C:\Program Files\MATLAB\R2020a\toolbox\physmod\simscape\library\m\+foundation\+two_phase_fluid) does not include the fluid specific heat as a fluid property. Therefore, the tablelookup() function can not be used to find the fluid specific heat. The webpage: https://au.mathworks.com/help/physmod/simscape/lang/two-phase-fluid-domain.html shows that it is available but the domain file does not. The nu_TLU array in the two_phase_fluid.ssc file is not the specific heat but rather the kinematic viscosity as shown below.
nu_TLU = {[
], 'mm^2/s'}; % Kinematic viscosity table

Accepted Answer

Sarah McElman
Sarah McElman on 18 Nov 2020
Edited: Sarah McElman on 18 Nov 2020
Hello,
You are correct that nu_TLU represents the kinematic viscosity, and not the specific heat, in the two-phase fluid property file. Our documentation team has been made aware of this.
In the two-phase fluid domain, users must supply the fluid specific heat for both library and custom blocks. You can calculate it based on the Prandtl number in your system:
,
where is the specific heat, μ is the dynamic viscosity, and k is the thermal conductivity. This should be defined for both the liquid and the vapor of the two-phase fluid.
Best,
Sarah
  3 Comments
Mario Augl-Buchberger
Mario Augl-Buchberger on 24 Nov 2021
Hallo,
and how do we get the isochoric heat capacity cv????
Please
Rohan Kokate
Rohan Kokate on 7 May 2022
Hello Sarah,
Thanks for the suggesting a way to calculate the specific heat. However, when I tried implementing it in my code, it causes discontinuites as the phase changes (probably because of the difference in the vapor and liquid viscosities). Is there a way you can suggest to avoid the discontinuities? I am using the specific heat for calculating the NTU of a two-phase heat exchanger.
Thanks in advance.
Regards,
Rohan Kokate.

Sign in to comment.

More Answers (0)

Categories

Find more on Two-Phase Fluid Library in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!