Changes between Version 28 and Version 29 of u/erica/PoissonSolver
- Timestamp:
- 08/19/13 14:39:41 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/PoissonSolver
v28 v29 99 99 = The code = 100 100 101 Here is an html copy of my code -101 Here is an html copy of my [code] and [problem.data]. 102 102 103 103 = Tests and Results = 104 104 105 I followed the suggested exercises [http://www.rsmas.miami.edu/personal/miskandarani/Courses/MSC321/Projects/prjpoisson.pdf here] for the 1D problem. 106 105 107 == Test 1 - Laplace's Equation == 108 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: 106 110 107 111 == Test 2 - Poisson's Equation with simple forcing == 108 112 109 == Test 3 - Poisson's Equation with complicated forcing == 113 To test the code with a non-zero forcing function, I used the forcing function, f=6x 110 114 111 Properties - aka only an approximate solution now (?). Verify 2nd order (how?) 115 This also has a closed-form solution which I then used to check the code. It performed correctly: 112 116 113 Cite References 117 118 119 == Test 3 - Poisson's Equation with complicated forcing == 120 121 Lastly, I used a more complicated forcing function (refer to the reference). It also performed well. 122 123 = Questions = 124 125 1. Properties - aka only an approximate solution now (?). 126 2. Verify 2nd order by the error (how?) 127 3. How to specify von Neumann conditions numerically? 114 128 115 129 = References =