zhangyongbing2009 / fem-python

Automatically exported from code.google.com/p/fem-python
0 stars 0 forks source link

import reduced stiffness matrix #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hallo Kanchan,

Please modify my codes to import the reduced stiffness matrix
into directsolve.py

Original issue reported on code.google.com by pasuta...@gmail.com on 4 Mar 2014 at 9:03

GoogleCodeExporter commented 9 years ago
added test function for testing
where in the input is from the data read directly which is not a reduced matrix
also removed self.solve from __init__ since we will be calling solve explicitly
in the main.py
I have not checked for running or syntaxing

Original comment by kanchan....@gmail.com on 4 Mar 2014 at 11:04

GoogleCodeExporter commented 9 years ago
There still exists the error from import.

"ImportError: No module named Direct_solve"

Original comment by pasuta...@gmail.com on 4 Mar 2014 at 7:15

GoogleCodeExporter commented 9 years ago
please try again with updated version

Original comment by kanchan....@gmail.com on 4 Mar 2014 at 7:39

GoogleCodeExporter commented 9 years ago
Now I got this error

stiff_matrix,mass_matrix,input_data = input_reader._test()
TypeError: 'NoneType' object is not iterable

Original comment by pasuta...@gmail.com on 4 Mar 2014 at 7:52

GoogleCodeExporter commented 9 years ago
[Errno 2] No such file or directory: '.\\input_files\\2d_beam_abq_2.inp'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\pop\Project-Work-ACM\googlecode\trunk\03_FEM_code\Direct_solver\direct_solve.py", line 131, in _test
    stiff_matrix,mass_matrix,input_data = input_reader._test()
TypeError: 'NoneType' object is not iterable

Original comment by pasuta...@gmail.com on 4 Mar 2014 at 7:54

GoogleCodeExporter commented 9 years ago

Original comment by kanchan....@gmail.com on 6 Mar 2014 at 1:10