Changes between Version 29 and Version 30 of u/erica/PoissonSolver
- Timestamp:
- 08/19/13 14:49:47 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/PoissonSolver
v29 v30 109 109 This 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: 110 110 111 [[Image(laplace.png, 40%)]] 112 111 113 == Test 2 - Poisson's Equation with simple forcing == 112 114 113 115 To test the code with a non-zero forcing function, I used the forcing function, f=6x 114 116 115 This also has a closed-form solution which I then used to check the code. It performed correctly: 117 This also has a closed-form solution which I then used to check the code. It performed correctly. 118 119 Here is the initial condition: 120 121 [[Image(simpleInit.png, 40%)]] 122 123 Here is the solution: 124 125 [[Image(simpleFinal.png, 40%)]] 116 126 117 127 … … 120 130 121 131 Lastly, I used a more complicated forcing function (refer to the reference). It also performed well. 132 133 Here is the initial condition: 134 135 [[Image(complexInit.png, 40%)]] 136 137 Here is the solution: 138 139 [[Image(complexFinal.png, 40%)]] 122 140 123 141 = Questions =