Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
The purpose of Modelica.Fluid.Pipes.BaseClasses.WallFriction subpackage is to calculate the mass flow from pressure loss, or inversely. There are some redundant variables that aren't been used after defined.
It should be cleaner and easier to understand the code without them.
The purpose of Modelica.Fluid.Pipes.BaseClasses.WallFriction subpackage is to calculate the mass flow from pressure loss, or inversely. There are some redundant variables that aren't been used after defined.
It should be cleaner and easier to understand the code without them.