Modelica.Fluid.Dissipation.Utilities.Records.General

Information

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

Package Content

NameDescription
Modelica.Fluid.Dissipation.Utilities.Records.General.PressureLoss PressureLoss Base record for fluid properties for pressure loss
Modelica.Fluid.Dissipation.Utilities.Records.General.FluidProperties FluidProperties Base record for fluid properties
Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_con IdealGas_con Base record for generic pressure loss function | ideal gas | mean density
Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_var IdealGas_var Base record for generic pressure loss function | ideal gas | mean density
Modelica.Fluid.Dissipation.Utilities.Records.General.NominalDensityViscosity NominalDensityViscosity Base record for generic pressure loss function
Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_con NominalPressureLossLawDensity_con Base record for generic pressure loss function
Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_var NominalPressureLossLawDensity_var Base record for generic pressure loss function
Modelica.Fluid.Dissipation.Utilities.Records.General.QuadraticVFLOW QuadraticVFLOW Base record for generic pressure loss function | quadratic function (dp=a*Vdot^2 + b*Vdot)
Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con TwoPhaseFlow_con Base record for two phase Flow
Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_var TwoPhaseFlow_var Base record for two phase flow
Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas IdealGas Base record for generic pressure loss function | ideal gas | mean density
Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity NominalPressureLossLawDensity Base record for generic pressure loss function
Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow TwoPhaseFlow base record for two phase Flow


Modelica.Fluid.Dissipation.Utilities.Records.General.PressureLoss Modelica.Fluid.Dissipation.Utilities.Records.General.PressureLoss

Base record for fluid properties for pressure loss

Information

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

Parameters

TypeNameDefaultDescription
Fluid properties
DynamicViscosityeta Dynamic viscosity of fluid [Pa.s]
Densityrho Density of fluid [kg/m3]

Modelica definition

record PressureLoss 
  "Base record for fluid properties for pressure loss"
  extends Modelica.Icons.Record;

  SI.DynamicViscosity eta "Dynamic viscosity of fluid";
  SI.Density rho "Density of fluid";
end PressureLoss;

Modelica.Fluid.Dissipation.Utilities.Records.General.FluidProperties Modelica.Fluid.Dissipation.Utilities.Records.General.FluidProperties

Base record for fluid properties

Information

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

Parameters

TypeNameDefaultDescription
Fluid properties
SpecificHeatCapacityAtConstantPressurecp Specific heat capacity of fluid at constant pressure [J/(kg.K)]
DynamicViscosityeta Dynamic viscosity of fluid [Pa.s]
ThermalConductivitylambda Thermal conductivity of fluid [W/(m.K)]
Densityrho Density of fluid [kg/m3]

Modelica definition

record FluidProperties "Base record for fluid properties"
  extends Modelica.Icons.Record;

  SI.SpecificHeatCapacityAtConstantPressure cp 
    "Specific heat capacity of fluid at constant pressure";

  SI.DynamicViscosity eta "Dynamic viscosity of fluid";

  SI.ThermalConductivity lambda "Thermal conductivity of fluid";

  SI.Density rho "Density of fluid";
end FluidProperties;

Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_con Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_con

Base record for generic pressure loss function | ideal gas | mean density

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
Realexp2Exponent of pressure loss law
RealKm6824.86Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}]
Fluid properties
SpecificHeatCapacityR_s Specific gas constant of ideal gas [J/(kg.K)]

Modelica definition

record IdealGas_con 
  "Base record for generic pressure loss function | ideal gas | mean density"
  extends Modelica.Icons.Record;

  Real exp=2 "Exponent of pressure loss law";
  SI.SpecificHeatCapacity R_s "Specific gas constant of ideal gas";
  Real Km=6824.86 "Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}]";

end IdealGas_con;

Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_var Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas_var

Base record for generic pressure loss function | ideal gas | mean density

Information

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

Parameters

TypeNameDefaultDescription
Fluid properties
Densityrho_m Mean density of ideal gas [kg/m3]
Temp_KT_m Mean temperature of ideal gas [K]
Pressurep_m Mean pressure of ideal gas [Pa]

Modelica definition

