integrating problem
i wrote defenitions , variational problem and error shown . what does this error mean and how can be solved .
(sigma, u) = TrialFunctions(W)
(sigmas, us) = TrialFunctions(W)
(tau, v) = TestFunctions(W)
e = Function (BDM)
# Forward problem
a = C*(dot(sigma, tau) + div(tau)*u + div(sigma)*v)*dx
L = 0.0
e = sigma
# Adjoint problem
aa = C*(dot(sigmas, tau) + div(tau)*us + div(sigmas)*v)*dx
La = D*v*(sigma)*dx
Trying to integrate expression of rank 1 with free indices ().
Traceback (most recent call last):
File "3.py", line 64, in <module>
La = D*v*(sigma)*dx
File "/home/
% (integrand.rank(), integrand.
File "/home/
if not condition: error(*message)
File "/home/
raise UFLException(
ufl.log.
regards .
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask eagle for more information if necessary.