Startpage >> Main >> AnotherWay

Another Way

Using 2d tools tools for 1d problems

To solve the basic Laplace problem with homogeneous boundary conditions on \( (0,1)\) use 2d tools to construct the 1d problem.

Set a 2d mesh Th using a line of triangles sitting on \((0,1)\). This gives our first uniform partition on \((0,1)\) labelled by 1

All we need will be generated and stored in 2d structures and extracted from them.

Take a look at the following examples:

1d FreeFem++ examples

  1. Steady convection-diffusion equation with remeshing example1
  2. Steady reaction-diffusion equation with remeshing example2
  3. Non steady heat equation equation example3
  4. Non steady Black-Scholes equation example4
  5. Wave equation with Crank-Nicolson example5

return to 1d examples

Page last modified on June 27, 2018, at 03:51 PM