record IdealGas_var 
  "Base record for generic pressure loss function | ideal gas | mean density"
  extends Modelica.Icons.Record;

  SI.Density rho_m "Mean density of ideal gas";
  SI.Temp_K T_m "Mean temperature of ideal gas";
  SI.Pressure p_m "Mean pressure of ideal gas";

end IdealGas_var;

Modelica.Fluid.Dissipation.Utilities.Records.General.NominalDensityViscosity Modelica.Fluid.Dissipation.Utilities.Records.General.NominalDensityViscosity

Base record for generic pressure loss function

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
Pressuredp_nom2Nominal pressure loss (at nominal values of mass flow rate and density) [Pa]
Realexp2Exponent of pressure loss law
MassFlowRatem_flow_nom1Nominal mass flow rate (at nominal values of pressure loss and density) [kg/s]
Densityrho_nom Nominal density (at nominal values of mass flow rate and pressure loss) [kg/m3]
Realexp_eta1Exponent for dynamic viscosity dependence
DynamicViscosityeta_nom Dynamic viscosity at nominal pressure loss [Pa.s]

Modelica definition

record NominalDensityViscosity 
  "Base record for generic pressure loss function"

  extends Modelica.Icons.Record;

  SI.Pressure dp_nom=2 
    "Nominal pressure loss (at nominal values of mass flow rate and density)";
  Real exp=2 "Exponent of pressure loss law";
  SI.MassFlowRate m_flow_nom=1 
    "Nominal mass flow rate (at nominal values of pressure loss and density)";
  SI.Density rho_nom 
    "Nominal density (at nominal values of mass flow rate and pressure loss)";
  Real exp_eta=1 "Exponent for dynamic viscosity dependence";
  SI.DynamicViscosity eta_nom "Dynamic viscosity at nominal pressure loss";

end NominalDensityViscosity;

Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_con Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_con

Base record for generic pressure loss function

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
MassOrVolumeFlowRatetargetDissipation.Utilities.Types....1 == use nominal mass flow rate | 2 == use nominal volume flow rate
AreaA_crossA_cross_nomCross sectional area [m2]
AreaA_cross_nomModelica.Constants.pi*0.1^2/4Nominal cross sectional area [m2]
Pressuredp_nom2Nominal pressure loss (at nominal values of mass flow rate and density) [Pa]
MassFlowRatem_flow_nom1Nominal mass flow rate (at nominal values of pressure loss and density) [kg/s]
Realexp2Exponent of pressure loss law
VolumeFlowRateV_flow_nomm_flow_nom/rho_nomNominal volume flow rate (at nominal values of pressure loss and density) [m3/s]
Densityrho_nom Nominal density (at nominal values of mass flow rate and pressure loss) [kg/m3]
PressureLossCoefficientzeta_TOT_nom0.02*1/0.1Nominal pressure loss coefficient (for nominal values) [1]

Modelica definition

record NominalPressureLossLawDensity_con 
  "Base record for generic pressure loss function"

  extends Modelica.Icons.Record;

  //NominalMassFlowRate
  Modelica.Fluid.Dissipation.Utilities.Types.MassOrVolumeFlowRate
    target =                                                             Dissipation.Utilities.Types.MassOrVolumeFlowRate.MassFlowRate 
    "1 == use nominal mass flow rate | 2 == use nominal volume flow rate";

  SI.Area A_cross=A_cross_nom "Cross sectional area";
  SI.Area A_cross_nom=Modelica.Constants.pi*0.1^2/4 
    "Nominal cross sectional area";

  SI.Pressure dp_nom=2 
    "Nominal pressure loss (at nominal values of mass flow rate and density)";
  SI.MassFlowRate m_flow_nom=1 
    "Nominal mass flow rate (at nominal values of pressure loss and density)";
  Real exp=2 "Exponent of pressure loss law";

  SI.VolumeFlowRate V_flow_nom=m_flow_nom/rho_nom 
    "Nominal volume flow rate (at nominal values of pressure loss and density)";
  SI.Density rho_nom 
    "Nominal density (at nominal values of mass flow rate and pressure loss)";

  Types.PressureLossCoefficient zeta_TOT_nom=0.02*1/0.1 
    "Nominal pressure loss coefficient (for nominal values)";

end NominalPressureLossLawDensity_con;

Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_var Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity_var

Base record for generic pressure loss function

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
PressureLossCoefficientzeta_TOT0.2Pressure loss coefficient [1]

