New answers tagged spectral-method
3
votes
Accepted
Where am I making a mistake in solving the heat equation using the spectral method (Chebyshev's differentiation matrix)?
The answer is quite simple:
You have to set the Neumann boundary condition $u_x(-1,x)=0$ explicitly
Add following line (fifth line):
...
Top 50 recent answers are included
Related Tags
spectral-method × 86finite-element × 14
pde × 14
finite-difference × 13
fourier-analysis × 12
fluid-dynamics × 11
matlab × 9
numerics × 9
boundary-conditions × 8
collocation × 7
chebyshev × 7
poisson × 5
python × 4
linear-solver × 4
fourier-transform × 4
eigenvalues × 3
interpolation × 3
discretization × 3
time-integration × 3
discontinuous-galerkin × 3
advection-diffusion × 3
approximation × 3
polynomials × 3
galerkin × 3
linear-algebra × 2