MATLAB Solving Poisson's Equation in Finite Difference Method with Matlab

  • Thread starter Thread starter indrani
  • Start date Start date
Click For Summary
The discussion centers on solving the Poisson equation using the finite difference method in MATLAB. The equation presented is (δ²φ)/(δx²) = (-ρ/ϵ)N(x), where N(x) is defined as a sum of Gaussian functions. Clarification is sought regarding the correctness of the equation's formulation, specifically whether it is expressed in Cartesian coordinates and if N(x) is in the numerator. It is confirmed that the equation is indeed in Cartesian coordinates and that N(x) represents a one-dimensional doping concentration. The conversation also touches on integrating the equation and applying boundary conditions, suggesting that integration could be a viable approach to solve the equation effectively.
indrani
Messages
2
Reaction score
0
I have a problem solving poisson equation in finite difference method using matlab.

the equation is (δ^2 φ)/(δx^2 )=(-ρ/ϵ N(x))

where N(x)= a1*exp(-((x-b1)/c1)^2) + a2*exp(-((x-b2)/c2)^2)
 
Physics news on Phys.org
Is this written correctly?
\frac{\partial}{\partial x} \left( \frac{\partial \psi}{\partial x} \right)=\frac{- \rho}{\varepsilon} N\left( x \right)
Is this equation in cartesian coordinates, or spherical or cylindrical coordinates? Is N(x) in the numerator?
 
it is in cartesian coordinate.I have to solve in 1Dimention. N(x) is in numerator and it is the doping concentration which is a Gaussian in nature
 
Is this true (i.e., 1-D Poisson equation); with N(x) being a function of x only?
-d \left( \frac{\partial \psi}{\partial x} \right)= d E_x (x) =\frac{+ \rho}{\varepsilon} N\left( x \right) dx
Then can't you integrate both sides and put in boundary conditions?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
955
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K