demo/twist/fishy.py crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CBC.Solve |
Confirmed
|
High
|
Harish Narayanan |
Bug Description
With the latest trunk (r751), the fishy.py example in demo/twist/ doesn't work.
[pef@caoimhe:
A hyperelastic fish being pushed by a flow to the right :)
Using HHT time-stepping.
Creating 0 Dirichlet boundary condition(s).
Converting given numerical parameter to DOLFIN Constant.
Converting given numerical parameter to DOLFIN Constant.
Converting given numerical parameter to DOLFIN Constant.
Converting given numerical parameter to DOLFIN Constant.
Applying Neumann boundary condition.
on_boundary
Solving the problem at time t = 0
Calling FFC just-in-time (JIT) compiler, this may take some time.
All terms in form must have same rank.
Traceback (most recent call last):
File "fishy.py", line 42, in <module>
problem.solve()
File "/data/
return self.solver.solve()
File "/data/
self.
File "/data/
problem = NonlinearVariat
File "/usr/lib/
F = Form(F, form_compiler_
File "/usr/lib/
common_cell)
File "/usr/lib/
return local_jit(*args, **kwargs)
File "/usr/lib/
return jit_compile(form, parameters=p, common_
File "/usr/lib/
return jit_form(
File "/usr/lib/
common_
File "/usr/lib/
analysis = analyze_
File "/usr/lib/
common_cell) for form in forms)
File "/usr/lib/
common_cell) for form in forms)
File "/usr/lib/
"All terms in form must have same rank.")
File "/usr/lib/
condition or error(*message)
File "<string>", line 1, in <lambda>
File "/usr/lib/
raise self._exception
Exception: All terms in form must have same rank.
This also applies to uniaxial- tension. py.