FCSys.Conditions.ByConnector.Boundary.Pair.Translational

Translational conditions

Information

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

Package Content

NameDescription
FCSys.Conditions.ByConnector.Boundary.Pair.Translational.velocity velocity Difference in velocity
FCSys.Conditions.ByConnector.Boundary.Pair.Translational.force force Non-equilibrium force
FCSys.Conditions.ByConnector.Boundary.Pair.Translational.Partial Partial Template of a function to select a translational quantity

FCSys.Conditions.ByConnector.Boundary.Pair.Translational.velocity FCSys.Conditions.ByConnector.Boundary.Pair.Translational.velocity

Difference in velocity

Information

Extends from Partial (Template of a function to select a translational 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]
Orientorient Orientation of translational momentum w.r.t. the boundary

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function velocity "Difference in velocity"
  extends Partial;

algorithm 
  x := Deltaphi[orient];

end velocity;

FCSys.Conditions.ByConnector.Boundary.Pair.Translational.force FCSys.Conditions.ByConnector.Boundary.Pair.Translational.force

Non-equilibrium force

Information

Extends from Partial (Template of a function to select a translational 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]
Orientorient Orientation of translational momentum w.r.t. the boundary

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function force "Non-equilibrium force"
  extends Partial;

algorithm 
  x := mPhidot[orient];

end force;

FCSys.Conditions.ByConnector.Boundary.Pair.Translational.Partial FCSys.Conditions.ByConnector.Boundary.Pair.Translational.Partial

Template of a function to select a translational 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]
Orientorient Orientation of translational momentum w.r.t. the boundary

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

partial function Partial 
  "Template of a function to select a translational 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";

  input Orient orient 
    "Orientation of translational momentum w.r.t. the boundary";

  output Real x "Value of condition";

end Partial;