@@ -0,0 +1,799 @@
+%22%22%22%0AIsentropicFlow class:%0A---------------------%0A%0AIsentropic flow relations%0A%0A%0AMRodriguez 2020%0A%0A%22%22%22%0A%0Afrom pyturb.gas_models.perfect_ideal_gas import PerfectIdealGas%0Afrom pyturb.gas_models.semiperfect_ideal_gas import SemiperfectIdealGas%0Aimport numpy as np%0A%0A%0Aclass IsentropicFlow(object):%0A    %22%22%22%0A    Isentropic flow relations.%0A%0A    %22%22%22%0A%0A    def __init__(self, fluid):%0A        if not(isinstance(fluid, PerfectIdealGas) or isinstance(fluid, SemiperfectIdealGas)):%0A            raise TypeError(%22Object must be PerfectIdealGas, SemiperfectIdealGas. Instead received %7B%7D%22.format(fluid))%0A        %0A        for attr in %5B'cp', 'gamma'%5D:%0A            if not hasattr(fluid, attr):%0A                raise AttributeError(%22Attribute %7B%7D not found in fluid object%22.format(attr))%0A%0A        self.fluid = fluid%0A        return

Add isentropic_flow.py for isentropic flow relations between thermodynamic properties