FCSys.Conditions.ByConnector.Reaction.ThermalAdvective

Conditions for thermal advection

Information

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

Package Content

NameDescription
FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.specificEntropyTemperature specificEntropyTemperature Product of specific entropy and temperature of the product
FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.heatRate heatRate Rate of heat from the stream
FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.Partial Partial Template of a function to select a thermal quantity

FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.specificEntropyTemperature FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.specificEntropyTemperature

Product of specific entropy and temperature of the product

Information

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

Inputs

TypeNameDefaultDescription
CurrentNdot Rate of reaction [N/T]
Potentialg Chemical potential [L2.M/(N.T2)]
Velocityphi[:] Velocity [L/T]
ForcemPhidot[:] Force [L.M/T2]
PotentialAbsolutesT Product of specific entropy and temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal advection [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function specificEntropyTemperature 
  "Product of specific entropy and temperature of the product"
  extends Partial;

algorithm 
  x := sT;
end specificEntropyTemperature;

FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.heatRate FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.heatRate

Rate of heat from the stream

Information

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

Inputs

TypeNameDefaultDescription
CurrentNdot Rate of reaction [N/T]
Potentialg Chemical potential [L2.M/(N.T2)]
Velocityphi[:] Velocity [L/T]
ForcemPhidot[:] Force [L.M/T2]
PotentialAbsolutesT Product of specific entropy and temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal advection [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

function heatRate "Rate of heat from the stream"
  extends Partial;

algorithm 
  x := Qdot;
end heatRate;

FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.Partial FCSys.Conditions.ByConnector.Reaction.ThermalAdvective.Partial

Template of a function to select a thermal 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
CurrentNdot Rate of reaction [N/T]
Potentialg Chemical potential [L2.M/(N.T2)]
Velocityphi[:] Velocity [L/T]
ForcemPhidot[:] Force [L.M/T2]
PotentialAbsolutesT Product of specific entropy and temperature [L2.M/(N.T2)]
PowerQdot Rate of thermal advection [L2.M/T3]

Outputs

TypeNameDescription
RealxValue of condition

Modelica definition

partial function Partial 
  "Template of a function to select a thermal quantity"
  extends Modelica.Icons.Function;

  // Material diffusion
  input Q.Current Ndot "Rate of reaction";
  input Q.Potential g "Chemical potential";

  // Translational advection
  input Q.Velocity phi[:] "Velocity";
  input Q.Force mPhidot[:] "Force";

  // Thermal advection
  input Q.PotentialAbsolute sT "Product of specific entropy and temperature";
  input Q.Power Qdot "Rate of thermal advection";

  output Real x "Value of condition";

end Partial;