Modelica definition

record NominalPressureLossLawDensity_var 
  "Base record for generic pressure loss function"

  extends Modelica.Icons.Record;

  TYP.PressureLossCoefficient zeta_TOT=0.2 "Pressure loss coefficient";

end NominalPressureLossLawDensity_var;

Modelica.Fluid.Dissipation.Utilities.Records.General.QuadraticVFLOW Modelica.Fluid.Dissipation.Utilities.Records.General.QuadraticVFLOW

Base record for generic pressure loss function | quadratic function (dp=a*Vdot^2 + b*Vdot)

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
Reala15Coefficient for quadratic term [(Pa.s2)/m6]
Realb0Coefficient for linear term [(Pa.s)/m3]

Modelica definition

record QuadraticVFLOW 
  "Base record for generic pressure loss function | quadratic function (dp=a*Vdot^2 + b*Vdot)"

  extends Modelica.Icons.Record;

  Real a(unit="(Pa.s2)/m6") = 15 "Coefficient for quadratic term";
  Real b(unit="(Pa.s)/m3") = 0 "Coefficient for linear term";

end QuadraticVFLOW;

Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con

Base record for two phase Flow

Information

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

Parameters

TypeNameDefaultDescription
Geometry
AreaA_crossPI*0.1^2/4Cross sectional area [m2]
LengthperimeterPI*0.1Wettet perimeter [m]
Lengthlength1Length in fluid flow direction [m]

Modelica definition

record TwoPhaseFlow_con "Base record for two phase Flow"
  extends Modelica.Icons.Record;

  SI.Area A_cross=PI*0.1^2/4 "Cross sectional area";
  SI.Length perimeter=PI*0.1 "Wettet perimeter";
  SI.Length length=1 "Length in fluid flow direction";

end TwoPhaseFlow_con;

Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_var Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_var

Base record for two phase flow

Information

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

Parameters

TypeNameDefaultDescription
Fluid properties
Densityrho_g Density of gas [kg/m3]
Densityrho_l Density of liquid [kg/m3]
DynamicViscosityeta_g Dynamic viscosity of gas [Pa.s]
DynamicViscosityeta_l Dynamic viscosity of liquid [Pa.s]
SurfaceTensionsigma Surface tension [N/m]
Input
Realx_flow0Mean mass flow rate quality over length

Modelica definition

record TwoPhaseFlow_var "Base record for two phase flow"
  extends Modelica.Icons.Record;

  SI.Density rho_g "Density of gas";
  SI.Density rho_l "Density of liquid";
  SI.DynamicViscosity eta_g "Dynamic viscosity of gas";
  SI.DynamicViscosity eta_l "Dynamic viscosity of liquid";
  SI.SurfaceTension sigma "Surface tension";

  //input variables
  Real x_flow=0 "Mean mass flow rate quality over length";
end TwoPhaseFlow_var;

Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas Modelica.Fluid.Dissipation.Utilities.Records.General.IdealGas

Base record for generic pressure loss function | ideal gas | mean density

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
Realexp2Exponent of pressure loss law
RealKmR_s*(2e3)/((10)^exp/rho_m)Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}]
Fluid properties
SpecificHeatCapacityR_s Specific gas constant of ideal gas [J/(kg.K)]
Densityrho_mp_m/(R_s*T_m)Mean density of ideal gas [kg/m3]
Temp_KT_m Mean temperature of ideal gas [K]
Pressurep_m Mean pressure of ideal gas [Pa]

Modelica definition

record IdealGas 
  "Base record for generic pressure loss function | ideal gas | mean density"
  extends Modelica.Icons.Record;

  parameter Real exp(min=Modelica.Constants.eps) = 2 
    "Exponent of pressure loss law";
  parameter SI.SpecificHeatCapacity R_s(min=1) 
    "Specific gas constant of ideal gas";

  Real Km(min=Modelica.Constants.eps) = R_s*(2e3)/((10)^exp/rho_m) 
    "Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}]";
  SI.Density rho_m=p_m/(R_s*T_m) "Mean density of ideal gas";
  SI.Temp_K T_m "Mean temperature of ideal gas";
  SI.Pressure p_m "Mean pressure of ideal gas";

