Hi,
I am trying to run a 2d laminar pipe flow simulation. I get the following error when I run simple.py:
sfepy: left over: ['verbose', '__builtins__', '__file__', 'absolute_import', '__name__', '__package__', '_filename', '__doc__'] Traceback (most recent call last): File "/scratch/sfepy/simple.py", line 170, in <module> main() File "/scratch/sfepy/simple.py", line 155, in main define_args=options.define_args) File "/scratch/sfepy/sfepy/base/conf.py", line 383, in from_file_and_options override=override, setup=setup) File "/scratch/sfepy/sfepy/base/conf.py", line 369, in from_file override=override, setup=setup) File "/scratch/sfepy/sfepy/base/conf.py", line 415, in __init__ required=required, other=other) File "/scratch/sfepy/sfepy/base/conf.py", line 433, in setup self.transform_input() File "/scratch/sfepy/sfepy/base/conf.py", line 506, in transform_input self.__dict__[key] = transform(self.__dict__[key]) File "/scratch/sfepy/sfepy/base/conf.py", line 187, in transform_fields if c2.dtype in dtypes: TypeError: unhashable type: 'dict'
the problem setup file and mesh are attached. Could you tell me where I am going wrong?
Best regards, Nikhil
Hi,
To make the example run:
- line 23: remove the comma behind the field definition - this fixes the error
- line 40: use -0.00001
- line 51: use Walls
r.
On 09/16/2016 02:16 PM, Nikhil Vaidya wrote:
Hi,
I am trying to run a 2d laminar pipe flow simulation. I get the following error when I run simple.py:
sfepy: left over: ['verbose', '__builtins__', '__file__', 'absolute_import', '__name__', '__package__', '_filename', '__doc__'] Traceback (most recent call last): File "/scratch/sfepy/simple.py", line 170, in <module> main() File "/scratch/sfepy/simple.py", line 155, in main define_args=options.define_args) File "/scratch/sfepy/sfepy/base/conf.py", line 383, in from_file_and_options override=override, setup=setup) File "/scratch/sfepy/sfepy/base/conf.py", line 369, in from_file override=override, setup=setup) File "/scratch/sfepy/sfepy/base/conf.py", line 415, in __init__ required=required, other=other) File "/scratch/sfepy/sfepy/base/conf.py", line 433, in setup self.transform_input() File "/scratch/sfepy/sfepy/base/conf.py", line 506, in transform_input self.__dict__[key] = transform(self.__dict__[key]) File "/scratch/sfepy/sfepy/base/conf.py", line 187, in transform_fields if c2.dtype in dtypes: TypeError: unhashable type: 'dict'
the problem setup file and mesh are attached. Could you tell me where I am going wrong?
Best regards, Nikhil
participants (2)
-
Nikhil Vaidya
-
Robert Cimrman