Beispiel #1
0
 def TubeCode(self, Tube, **kwargs):
     Tube.Q = flow_models.IsothermalWallTube(Tube.mdot,
                                             Tube.State1,
                                             Tube.State2,
                                             Tube.fixed,
                                             Tube.L,
                                             Tube.ID,
                                             T_wall=self.Tlumps[0])
Beispiel #2
0
 def TubeCode(self, Tube):
     """ 
     A thin wrapper of the isothermal wall tube from flow_models.py 
     """
     Tube.Q = flow_models.IsothermalWallTube(Tube.mdot,
                                             Tube.State1,
                                             Tube.State2,
                                             Tube.fixed,
                                             Tube.L,
                                             Tube.ID,
                                             T_wall=self.Tlumps[0])