Hi sfepy-devel,
The following simulation
https://github.com/materialsinnovation/pymks/blob/master/pymks/datasets/elas...
used to work on SfePy version 2014.4
but no longer works on version
2015.2
. Do you have any guidance on what went wrong? Below is a console
printout:
Traceback (most recent call last): File "/Users/fredhohman/anaconda/lib/python2.7/sitepackages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Users/fredhohman/anaconda/lib/python2.7/sitepackages/pymks/tests/test.py", line 12, in test_elastic_FE_simulation_3D model.run(X) File "/Users/fredhohman/anaconda/lib/python2.7/site- packages/pymks/datasets/elastic_FE_simulation.py", line 190, in run strain_, displacement_, stress_ = self._solve(x) File "/Users/fredhohman/anaconda/lib/python2.7/site- packages/pymks/datasets/elastic_FE_simulation.py", line 547, in _solve mode='el_avg')) File "/Users/fredhohman/anaconda/sfepy/sfepy/discrete/problem.py", line 1245, in evaluate verbose=verbose, **kwargs) File "/Users/fredhohman/anaconda/sfepy/sfepy/discrete/problem.py", line 1186, in create_evaluable kwargs=kwargs) File "/Users/fredhohman/anaconda/sfepy/sfepy/discrete/evaluate.py", line 211, in create_evaluable user=extra_args, verbose=verbose) File "/Users/fredhohman/anaconda/sfepy/sfepy/discrete/equations.py", line 64, in from_conf materials, integrals, user=user) File "/Users/fredhohman/anaconda/sfepy/sfepy/discrete/equations.py", line 749, in from_desc terms.assign_args(variables, materials, user) File "/Users/fredhohman/anaconda/sfepy/sfepy/terms/terms.py", line 286, in assign_args term.assign_args(variables, materials, user) File "/Users/fredhohman/anaconda/sfepy/sfepy/terms/terms.py", line 497, in assign_args % arg_name) ValueError: material argument m not found!
Thanks, Fred