end IdealGas;

Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity Modelica.Fluid.Dissipation.Utilities.Records.General.NominalPressureLossLawDensity

Base record for generic pressure loss function

Information

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

Parameters

TypeNameDefaultDescription
Generic variables
MassOrVolumeFlowRatetargetDissipation.Utilities.Types....1 == use nominal mass flow rate | 2 == use nominal volume flow rate
AreaA_crossA_cross_nomCross sectional area [m2]
AreaA_cross_nomModelica.Constants.pi*0.1^2/4Nominal cross sectional area [m2]
Pressuredp_nom2Nominal pressure loss (at nominal values of mass flow rate and density) [Pa]
MassFlowRatem_flow_nom1Nominal mass flow rate (at nominal values of pressure loss and density) [kg/s]
Realexp2Exponent of pressure loss law
VolumeFlowRateV_flow_nomm_flow_nom/rho_nomNominal volume flow rate (at nominal values of pressure loss and density) [m3/s]
Densityrho_nom Nominal density (at nominal values of mass flow rate and pressure loss) [kg/m3]
PressureLossCoefficientzeta_TOTzeta_TOT_nomPressure loss coefficient [1]
PressureLossCoefficientzeta_TOT_nom0.02*1/0.1Nominal pressure loss coefficient (for nominal values) [1]

Modelica definition

record NominalPressureLossLawDensity 
  "Base record for generic pressure loss function"

  extends Modelica.Icons.Record;

  //NominalMassFlowRate
  Modelica.Fluid.Dissipation.Utilities.Types.MassOrVolumeFlowRate
    target =                                                             Dissipation.Utilities.Types.MassOrVolumeFlowRate.MassFlowRate 
    "1 == use nominal mass flow rate | 2 == use nominal volume flow rate";

  parameter SI.Area A_cross=A_cross_nom "Cross sectional area";
  parameter SI.Area A_cross_nom=Modelica.Constants.pi*0.1^2/4 
    "Nominal cross sectional area";

  parameter SI.Pressure dp_nom(min=Modelica.Constants.eps) = 2 
    "Nominal pressure loss (at nominal values of mass flow rate and density)";
  parameter SI.MassFlowRate m_flow_nom(min=Modelica.Constants.eps) = 1 
    "Nominal mass flow rate (at nominal values of pressure loss and density)";
  parameter Real exp(min=Modelica.Constants.eps) = 2 
    "Exponent of pressure loss law";

  SI.VolumeFlowRate V_flow_nom(min=Modelica.Constants.eps) = m_flow_nom/rho_nom 
    "Nominal volume flow rate (at nominal values of pressure loss and density)";
  SI.Density rho_nom(min=Modelica.Constants.eps) 
    "Nominal density (at nominal values of mass flow rate and pressure loss)";

  Types.PressureLossCoefficient zeta_TOT=zeta_TOT_nom 
    "Pressure loss coefficient";
  parameter Types.PressureLossCoefficient zeta_TOT_nom=0.02*1/0.1 
    "Nominal pressure loss coefficient (for nominal values)";

end NominalPressureLossLawDensity;

Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow

base record for two phase Flow

Information

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

Parameters

TypeNameDefaultDescription
Fluid properties
Densityrho_l Density of liquid [kg/m3]
Densityrho_g Density of gas [kg/m3]
DynamicViscosityeta_l Dynamic viscosity of liquid [Pa.s]
DynamicViscosityeta_g Dynamic viscosity of gas [Pa.s]
MassFractionx0.5Vapour fraction [1]
SurfaceTensionsigma Surface Tension [N/m]
others
Realn0.25Exponent in Blasius equation (0.2-0.25)

Modelica definition

record TwoPhaseFlow "base record for two phase Flow"
  extends Modelica.Icons.Record;

  SI.Density rho_l "Density of liquid";
  SI.Density rho_g "Density of gas";
  SI.DynamicViscosity eta_l "Dynamic viscosity of liquid";
  SI.DynamicViscosity eta_g "Dynamic viscosity of gas";
  SI.MassFraction x=0.5 "Vapour fraction";
  SI.SurfaceTension sigma "Surface Tension";
  Real n=0.25 "Exponent in Blasius equation (0.2-0.25)";
end TwoPhaseFlow;

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