def setUp(self):
     self.parts = create_linear_tet_part()
     self.ntr_mesh_file = os.path.join('py_bonemat_abaqus','tests','test1.ntr')
     create_ntr_file(self.ntr_mesh_file)
     output_abq_inp(self.parts, self.ntr_mesh_file, 0.35)
     self.inp_mesh_file = os.path.join('py_bonemat_abaqus','tests','test2.inp')
     create_inp_file(self.inp_mesh_file)
     output_abq_inp(self.parts, self.inp_mesh_file, 0.35)
Beispiel #2
0
 def setUp(self):
     self.parts = create_linear_tet_part()
     self.ntr_mesh_file = os.path.join('py_bonemat_abaqus', 'tests',
                                       'test1.ntr')
     create_ntr_file(self.ntr_mesh_file)
     output_abq_inp(self.parts, self.ntr_mesh_file, 0.35)
     self.inp_mesh_file = os.path.join('py_bonemat_abaqus', 'tests',
                                       'test2.inp')
     create_inp_file(self.inp_mesh_file)
     output_abq_inp(self.parts, self.inp_mesh_file, 0.35)
 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)
Beispiel #4
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)