Laplace equation is a 2D second order differential and appears in the Navier Stokes in the diffusion term; it also appears in the third equation of the 2D incompressible NS which is used to couple between pressure and velocity.
Actually in this post we will solve only the right hand side the equation:
We already seen how we discretize this - the central difference scheme:
Actually in this post we will solve only the right hand side the equation:
∂2p∂x2+∂2p∂y2=0
We already seen how we discretize this - the central difference scheme:
pni+1,j−2pni,j+pni−1,jΔx2+pni,j+1−2pni,j+pni,j−1Δy2=0