Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
PDE solution at mesh points
Posted 30 juil. 2009, 07:00 UTC−4 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am solving a PDE problem. I want to collect the solution information at the corresponding mesh points. I already know that I can get my solution in fem.sol.u and mesh points in fem.mesh.p. However, I still couldn't find a way to establish their relationship. For example, let the number of mesh points be 1000, then the solution will have size of 1000*Nt, where Nt is the number of time steps. I have already plotted the solution at some mesh points, and noticed that u(i,t) is not the expected solution at mesh point i. So, what's the correct mapping between them. I'd appreciate it if someone can help me.
Windson
I am solving a PDE problem. I want to collect the solution information at the corresponding mesh points. I already know that I can get my solution in fem.sol.u and mesh points in fem.mesh.p. However, I still couldn't find a way to establish their relationship. For example, let the number of mesh points be 1000, then the solution will have size of 1000*Nt, where Nt is the number of time steps. I have already plotted the solution at some mesh points, and noticed that u(i,t) is not the expected solution at mesh point i. So, what's the correct mapping between them. I'd appreciate it if someone can help me.
Windson
2 Replies Last Post 31 juil. 2009, 04:21 UTC−4