Optimizing input file for faster 3d D phase-field simulation #29658
Replies: 1 comment 4 replies
-
Hello Mesh and time discretizations are big factors on the computing time. Making sure they are optimal helps. A concern often when using adaptivity is that the initial partitioning is not great once the mesh is refined. Re partitioning is expensive so it can be a good idea to use a prior simulation mesh (using the checkpoint system, not using exodus) as the starting point. Here you only have two crystals right? So not very many order parameters. That's usually impactful but not here. Solver wise PJFNK with block jacobi is probably a weak option. Try to look into Newton if you have enough memory and a perfect Jacobian, and try to use a different preconditioner Why are you using vinewton for the snes type? Do you have constraints? |
Beta Was this translation helpful? Give feedback.
-
Dear Moose Community,
I am currently trying to reproduce the simulation results from the paper "Verma, M., & Mukherjee, R. (2021). Grain growth stagnation in solid state thin films: A phase-field study. Journal of Applied Physics, 130(2)." In this study, I am modeling a 3D bicrystal simulation (
surf_circular_matrix_gg_3d_split.txt), as shown below.
However, I am experiencing significantly slower computation times for the 3D simulation compared to the 2D case. Specifically, when running the simulation for a time step t=1, it takes around 4021.53s on my server for the 3D case. On the other hand, when I reduce the problem to 2D, the same simulation step only takes 27.78s.
Given this, I would like to know what aspects of my input file I should focus on optimizing to improve the computational efficiency of the 3D simulation. Any suggestions on specific parameters, solvers, or techniques that could help speed up the calculation would be greatly appreciated.
Thank you in advance for your insights!
Best regards,
Wei
Beta Was this translation helpful? Give feedback.
All reactions