Exemplo n.º 1
0
Arquivo: core.py Projeto: sgolle/pdsim
 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])
Exemplo n.º 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])