<div dir="ltr">Dear Klaus, Ryan,<div><br></div><div>Thank you for your answers, suggestions. Ryan, in light of what Klaus wrote, I believe that there is not much hope to switch to periodic boundaries once the block connections are not set up that way initially. </div><div>What if I initialize a dummy simulation, with the same amount of blocks/refinement, but initially periodic. Then, I just replace the variables in this periodic checkpoint file with my variables from the checkpoint file at time t. Would that work? Is the topology consistent between identical "looking" checkpoint files (same number,size,refinement of blocks) coming from two separate setups?</div><div><br></div><div>Thank you very much,</div><div><br></div><div>Norbert</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ryan Farber <<a href="mailto:rjfarber@umich.edu">rjfarber@umich.edu</a>> ezt írta (időpont: 2019. máj. 6., H, 18:18):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Norbert,</div><div><br></div><div>Which version of FLASH are you using? I'm using 4.2.2, which is rather old but I have Grid_init.F90 call RuntimeParameters_get() for the boundary types and it looks to me that Grid_init.F90 should do that whether or not restarting. Also, Driver_initFlash.F90 calls Grid_init independent of restarting. So, I haven't tested it on my end but I would expect what you're trying to do to work for me.</div><div><br></div><div>If you're using a more recent FLASH version and things have changed then you can "grep -in zl_boundary_type *.F90" in your object directory to see where the code reads the value from flash.par and either modify that subroutine to do it even if restarting or place a call to RuntimeParameters_get() for the boundary types near the bottom of Driver_initFlash.F90.</div><div><br></div><div>Best,<br></div><div><div><div dir="ltr" class="gmail-m_-4456206534123753394gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 4, 2019 at 2:36 PM Magyar Norbert <<a href="mailto:magyar.f.norbert@gmail.com" target="_blank">magyar.f.norbert@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear FLASH developers,<div><br></div><div>I want to run a simulation until some time t. Then, using the checkpoint file at time t, I would like to restart the simulation, but instead of user or outflow boundary conditions as until time t, now with periodic boundaries. Is there a way to do this? The flash.par file info is not accounted for when doing a restart from a checkpoint file. I tried to manually change the string in the 'runtimeparameters' in the hdf5 file, but apparently it does not work. Any suggestions?</div><div><br></div><div>All the best,</div><div><br></div><div>Norbert </div></div>
</blockquote></div>
</blockquote></div>