# 2D formulation for Electrostatic Problems

From KratosWiki

The 2D Electrostatic Poisson's equation given by the governing PDE and its boundary conditions:

can be written as (see the General formulation for Electrostatic Problems):

with (* n* is the number of nodes of the element):

## 2D formulation for Triangular Elements

After applying the numerical integration for triangular elements by using the natural coordinates, we obtain:

### Stiffness Matrix K^{(e)}

### Source Vector f^{(e)}

- Linear case (
**n**=1 integration point):_{p}

- Linear case (