Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Bend Bend Input for bend
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Geometry Geometry Input for several geometries of internal flow
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Orifice Orifice Input for orifice
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.PressureLossInput PressureLossInput Input for pressure loss calculation
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.StraightPipe StraightPipe Input for straight pipe
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Tjunction Tjunction Input for T-junction
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Diffuser Diffuser Input for diffuser
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.EdgedBend EdgedBend Input for bend
Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.SuddenChange SuddenChange Input for sudden change of diameter


Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Bend Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Bend

Input for bend

Information

Extends from EdgedBend (Input for bend).

Parameters

TypeNameDefaultDescription
Bend
Diameterd_hyd0.1Hydraulic diameter [m]
Angledelta90*PI/180Angle of turning [rad]
LengthK0Roughness (absolute average height of surface asperities) [m]
RadiusR_00.5*d_hydCurvature radius [m]

Modelica definition

record Bend "Input for bend"
  extends EdgedBend;
  SI.Radius R_0=0.5*d_hyd "Curvature radius";

end Bend;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Geometry Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Geometry

Input for several geometries of internal flow

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Channel
GeometryOfInternalFlowgeometryModelica.Fluid.Dissipation.U...Choice of geometry for internal flow
LengthK0Roughness (average height of surface asperities) [m]
LengthL1Length [m]
Annular cross sectional area
Diameterd_annd_cirSmall diameter [m]
DiameterD_ann2*d_annLarge diameter [m]
Circular cross sectional area
Diameterd_cir0.1Internal diameter [m]
Elliptical cross sectional area
Lengtha_ell(3/4)*d_cirHalf length of long base line [m]
Lengthb_ell0.5*a_ellHalf length of short base line [m]
Rectangular cross sectional area
Lengtha_recd_cirHorizontal length [m]
Lengthb_reca_recVertical length [m]
Lengtha_trid_cir*(1 + 2^0.5)Length of base line [m]
Triangle cross sectional area
Lengthh_tri0.5*a_triHeigth to top angle perpendicular to base line [m]
Anglebeta90*PI/180Top angle [rad]

Modelica definition

record Geometry "Input for several geometries of internal flow"
  extends Modelica.Icons.Record;

  Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow
    geometry=
      Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular 
    "Choice of geometry for internal flow";

  SI.Length K=0 "Roughness (average height of surface asperities)";
  SI.Length L=1 "Length";

  //geometry variables
  //annular(1)
  SI.Diameter d_ann=d_cir "Small diameter";
  SI.Diameter D_ann=2*d_ann "Large diameter";
  //circular(2)
  SI.Diameter d_cir=0.1 "Internal diameter";
  //elliptical(3)
  SI.Length a_ell=(3/4)*d_cir "Half length of long base line";
  SI.Length b_ell=0.5*a_ell "Half length of short base line";
  //rectangular(4)
  SI.Length a_rec=d_cir "Horizontal length";
  SI.Length b_rec=a_rec "Vertical length";
  //triangular(5)
  SI.Length a_tri=d_cir*(1 + 2^0.5) "Length of base line";
  SI.Length h_tri=0.5*a_tri "Heigth to top angle perpendicular to base line";
  SI.Angle beta=90*PI/180 "Top angle";
end Geometry;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Orifice Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Orifice

Input for orifice

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Orifice
AreaA_00.1*A_1Cross sectional area of vena contraction [m2]
LengthC_00.1*C_1Perimeter of vena contraction [m]
AreaA_1PI*0.01^2/4Large cross sectional area of orifice [m2]
LengthC_1PI*0.01Large perimeter of orifice [m]
LengthL1e-3Length of vena contraction [m]

Modelica definition

record Orifice "Input for orifice"

  extends Modelica.Icons.Record;

  SI.Area A_0=0.1*A_1 "Cross sectional area of vena contraction";
  SI.Length C_0=0.1*C_1 "Perimeter of vena contraction";
  SI.Area A_1=PI*0.01^2/4 "Large cross sectional area of orifice";
  SI.Length C_1=PI*0.01 "Large perimeter of orifice";
  SI.Length L=1e-3 "Length of vena contraction";
end Orifice;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.PressureLossInput Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.PressureLossInput

Input for pressure loss calculation

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Input
PressureLossTargettargetDissipation.Utilities.Types....Target variable of calculation
Pressuredp0Pressure loss [Pa]
MassFlowRatem_flow0Mass flow rate [kg/s]

Modelica definition

record PressureLossInput "Input for pressure loss calculation"
  extends Modelica.Icons.Record;

  //target variables
  Modelica.Fluid.Dissipation.Utilities.Types.PressureLossTarget target=Dissipation.Utilities.Types.PressureLossTarget.PressureLoss 
    "Target variable of calculation";

  SI.Pressure dp=0 "Pressure loss";
  SI.MassFlowRate m_flow=0 "Mass flow rate";

end PressureLossInput;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.StraightPipe Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.StraightPipe

Input for straight pipe

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Straight pipe
Diameterd_hyd0.1Hydraulic diameter [m]
LengthL1Length [m]

Modelica definition

record StraightPipe "Input for straight pipe"

  extends Modelica.Icons.Record;

  SI.Diameter d_hyd=0.1 "Hydraulic diameter";
  SI.Length L=1 "Length";
end StraightPipe;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Tjunction Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Tjunction

