예제 #1
0
 def test_celas1(self):
     """runs a 1 element CELAS1 problem"""
     fargs = {
         '--k': 1.0,
         '--f': 1.0,
         '--m': 1.0,
         '--debug': False,
         'BDFNAME': os.path.join(test_path, 'celas1.bdf'),
         'BDFBASE': 'celas1',
     }
     solver = Solver(fargs, log=log)
     solver.run_solver()
예제 #2
0
 def test_cquad4_1(self):
     """runs a 1 element CQUAD4 problem"""
     fargs = {
         '--k': 1.0,
         '--f': 1.0,
         '--m': 1.0,
         '--debug': False,
         'BDFNAME': os.path.join(test_path, 'cquad4.bdf'),
         'BDFBASE': 'cquad4',
     }
     log = SimpleLogger('warning', encoding='utf8')
     solver = Solver(fargs, log=log)
     solver.run_solver()
예제 #3
0
 def test_conrod(self):
     """runs a 1 element CONROD problem"""
     fargs = {
         '--k': 1.0,
         '--f': 1.0,
         '--m': 1.0,
         '--debug': False,
         'BDFNAME': os.path.join(TEST_PATH, 'conrod.bdf'),
         'BDFBASE': 'conrod',
     }
     log = SimpleLogger('warning', encoding='utf8')
     solver = Solver(fargs, log=log)
     solver.run_solver()