You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ThermoPhase class provides declarations for setting most pairs of properties, but only provides implementations for some of them. The SH setter would simplify modeling of some thermodynamic systems, such as turbojet engines.
Motivation
Describe the need for the proposed change:
What problem is it trying to solve?
Simplify setting the state in situations where entropy and enthalpy are known, but the intrinsic state variables (T and density) are not. Currently, this requires the user to implement their own iterative solver on top of Cantera.
Who is affected by the change?
Users modeling thermodynamic systems such as turbojet engines. Neglecting losses, the entropy change across the turbine is zero, and the enthalpy change corresponds to the work done by the compressor.
Why is this a good solution?
We can provide a robust iterative solver, relieving users of the need to implement their own ad hoc solvers.
Possible Solutions
The implementation of ThermoPhase.setState_SH could follow the implementation of this setter that is implemented for pure fluid phases in Substance::set_xy, which is a fairly simple truncated Newton solver.
The text was updated successfully, but these errors were encountered:
Abstract
The
ThermoPhase
class provides declarations for setting most pairs of properties, but only provides implementations for some of them. TheSH
setter would simplify modeling of some thermodynamic systems, such as turbojet engines.Motivation
Describe the need for the proposed change:
Possible Solutions
The implementation of
ThermoPhase.setState_SH
could follow the implementation of this setter that is implemented for pure fluid phases inSubstance::set_xy
, which is a fairly simple truncated Newton solver.The text was updated successfully, but these errors were encountered: