Exemple #1
0
 def setUp(self):
     # define input arguments
     self.param_file = os.path.join('py_bonemat_abaqus', 'tests',
                                    'test.txt')
     create_parameters(self.param_file)
     self.param_Ea = -3.842
     self.param = import_parameters(self.param_file)
 def setUp(self):
     self.param_file = os.path.join('py_bonemat_abaqus', 'tests', 'test.txt')
     create_parameters(self.param_file)
     self.param = import_parameters(self.param_file)
     self.param2 = self.param
     self.param2['version'] = 2
     self.param3 = self.param
     self.param3['version'] = 3
     self.part = create_linear_tet_part()
     self.vtk = create_vtk()
     self.part = calc_mat_props(self.part, self.param, self.vtk)
     self.part2 = calc_mat_props(self.part, self.param2, self.vtk)
     self.part3 = calc_mat_props(self.part, self.param3, self.vtk)
Exemple #3
0
 def setUp(self):
     self.param_file = os.path.join('py_bonemat_abaqus', 'tests',
                                    'test.txt')
     create_parameters(self.param_file)
     self.param = import_parameters(self.param_file)
     self.param2 = self.param
     self.param2['version'] = 2
     self.param3 = self.param
     self.param3['version'] = 3
     self.part = create_linear_tet_part()
     self.vtk = create_vtk()
     self.part = calc_mat_props(self.part, self.param, self.vtk)
     self.part2 = calc_mat_props(self.part, self.param2, self.vtk)
     self.part3 = calc_mat_props(self.part, self.param3, self.vtk)
 def setUp(self):
     self.abq_mesh_file = os.path.join('py_bonemat_abaqus','tests','test.inp')
     self.ntr_mesh_file = os.path.join('py_bonemat_abaqus','tests','test.ntr')
     create_inp_file(self.abq_mesh_file)
     create_ntr_file(self.ntr_mesh_file)
     self.num_parts = 1
     self.abq_num_elements = 1
     self.ntr_num_elements = 1
     self.ele_type = "linear_tet"
     self.ele_type2 = "quad_tet"
     self.num_ele_nodes = 4
     self.num_ele_nodes_quad = 10
     self.param_file = os.path.join('py_bonemat_abaqus','tests','test.txt')
     create_parameters(self.param_file)
     self.param = import_parameters(self.param_file)
     self.abq_mesh = import_mesh(self.abq_mesh_file, self.param)
     self.ntr_mesh = import_mesh(self.ntr_mesh_file, self.param)
Exemple #5
0
 def setUp(self):
     self.abq_mesh_file = os.path.join('py_bonemat_abaqus', 'tests',
                                       'test.inp')
     self.ntr_mesh_file = os.path.join('py_bonemat_abaqus', 'tests',
                                       'test.ntr')
     create_inp_file(self.abq_mesh_file)
     create_ntr_file(self.ntr_mesh_file)
     self.num_parts = 1
     self.abq_num_elements = 1
     self.ntr_num_elements = 1
     self.ele_type = "linear_tet"
     self.ele_type2 = "quad_tet"
     self.num_ele_nodes = 4
     self.num_ele_nodes_quad = 10
     self.param_file = os.path.join('py_bonemat_abaqus', 'tests',
                                    'test.txt')
     create_parameters(self.param_file)
     self.param = import_parameters(self.param_file)
     self.abq_mesh = import_mesh(self.abq_mesh_file, self.param)
     self.ntr_mesh = import_mesh(self.ntr_mesh_file, self.param)
 def setUp(self):
     # define input arguments
     self.param_file = os.path.join('py_bonemat_abaqus','tests','test.txt')
     create_parameters(self.param_file)
     self.param_Ea = -3.842
     self.param = import_parameters(self.param_file)