Changes between Version 29 and Version 30 of u/erica/PoissonSolver


Ignore:
Timestamp:
08/19/13 14:49:47 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/PoissonSolver

    v29 v30  
    109109This was just a basic test of the ability of the solver to converge to the correct solution. Given Laplace's equation in 1D is very easy to solve by hand, I could verify the code's ability to reproduce the analytical result. This it did well:
    110110
     111[[Image(laplace.png, 40%)]]
     112
    111113== Test 2 - Poisson's Equation with simple forcing ==
    112114
    113115To test the code with a non-zero forcing function, I used the forcing function, f=6x
    114116
    115 This also has a closed-form solution which I then used to check the code. It performed correctly:
     117This also has a closed-form solution which I then used to check the code. It performed correctly.
     118
     119Here is the initial condition:
     120
     121[[Image(simpleInit.png, 40%)]]
     122
     123Here is the solution:
     124
     125[[Image(simpleFinal.png, 40%)]]
    116126
    117127
     
    120130
    121131Lastly, I used a more complicated forcing function (refer to the reference). It also performed well.
     132
     133Here is the initial condition:
     134
     135[[Image(complexInit.png, 40%)]]
     136
     137Here is the solution:
     138
     139[[Image(complexFinal.png, 40%)]]
    122140
    123141= Questions =