Set state from p, s, and phase ! This function sets the thermodynamic state record for the given pressure p, the specific entropy s and the specified phase. The computed values are written to the ExternalThermodynamicState property struct. Must be re-implemented in the specific solver @param p Pressure @param s Specific entropy @param phase Phase (2 for two-phase, 1 for one-phase, 0
| 127 | @param properties ExternalThermodynamicState property struct |
| 128 | */ |
| 129 | void BaseSolver::setState_ps(double& p, double& s, int& phase, ExternalThermodynamicState* const properties) { |
| 130 | // Base function returns an error if called - should be redeclared by the solver object |
| 131 | errorMessage((char*)"Internal error: setState_ps() not implemented in the Solver object"); |
| 132 | } |
| 133 | |
| 134 | //! Compute Prandtl number |
| 135 | /*! |
no test coverage detected