## FCSys.Conditions.ByConnector.Boundary.Single.Translational

Translational conditions

### Information

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

### Package Content

Name | Description
--- | ---
velocity | Velocity
force | Non-equilibrium force
Partial | Template of a function to select a translational quantity

## FCSys.Conditions.ByConnector.Boundary.Single.Translational.velocity

Velocity

### Information

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

### Inputs

Type | Name | Default | Description
--- | --- | --- | ---
PressureAbsolute | p |  | Pressure [M/(L.T2)]
Current | Ndot |  | Current [N/T]
Velocity | phi[Orient] |  | Velocity [L/T]
Force | mPhidot[Orient] |  | Shear force [L.M/T2]
TemperatureAbsolute | T |  | Temperature [L2.M/(N.T2)]
Power | Qdot |  | Rate of thermal conduction [L2.M/T3]
Orient | orient |  | Orientation of translational momentum w.r.t. the boundary

### Outputs

Type | Name | Description
--- | --- | ---
Real | x | Value of condition

### Modelica definition

    function velocity "Velocity"
      extends Partial;

    algorithm
      x := phi[orient];
    end velocity;

## FCSys.Conditions.ByConnector.Boundary.Single.Translational.force

Non-equilibrium force

### Information

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

### Inputs

Type | Name | Default | Description
--- | --- | --- | ---
PressureAbsolute | p |  | Pressure [M/(L.T2)]
Current | Ndot |  | Current [N/T]
Velocity | phi[Orient] |  | Velocity [L/T]
Force | mPhidot[Orient] |  | Shear force [L.M/T2]
TemperatureAbsolute | T |  | Temperature [L2.M/(N.T2)]
Power | Qdot |  | Rate of thermal conduction [L2.M/T3]
Orient | orient |  | Orientation of translational momentum w.r.t. the boundary

### Outputs

Type | Name | Description
--- | --- | ---
Real | x | Value of condition

### Modelica definition

    function force "Non-equilibrium force"
      extends Partial;

    algorithm
      x := mPhidot[orient];
    end force;

## FCSys.Conditions.ByConnector.Boundary.Single.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

Type | Name | Default | Description
--- | --- | --- | ---
PressureAbsolute | p |  | Pressure [M/(L.T2)]
Current | Ndot |  | Current [N/T]
Velocity | phi[Orient] |  | Velocity [L/T]
Force | mPhidot[Orient] |  | Shear force [L.M/T2]
TemperatureAbsolute | T |  | Temperature [L2.M/(N.T2)]
Power | Qdot |  | Rate of thermal conduction [L2.M/T3]
Orient | orient |  | Orientation of translational momentum w.r.t. the boundary

### Outputs

Type | Name | Description
--- | --- | ---
Real | x | Value of condition

### Modelica definition

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

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

      output Real x "Value of condition";

    end Partial;