| All methods for nonlinear equations are iterative methods where each
step of iteration is solving a linear equation. If it is just a one
time deal, you could just hack something up on top of your linear
equation package. Otherwise, there are packages readily made for this
kind of thing on the market.
Eugene
|
| It seems to me your PDE IS linear. Nonlinearity in the forcing
function g(x,y,z,t) does not make the PDE nonlinear.
(Unless g depends on the solution u or its partials, in which case
the dependences should be shown explicitly.)
|
| � Basically the equation is
�
� u[t] = (K/C) (u[xx] + u[yy] + u[zz]) + g(x,y,z,t)/C
�
� where the subscripts denote partial derivatives and K is the thermal
� conductivity and C is the heat capacity and G is the unit power
� delivered to the medium per unit volume.
If the equation is indeed as shown, then it would probably be best
to solve it using an iterative method, such as SOR, (Gauss-Seidel),
ADI, or something similar, on a finite element or finite difference
mesh. This has the advantage that you can prime the iteration
for the next value of the inhomogenous forcing term g(t) with the
previous solution, leading to swift reconvergence. In fact, you can
extrapolate the delta's seen at the nodes from one time step to the
next to get even faster convergence. In addition, with an iterative
technique you won't have to set up banded matrices, and can do the
iteration right on the topology of the problem.
I feel that a finite element mesh will be preferable to a finite
difference mesh, since it is substantially more accurate for the
same number of nodes, particularly if quadratic (or higher) elements
are used. At least as long as the solution is expected to be moderatly
smooth...
There are a large number of books on finite element solutions to
PDE's. One introduction that I like is the first volume of the
series by J. T. Oden (and someone else) published by Prentiss Hall.
I can get you the exact title but the book is at home.
It may be worth looking thru NETLIB at ITPACK (iterative solver
package) to see if there is something useful. I don't have direct
experience with it though.
My own experience with this is electromagnetic problems - waveguide and
microstrip analysis - rather than heat or elasticity, but the equations
are all the same.
- Jim
|