Input for T-junction

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
T-junction
Booleanunited_converging_crossectiontruetrue == A_cross_total = 2*A_cross_branch | false == A_cross_total > 2*A_cross_branch
Booleanvelocity_reference_branchestruetrue == pressure loss coefficents w.r.t. velocity in each passage | false == w.r.t. velocity in total passage
Integeralpha90Angle of branching
Diameterd_hyd[3]ones(3)*0.1Hydraulic diameter of passages [side,straight,total] [m]
Restrictions
MassFlowRatem_flow_min1e-3Restriction for smoothing at reverse fluid flow [kg/s]
Velocityv_max2e2Restriction for maximum fluid flow velocity [m/s]
Realzeta_TOT_max1e3Restriction for maximum value of pressure loss coefficient

Modelica definition

record Tjunction "Input for T-junction"
  extends Modelica.Icons.Record;

  //T-junction variables
  Boolean united_converging_crossection=true 
    "true == A_cross_total = 2*A_cross_branch | false == A_cross_total > 2*A_cross_branch";
  Boolean velocity_reference_branches=true 
    "true == pressure loss coefficents w.r.t. velocity in each passage | false == w.r.t. velocity in total passage";

  Integer alpha=90 "Angle of branching";

  SI.Diameter d_hyd[3]=ones(3)*0.1 
    "Hydraulic diameter of passages [side,straight,total]";

  //restrictions
  SI.MassFlowRate m_flow_min=1e-3 
    "Restriction for smoothing at reverse fluid flow";
  SI.Velocity v_max=2e2 "Restriction for maximum fluid flow velocity";
  Real zeta_TOT_max=1e3 
    "Restriction for maximum value of pressure loss coefficient";
end Tjunction;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Diffuser Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.Diffuser

Input for diffuser

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Diffuser
AnglealphaPI*45/180Diffuser diverging angle [rad]
AreaA_1PI*0.01^2/4Small constant cross sectional area before diffuser section [m2]
AreaA_22*A_1Large constant cross sectional area after diffuser section [m2]
LengthC_1PI*0.01Small perimeter before diffuser section [m]
LengthC_22*C_1Large perimeter after diffuser section [m]
LengthL_10.1Length of straight pipe before diffuser section [m]
LengthL_2L_1Length of straight pipe after diffuser section [m]
LengthL_dL_1Lenght of diffuser section (parallel to bulk fluid flow) [m]
Numerical aspects
Pressuredp_small1Linearisation for a pressure loss smaller then dp_small [Pa]
Realzeta_TOT_min1e-3Minimal pressure loss coefficient for infinite Reynolds number
Realzeta_TOT_max1e8Maximum pressure loss coefficient for Reynolds number approaching zero

Modelica definition

record Diffuser "Input for diffuser"
  extends Modelica.Icons.Record;

  SI.Angle alpha=PI*45/180 "Diffuser diverging angle";

  SI.Area A_1=PI*0.01^2/4 
    "Small constant cross sectional area before diffuser section";
  SI.Area A_2=2*A_1 
    "Large constant cross sectional area after diffuser section";
  SI.Length C_1=PI*0.01 "Small perimeter before diffuser section";
  SI.Length C_2=2*C_1 "Large perimeter after diffuser section";
  SI.Length L_1=0.1 "Length of straight pipe before diffuser section";
  SI.Length L_2=L_1 "Length of straight pipe after diffuser section";
  SI.Length L_d=L_1 "Lenght of diffuser section (parallel to bulk fluid flow)";

  //numerical aspects
  SI.Pressure dp_small=1 
    "Linearisation for a pressure loss smaller then dp_small";
  Real zeta_TOT_min=1e-3 
    "Minimal pressure loss coefficient for infinite Reynolds number";
  Real zeta_TOT_max=1e8 
    "Maximum pressure loss coefficient for Reynolds number approaching zero";
end Diffuser;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.EdgedBend Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.EdgedBend

Input for bend

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Bend
Diameterd_hyd0.1Hydraulic diameter [m]
Angledelta90*PI/180Angle of turning [rad]
LengthK0Roughness (absolute average height of surface asperities) [m]

Modelica definition

record EdgedBend "Input for bend"
  extends Modelica.Icons.Record;

  SI.Diameter d_hyd(min=Modelica.Constants.eps) = 0.1 "Hydraulic diameter";
  SI.Angle delta=90*PI/180 "Angle of turning";
  SI.Length K=0 "Roughness (absolute average height of surface asperities)";

end EdgedBend;

Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.SuddenChange Modelica.Fluid.Dissipation.Utilities.Records.PressureLoss.SuddenChange

Input for sudden change of diameter

Information

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
Orifice
AreaA_1PI*0.01^2/4Small cross sectional area of orifice [m2]
AreaA_2A_1Large cross sectional area of orifice [m2]
LengthC_1PI*0.01Small perimeter of orifice [m]
LengthC_2C_1Large perimeter of orifice [m]

Modelica definition

record SuddenChange "Input for sudden change of diameter"

  extends Modelica.Icons.Record;

  SI.Area A_1=PI*0.01^2/4 "Small cross sectional area of orifice";
  SI.Area A_2=A_1 "Large cross sectional area of orifice";
  SI.Length C_1=PI*0.01 "Small perimeter of orifice";
  SI.Length C_2=C_1 "Large perimeter of orifice";
end SuddenChange;

Automatically generated Fri Nov 12 16:31:25 2010.