← Back to team overview

dolfin team mailing list archive

Re: [Question #145492]: solving problem with vectorvalued function

 

Question #145492 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/145492

    Status: Answered => Open

Melanie Jahny is still having a problem:
Thank you for your quick answer!!!
I think I'm using the newest fenics version 0.9.4.
I tried the new code, and it works:
du = TrialFunction(V)
dF = derivative(F, u, du)

problem = VariationalProblem(F, dF)

But I cannot get the solution of the problem, I can neither call:
problem.solve(u)

nor

solver = NewtonSolver("lu")
solver.parameters["convergence_criterion"] = "incremental"
solver.parameters["relative_tolerance"] = 1e-6
solver.solve(problem, u.vector())

What can I do to get the solution???

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups

References