Hello,
I’ve been reading the IsentropicNozzle function in your code (/PDSim/flow/flow_models.pyx, line 618).
I noticed that thermodynamics (e.g. Cp) are extracted using CoolProp, which provides real gas data. However, the subsequent calculations (e.g. k and rho) are based on ideal gas assumption.
This makes me wonder:
- How does this approach affect the accuracy of the results, particularly when the gas behavior deviates from ideal conditions?
- Is the enthalpy also calculated using CoolProp?
- Can the error introduced by this method be considered negligible in engineering design issues?
<style>
</style>
| P (Pa) |
T (K) |
rho (kg/m^3) |
|
R |
| |
|
p/(RT) |
CoolProp |
114.56 |
| 1.40E+06 |
305 |
4.01E+01 |
49.58344567 |
|
| 1.80E+06 |
320 |
4.91E+01 |
61.93591356 |
|
In my case study, I found that the density calculated using rho = p/(R*T) differs nearly 20% from that provided by CoolProp.
I would really appreciate your insights on these points. Thank you for your time.
Best regards.
Hello,
I’ve been reading the IsentropicNozzle function in your code (/PDSim/flow/flow_models.pyx, line 618).
I noticed that thermodynamics (e.g. Cp) are extracted using CoolProp, which provides real gas data. However, the subsequent calculations (e.g. k and rho) are based on ideal gas assumption.
This makes me wonder:
- How does this approach affect the accuracy of the results, particularly when the gas behavior deviates from ideal conditions?
- Is the enthalpy also calculated using CoolProp?
- Can the error introduced by this method be considered negligible in engineering design issues?
<style> </style>In my case study, I found that the density calculated using rho = p/(R*T) differs nearly 20% from that provided by CoolProp.
I would really appreciate your insights on these points. Thank you for your time.
Best regards.