You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by mwetter on 6 Feb 2015 02:28 UTC
In v3.2.1+build.3-rc1/Modelica/Fluid/Pipes.mo
the function Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow
contains the input argument crossArea with no default value.
This is not present in 3.2.1 build 2.
Comment by rfranke on 9 Feb 2015 04:51 UTC
This was introduced to fix #1601 -- the pressure loss models were only correct for circular pipes, even though non-circular pipes can be configured. I'll investigate if the backwards compatibility can be improved.
Comment by rfranke on 9 Feb 2015 07:34 UTC
It is generally justified to break backwards compatibility if an error is corrected. Nevertheless we should attempt to minimize newly introduced problems of course.
fad2b11 adds default values to the new crossArea inputs of Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow and Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.massFlowRate_dp
These are the two basic functions without staticHead that could be fixed easily. They include the function pressureLoss_m_flow that you are referring to.
Reported by mwetter on 6 Feb 2015 02:28 UTC
In
v3.2.1+build.3-rc1/Modelica/Fluid/Pipes.mo
the function
Modelica.Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow
contains the input argument
crossArea
with no default value.This is not present in 3.2.1 build 2.
This addition is not backward compatible.
Here is the diff:
Migrated-From: https://trac.modelica.org/Modelica/ticket/1656
The text was updated successfully, but these errors were encountered: