Hi,
I'm trying to solve a nonlinear heat equation,
$$ T \dot{T} = (T T')' ,$$
where $f$ is a constant and $T$ is to be solved. Boundary values are $T(t,x=0) = T(t,x=1) = 1$ and I also have some initial value for for T. The lattice is just a square lattice. I define the equation as follows:
F = (v*T*Dx(T,1)+T*Dx(v,0)*Dx(T,0))*dx - Constant(0.)*v*dx
and use the solver:
solve(F == 0, T, [bc,bc2], solver_parameters={"newton_solver":{"relative_tolerance": 1e-6}})
Newton solver doesn't seem to converge no matter what the initial conditions are (not even in the trivial case where solution is just $T= 1$). Linearized version of the equation solves just fine. I'd guess that providing the solver with a good initial guess would solve the problem. How do I do this?
I know that an initial value problem can be solved more easily by starting from the initial value and propagating the solution forward in time, but I want to solve it this way as a preparation for a more complicated problem that is not an initial value problem anymore.