Your definition of variables is probably wrong, cf. [1] - cannot say more without seeing the problem description file.
r.
[1] http://sfepy.org/doc-devel/users_guide.html#variables
On 08/31/2016 10:18 AM, Nikhil Vaidya wrote:
When I run a simulation i get the following error:
Traceback (most recent call last): File "C:\sfepy\simple.py", line 170, in <module> main() File "C:\sfepy\simple.py", line 163, in main app = PDESolverApp(conf, options, output_prefix) File "C:\sfepy\sfepy\applications\pde_solver_app.py", line 137, in __init__ self.problem = Problem.from_conf(conf, init_equations=is_eqs, **kwargs) File "C:\sfepy\sfepy\discrete\problem.py", line 120, in from_conf obj.set_equations(conf.equations, user={'ts' : obj.ts}) File "C:\sfepy\sfepy\discrete\problem.py", line 411, in set_equations variables = Variables.from_conf(self.conf_variables, self.fields) File "C:\sfepy\sfepy\discrete\variables.py", line 156, in from_conf var = Variable.from_conf(key, val, fields) File "C:\sfepy\sfepy\discrete\variables.py", line 809, in from_conf raise ValueError('variable kind is 2 or 3 words! (%s)' % conf.kind) ValueError: variable kind is 2 or 3 words! (test_field)
The above error message is displayed after the region definition process. Can you tell me what is causing this issue?
Best regards, Nikhil