Does anybody know some examples or notebooks in Mathematica about finite
difference method for solving nonlinear PDEs?
I know about NDsolve which is not what I am looking for.I would like to
know about using Mathematica for finite difference method and etc.
Thank you!
Pasha
Google is your friend here: try googling "Mathematica finite difference
method PDE" (w/o the quotes). Among many other results, you could have a
closer look at,
"Module for Hyperbolic P.D.E.'s"
http://math.fullerton.edu/mathews/n2003/FiniteDifferencePDEMod.html
"Comparison of two different implementations of a
finite-difference-method for first-order pde in mathematica..."
http://arxiv.org/abs/cs.CE/0506051v1
"Math 221: Numerical Solution of Partial Differential Equations Part I"
http://www.amath.unc.edu/Faculty/mitran/courses/math221.html
Regards,
-- Jean-Marc
http://www.mathematicaguidebooks.org/
Of course, if you have the cash, there is an AceFEM package on the
Wolfram site you might want to look at.
As a side note, you may not want to implement a pure FE code in
Mathematica as you traditionally would in a procedural language like,
say, FORTRAN, or C. Solving these systems symbolically might make more
sense for some systems when using Mathematica. Having said that, I
myself am very new to Mathematica and have not coded any FE or FD
projects, so take that into consideration. Personally, I would love to
see a side-by-side solution of an FE system (even a simple 2D Heat
Eqn) in a procedural language like FORTRAN and the corresponding
solution in Mathematica.
Hope that gives you a starting point
t.
> Does anybody know some examples or notebooks in Mathematica
> about finite difference method for solving nonlinear PDEs?
> I know about NDsolve which is not what I am looking for.I
> would like to know about using Mathematica for finite
> difference method and etc.
The IMTEK Library includes some finite difference routines.
Regards
Dave.
Also,
> Personally, I would love to
> see a side-by-side solution of an FE system (even a simple 2D Heat
> Eqn) in a procedural language like FORTRAN and the corresponding
> solution in Mathematica.
>
For a school HW, this is a Mathematica implementation of finite difference
and finite element to compare the two numerical methods.
I have an Ada implementation (i.e. procedural) there as well for the same
problem (Finite element part) minus the GUI stuff as Ada does not have GUI
build-in as Mathematica does.
Nasser
http://www.imtek.de/simulation//mathematica/IMSweb/
It is very impressive; I wish I could understand and exploit 10% of
what this package looks capable of. You can use it to set up and
solve all kinds of node-based system equations, from analog circuits
to FEA.