Name | Description |
---|---|
velocity | Difference in velocity |
force | Non-equilibrium force |
Partial | Template of a function to select a translational quantity |
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in 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 |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
function velocity "Difference in velocity" extends Partial; algorithm x := Deltaphi[orient]; end velocity;
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in 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 |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
function force "Non-equilibrium force" extends Partial; algorithm x := mPhidot[orient]; end force;
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).
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in 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 |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
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;