devito
devito copied to clipboard
Solution in example on internal nodes converge with 0 with high grid density in poisson and laplace examples.
Hello,
I find a strange behavior in the examples I tried on examples/cfd/Laplace and Poisson (using the hand-coded method) : The higher the grid resolution is, the more the internal nodes are converging to 0, which seem to be not physical. Could someone tell me what is going on these examples ?
Here is the laplace example with nx = ny = 500
And here with nx = ny = 100
Thank you for all the documentation around this library and thank you in advance for your help.
Roman
This seems to be more of a math question than a devito question. If you increase the number of grid points while keeping the rest fixed (including the physical extent of the grid, the source location, the number of timesteps ...), then that should be the expected behavior
Sorry if my question was not in the field of devito, I felt it was, as my question is still related to physics. To clarify my question my reasoning is the following : Let us consider an area of 1km by 2km. The space is discretised in Nx * Ny points to approximate the continuous space. And therefore we compute with the finite diffference method to approximate a continuous solution. So to me, if only the grid resolution vary (not the physical size of the area), we should converge to a continuous solution. And when above a given resolution the result should not change any more, is it not right ?
I will try soon with devito this example, I used the explicitly written method of the example for the moment.
Closing. Feel free to use Slack for this sort of higher level questions