Thanks. Yeah, I see that the problems are all coming from my input script. User error I guess. I see a few other similar errors and will try the conversion script.
I am freaking out a bit that papers for SciPy are due a week from tomorrow. But I have been making some progress reading a really good book:
@book{CookBook, author = {Robert D. Cook and David S. Malkus and Michael E. Plesha and Robert J. Witt}, title = {Concepts and Applications of Finite Element Analysis}, year = {2002}, isbn = {0471356050}, publisher = {John Wiley \& Sons}, }
I think I now understand the difference between a weak and a strong formulation and how to get a matrix equation from a potential energy functional. Now I need to try a simple SfePy problem and make sure I understand it. Then I need to create a simulation with two bodies (giving SfePy multi-body dynamics capabilities), write algorithms to detect contact, and get a nonlinear material model working that incorporates large deformations and yielding.
So, I am obviously not going to be as far as I would like when the paper is due. But I would like to have a good chunk of it done before my presentation at the conference so I don't embarrass myself. The good news is that my summer class is done (once I submit my grades) and I can work on this pretty much full time until SciPy.
Ryan
On Thu, Jul 31, 2008 at 7:41 AM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
Hi Ryan,
I have already wanted to ask you how you are doing... :)
The problem you see is caused by changing SfePy naming conventions to follow PEP 8, see 'new coding style' message to this list.
Just rename 'fileName_mesh' to 'filename_mesh' in your input file.
You can use './script/edit_identifiers.py <files>' if you have more files, just not that the automatic conversion is not perfect, sometimes (really not often) it edits too much.
r.
Ryan Krauss wrote:
I am having problems running my script after an HG update this morning:
In [1]: run simple.py from_Robert.py sfepy: error: required missing: ['filename_mesh'] sfepy: left over: ['E', '__builtins__', '__file__', 'tractionLoad', '__name__', 'lamb', 'mu', 'fileName_mesh', 'v', '__doc__']
<type 'exceptions.ValueError'> Traceback (most recent call last)
/home/ryan/siue/Research/SfePy/first_problem/simple.py in <module>() 100 101 if __name__ == '__main__': --> 102 main() 103 104
/home/ryan/siue/Research/SfePy/first_problem/simple.py in main() 85 other.extend( ['equations'] ) 86 ---> 87 conf = ProblemConf.from_file( filename_in, required, other ) 88 ## print conf 89 ## pause()
/home/ryan/svn/sfepy/sfepy/base/conf.py in from_file(filename, required, other) 155 obj.__dict__.update( define_dict ) 156 --> 157 other_missing = obj.validate( required = required, other = other ) 158 for name in other_missing: 159 setattr( obj, name, None )
/home/ryan/svn/sfepy/sfepy/base/conf.py in validate(self, required, other) 218 219 if err: --> 220 raise ValueError 221 222 return other_missing
<type 'exceptions.ValueError'>: WARNING: Failure executing file: <simple.py>
In [2]: %debug
/home/ryan/svn/sfepy/sfepy/base/conf.py(220)validate() 219 if err: --> 220 raise ValueError 221
The files I am trying to use are attached.
Thanks,
Ryan