Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 12, 2023
1 parent 2af5c18 commit cfe437c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions Modelica/Fluid/Dissipation.mo
Expand Up @@ -5701,8 +5701,7 @@ This record is used as <strong>input record</strong> for the pressure loss funct
output SI.Pressure DP "Two phase pressure loss";

protected
type TYP =
Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss;
type TYP = Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss;

Real MIN=Modelica.Constants.eps;

Expand Down Expand Up @@ -10785,8 +10784,8 @@ The heterogeneous approaches are analytically derived by minimising the momentum
input Real Delta "Relative roughness";
input Real lambda2 "Modified friction coefficient (= independent variable)";
output SI.ReynoldsNumber Re "Interpolated Reynolds number in transition region";
// Point x1=lg(lambda2(Re1)) with derivative yd1=1 at y1=lg(Re1)
protected
// Point x1=lg(lambda2(Re1)) with derivative yd1=1 at y1=lg(Re1)
Real x1=Math.log10(64*Re1) "Lower abscissa value";
Real y1=Math.log10(Re1) "Lower ordinate value";
Real yd1=1 "Left boundary slope";
Expand Down Expand Up @@ -10842,8 +10841,8 @@ for a detailed explanation.
input SI.ReynoldsNumber Re2 "Boundary Reynolds number for turbulent regime";
input Real Delta "Relative roughness";
output Real lambda2 "Interpolated modified friction coefficient in transition regime";
// Point x1=lg(Re1) with derivative yd1=1 at y1=lg(lambda2(Re1))
protected
// Point x1=lg(Re1) with derivative yd1=1 at y1=lg(lambda2(Re1))
Real x1=Math.log10(Re1) "Lower abscissa value";
Real y1=Math.log10(64*Re1) "Lower ordinate value";
Real yd1=1 "Left boundary slope";
Expand Down
3 changes: 1 addition & 2 deletions Modelica/Mechanics/MultiBody/Visualizers/Rectangle.mo
Expand Up @@ -38,8 +38,7 @@ protected
final r_0=frame_a.r_0,
final nu=nu,
final nv=nv,
redeclare function surfaceCharacteristic =
Advanced.SurfaceCharacteristics.rectangle (
redeclare function surfaceCharacteristic = Advanced.SurfaceCharacteristics.rectangle (
lu=length_u, lv=length_v)) if world.enableAnimation and animation
annotation (Placement(transformation(extent={{-20,-10},{0,10}})));
Modelica.Mechanics.MultiBody.Forces.Internal.ZeroForceAndTorque zeroForceAndTorque annotation (Placement(transformation(extent={{-80,-10},{-60,10}})));
Expand Down

0 comments on commit cfe437c

Please sign in to comment.