예제 #1
0
 def _TransientGroup(self):
     self.__currentImportGroupModules = []
     dsc = self._TransientCase()
     p1 = Import2DModule(dsc.parts2d[0])
     self.__currentImportGroupModules.append(p1)
     p2 = Import2DModule(dsc.parts2d[1])
     self.__currentImportGroupModules.append(p2)
     gip = ImportGroup2DModule(True)
     gip.addImport(p1)
     gip.addImport(p2)
     return gip
예제 #2
0
def testLargeSimpleGroup():
    nameAndCase = NameAndCoviseCase()
    nameAndCase.setFromFile('/work/common/Projekte/DC-CFDGui/datasets/w221/PERMAS_Temp_t0/W221_powerwall.cocase')
    dsc = coviseCase2DimensionSeperatedCase(nameAndCase.case, nameAndCase.name, nameAndCase.pathToCaseFile)
    gip = ImportSimpleGroupModule(2)
    for part in dsc.parts2d:
        ip = Import2DModule(part)
        print(str(ip))
        gip.addImport(ip)
    return gip
예제 #3
0
 def _LargeGroup(self):
     self.__currentImportGroupModules = []
     nameAndCase = NameAndCoviseCase()
     nameAndCase.setFromFile(
         '/work/common/Projekte/DC-CFDGui/datasets/w221/PERMAS_Temp_t0/W221_powerwall.cocase'
     )
     dsc = coviseCase2DimensionSeperatedCase(nameAndCase.case,
                                             nameAndCase.name,
                                             nameAndCase.pathToCaseFile)
     gip = ImportGroup2DModule()
     for part in dsc.parts2d:
         ip = Import2DModule(part)
         self.__currentImportGroupModules.append(ip)
         print(str(ip))
         gip.addImport(ip)
     return gip
예제 #4
0
def testImportModule1():
    dsc = testCase()
    print("Loading ",  dsc.parts2d[8].name)
    return Import2DModule( dsc.parts2d[8] )
예제 #5
0
def testImportModule2():
    dsc = testCase()
    return Import2DModule( dsc.parts2d[12] )
예제 #6
0
 def _ImportModule1(self):
     dsc = self._Case()
     print("Loading ", dsc.parts2d[8].name)
     return Import2DModule(dsc.parts2d[8])