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
The default value for the switch from_dp in PartialGenericPipeFlow, which determines calculation direction for pressure drop, or respectively mass flow calculation, is from_dp = momentumDynamics >= Types.Dynamics.SteadyStateInitial
In case of momentumDynamics == Types.Dynamics.SteadyStateInitial
the calculation direction m_flow = f(dp) is chosen, although in all other cases with dynamic momentum balance the direction dp = f(m_flow) is used. This causes additional nonlinear systems (simulation and initialization) as it can be observed in the tester Modelica.Fluid.Examples.BranchingDynamicPipes.
These nonlinear systems in the tester disappear and simulation speed increases if from_dp = False is set manually.
By modifying the default value from_dp = momentumDynamics > Types.Dynamics.SteadyStateInitial
the calculation direction would be consistent with the other cases with dynamic momentum balance and the more efficient calculation setup is activated without any changes by the user.
The text was updated successfully, but these errors were encountered:
The default value for the switch from_dp in PartialGenericPipeFlow, which determines calculation direction for pressure drop, or respectively mass flow calculation, is
from_dp = momentumDynamics >= Types.Dynamics.SteadyStateInitial
In case of
momentumDynamics == Types.Dynamics.SteadyStateInitial
the calculation direction m_flow = f(dp) is chosen, although in all other cases with dynamic momentum balance the direction dp = f(m_flow) is used. This causes additional nonlinear systems (simulation and initialization) as it can be observed in the tester Modelica.Fluid.Examples.BranchingDynamicPipes.
These nonlinear systems in the tester disappear and simulation speed increases if
from_dp = False
is set manually.By modifying the default value
from_dp = momentumDynamics > Types.Dynamics.SteadyStateInitial
the calculation direction would be consistent with the other cases with dynamic momentum balance and the more efficient calculation setup is activated without any changes by the user.
The text was updated successfully, but these errors were encountered: