-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D grids much slower than 1D/2D with similar number of cells #953
Comments
Turns out that 50 * 50 * 50 grids require a huge amount of time for calculation. |
I've found the same thing. I haven't had time to figure out why. My laptop can readily handle 2D problems with an order of magnitude more degrees of freedom. |
I did a simple experiment on it and the results are shown in the image below. The increase in time cost for grid size from 10 to 40 is phenomenal. I am trying to figure out a way to do non-uniform mesh, maybe with Gmesh. If you have any good resources about FiPy with non-uniform mesh, will really appreciate it if you could let me know. |
Why did you close this? It's a legitimate issue. |
I'm sorry! New to this forum and not very familiar with how the threads work. I thought my investigation was enough to explain the phenomenon, plus there was no updated conversation, so I thought I should close it as I, the questioner, had gotten the answer. It will never happen again. |
Understood. If it's a question about how to do things, it's fine for you to close it when you think it's been addressed, but when there's a problem with FiPy, we prefer to keep them open so we don't lose sight of them. I realize it may not always be obvious which-is-which, which is one reason I've been shunting the former over to discussions. In this case, while I haven't had time to troubleshoot, and I really don't understand what's happening, there's definitely a problem. |
Hi, I am trying to modify the code from examples/diffusion/mesh1D.py to a simple 3D case. The code is shown below, which is however not working. I also tried the steady-state equation which is not working, either.
I noticed that it gets stuck at
eq.solve(var=phi, dt=timeStepDuration)
at the very beginning.Could anyone point out where I got it wrong?
The text was updated successfully, but these errors were encountered: