FCSys.Conditions.ByConnector.Boundary.Pair.Material

Material conditions

Information

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

Package Content

NameDescription
FCSys.Conditions.ByConnector.Boundary.Pair.Material.pressure pressure Difference in pressure
FCSys.Conditions.ByConnector.Boundary.Pair.Material.current current Current
FCSys.Conditions.ByConnector.Boundary.Pair.Material.Partial Partial Template of a function to select a material quantity

FCSys.Conditions.ByConnector.Boundary.Pair.Material.pressure FCSys.Conditions.ByConnector.Boundary.Pair.Material.pressure

Difference in pressure

Information

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

Inputs

TypeNameDefaultDescription
PressureDeltap Difference in pressure [M/(L.T2)]
CurrentNdot Current [N/T]
VelocityDeltaphi[Orient] Difference in velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureDeltaT Difference in temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal conduction [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function pressure "Difference in pressure"
  extends Partial;

algorithm 
  x := Deltap;
end pressure;

FCSys.Conditions.ByConnector.Boundary.Pair.Material.current FCSys.Conditions.ByConnector.Boundary.Pair.Material.current

Current

Information

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

Inputs

TypeNameDefaultDescription
PressureDeltap Difference in pressure [M/(L.T2)]
CurrentNdot Current [N/T]
VelocityDeltaphi[Orient] Difference in velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureDeltaT Difference in 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.Pair.Material.Partial FCSys.Conditions.ByConnector.Boundary.Pair.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
PressureDeltap Difference in pressure [M/(L.T2)]
CurrentNdot Current [N/T]
VelocityDeltaphi[Orient] Difference in velocity [L/T]
ForcemPhidot[Orient] Shear force [L.M/T2]
TemperatureDeltaT Difference in 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.Pressure Deltap "Difference in pressure";
  input Q.Current Ndot "Current";

  // Translational
  input Q.Velocity Deltaphi[Orient] "Difference in velocity";
  input Q.Force mPhidot[Orient] "Shear force";

  // Thermal
  input Q.Temperature DeltaT "Difference in temperature";
  input Q.Power Qdot "Rate of thermal conduction";

  output Real x "Value of condition";

end Partial;