Interpolation From Plot File #641
-
Hello, I attempted to start from a plt file and a chk file while changing the grid resolution by doubling it or halving it. Each time I started from a different resolution from either file it throws a Segfault error. However, starting from those files without changing the resolution works just fine. Are there any additional steps to take besides the ones listed above to use the interpolation feature? Thanks in advance. I did look through the other posts concerning this and followed those steps which is what led me to the above errors. However, since the post was answered I thought it might get lost. Sorry if this double post is unnecessary. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
What case are you running? Does it have EB? PeleC utilizes the PltFileManager utility in PelePhysics to restart from plt files. This utility does not support restarting with a coarser base grid than the plt file from which you are restarting. However, it should support restarting with a finer grid, and it appears there may be a bug in the code for that, which is causing your segfault for this case. Note also that PeleC does not support changing the base grid when restarting from chk files. I did some quick tests and I am able to restart from a plt file in the EB-ConvergingNozzle case, but not in the PMF case. @marchdf and @jrood-nrel I think this has to do with when the EB ifdefs were removed from PeleC. Commenting out the EB ifdef here in AMReX |
Beta Was this translation helpful? Give feedback.
-
The fix for this has now been merged into the development branch (#645). Now when interpolating from a coarer pltfile, use |
Beta Was this translation helpful? Give feedback.
The fix for this has now been merged into the development branch (#645). Now when interpolating from a coarer pltfile, use
pelec.init_pltfile_coarse_levels
in the input file to specify how many coarser levels the pltfile data has than the new simulation.