Fem-fenics: Difference between revisions

144 bytes added ,  8 September 2013
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
Here is a first example for the solution of the Poisson equation.  
Here is a first example for the solution of the Poisson equation.  
The equation being solved is
The equation being solved is
<math>  -\mathrm{div}\ (\nabla u(x, y)) ) = f \qquad \mbox{ in } \Omega</math>
 
<math>  -\mathrm{div}\ ( \nabla u(x, y) ) ) = 1 \qquad \mbox{ in } \Omega</math>
 
<math> u(x, y) = 0 \qquad \mbox{ on } \Gamma_D </math>
 
<math> ( \nabla u(x, y) )  \cdot \mathbf{n} = 0 \qquad \mbox{ on } \Gamma_N</math>
 
<div style="width: 100%;">
<div style="width: 100%;">
   <div style="float:left; width: 48%">
   <div style="float:left; width: 48%">
60

edits