FCSys.Conditions.ByConnector.Boundary.Single.Material

Material conditions

Information

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

Package Content

NameDescription
FCSys.Conditions.ByConnector.Boundary.Single.Material.pressure pressure Pressure
FCSys.Conditions.ByConnector.Boundary.Single.Material.density density Density
FCSys.Conditions.ByConnector.Boundary.Single.Material.current current Current
FCSys.Conditions.ByConnector.Boundary.Single.Material.volumeRate volumeRate Volumetric flow rate
FCSys.Conditions.ByConnector.Boundary.Single.Material.standardVolumeRate standardVolumeRate Standard volumetric flow rate
FCSys.Conditions.ByConnector.Boundary.Single.Material.Partial Partial Template of a function to select a material quantity
FCSys.Conditions.ByConnector.Boundary.Single.Material.potential potential Gibbs potential

FCSys.Conditions.ByConnector.Boundary.Single.Material.pressure FCSys.Conditions.ByConnector.Boundary.Single.Material.pressure

Pressure

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function pressure "Pressure"
  extends Partial;

algorithm 
  x := p;
end pressure;

FCSys.Conditions.ByConnector.Boundary.Single.Material.density FCSys.Conditions.ByConnector.Boundary.Single.Material.density

Density

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]
Material properties
replaceable package DataCharacteristics.BaseClasses….Characteristic data

Outputs

TypeNameDescription
RealxValue of condition
Material properties
replaceable package DataCharacteristic data

Modelica definition

function density "Density"
  extends Partial;

  replaceable package Data = Characteristics.BaseClasses.CharacteristicEOS 
    constrainedby Characteristics.BaseClasses.CharacteristicEOS 
    "Characteristic data";

algorithm 
  x := 1/Data.v_Tp(T, p);
end density;

FCSys.Conditions.ByConnector.Boundary.Single.Material.current FCSys.Conditions.ByConnector.Boundary.Single.Material.current

Current

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function current "Current"
  extends Partial;

algorithm 
  x := Ndot;

end current;

FCSys.Conditions.ByConnector.Boundary.Single.Material.volumeRate FCSys.Conditions.ByConnector.Boundary.Single.Material.volumeRate

Volumetric flow rate

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]
Material properties
replaceable package DataCharacteristics.BaseClasses….Characteristic data

Outputs

TypeNameDescription
RealxValue of condition
Material properties
replaceable package DataCharacteristic data

Modelica definition

function volumeRate "Volumetric flow rate"
  extends Partial;

  replaceable package Data = Characteristics.BaseClasses.CharacteristicEOS 
    constrainedby Characteristics.BaseClasses.CharacteristicEOS 
    "Characteristic data";

algorithm 
  x := Data.v_Tp(T, p)*Ndot;
end volumeRate;

FCSys.Conditions.ByConnector.Boundary.Single.Material.standardVolumeRate FCSys.Conditions.ByConnector.Boundary.Single.Material.standardVolumeRate

Standard volumetric flow rate

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]
Material properties
replaceable package DataCharacteristics.BaseClasses….Characteristic data

Outputs

TypeNameDescription
RealxValue of condition
Material properties
replaceable package DataCharacteristic data

Modelica definition

function standardVolumeRate "Standard volumetric flow rate"
  extends Partial;

  replaceable package Data = Characteristics.BaseClasses.CharacteristicEOS 
    constrainedby Characteristics.BaseClasses.CharacteristicEOS 
    "Characteristic data";
  parameter Q.TemperatureAbsolute To=298.15*U.K "Standard temperature";
  parameter Q.PressureAbsolute pp=U.bar "Standard pressure";

algorithm 
  x := Data.v_Tp(To, p0)*Ndot;
end standardVolumeRate;

FCSys.Conditions.ByConnector.Boundary.Single.Material.Partial FCSys.Conditions.ByConnector.Boundary.Single.Material.Partial

Template of a function to select a material quantity

Information

This function takes as inputs all the efforts and flows of the associated connector. It should be extended to add an algorithm that maps these inputs to a single value.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

partial function Partial 
  "Template of a function to select a material quantity"
  extends Modelica.Icons.Function;

  // Material
  input Q.PressureAbsolute p "Pressure";
  input Q.Current Ndot "Current";

  // Translational
  input Q.Velocity phi[Orient] "Velocity";
  input Q.Force mPhidot[Orient] "Shear force";

  // Thermal
  input Q.TemperatureAbsolute T "Temperature";
  input Q.Power Qdot "Rate of thermal conduction";

  output Real x "Value of condition";

end Partial;

FCSys.Conditions.ByConnector.Boundary.Single.Material.potential FCSys.Conditions.ByConnector.Boundary.Single.Material.potential

Gibbs potential

Information

Extends from Partial (Template of a function to select a material quantity).

Inputs

TypeNameDefaultDescription
PressureAbsolutep Pressure [M/(L.T2)]
CurrentNdot Current [N/T]
Velocityphi[Orient] Velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureAbsoluteT Temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]
Material properties
replaceable package DataCharacteristics.BaseClasses….Characteristic data

Outputs

TypeNameDescription
RealxValue of condition
Material properties
replaceable package DataCharacteristic data

Modelica definition

function potential "Gibbs potential"
  extends Partial;

  replaceable package Data = Characteristics.BaseClasses.Characteristic 
    constrainedby Characteristics.BaseClasses.Characteristic 
    "Characteristic data";

algorithm 
  x := Data.g(T, p);
end potential;