| Name | Description |
|---|---|
| Pressure | |
| Density | |
| Current | |
| Volumetric flow rate | |
| Standard volumetric flow rate | |
| Template of a function to select a material quantity | |
| Gibbs potential |
FCSys.Conditions.ByConnector.Boundary.Single.Material.pressure
| 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] |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
function pressure "Pressure" extends Partial; algorithm x := p; end pressure;
FCSys.Conditions.ByConnector.Boundary.Single.Material.density
| 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] | |
| Material properties | |||
| replaceable package Data | Characteristics.BaseClasses…. | Characteristic data | |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
| Material properties | ||
| replaceable package Data | Characteristic data | |
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
| 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] |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
function current "Current" extends Partial; algorithm x := Ndot; end current;
FCSys.Conditions.ByConnector.Boundary.Single.Material.volumeRate
| 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] | |
| Material properties | |||
| replaceable package Data | Characteristics.BaseClasses…. | Characteristic data | |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
| Material properties | ||
| replaceable package Data | Characteristic data | |
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
| 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] | |
| Material properties | |||
| replaceable package Data | Characteristics.BaseClasses…. | Characteristic data | |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
| Material properties | ||
| replaceable package Data | Characteristic data | |
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.PartialThis 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 |
|---|---|---|---|
| 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] |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
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
| 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] | |
| Material properties | |||
| replaceable package Data | Characteristics.BaseClasses…. | Characteristic data | |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
| Material properties | ||
| replaceable package Data | Characteristic data | |
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;