[FLASH-USERS] force a derefinement?

Samuel Friedman friedman at astro.wisc.edu
Tue Dec 1 18:04:31 EST 2009


FLASH3.2 has introduced the ability to enforce a different maximum 
refinement as a function of time.  Using this as a template and the code 
for Grid_markRefineSpecialized, I wrote a Grid_markDerefineSpecialized 
that will derefine a region down to a given refinement level.  I did this 
based on position in the grid, but you could easily do this based on time 
instead.

Sam

On Tue, 1 Dec 2009, Andrew Szymkowiak wrote:

>   I would like the later parts of a simulation to run at a lower resolution.
> I first thought I might just lower lrefine_max during a restart, but got
> errors (with FLASH version 3.2) like
> 
> ERROR in mpi_amr_1blk_guardcell : pe            2  working on lb            1
>  neigh            3           1           3  cannot find surrblk            3,
> etc
> 
> Is there a way to get this to work?  Or a standalone utility, that would read
> in a checkpoint file, and rebin to a coarser mesh? I can imagine writing such
> a thing, but am hoping not to have to re-invent a wheel...
> 
> Thanks,
>    Andy S.
> 



More information about the flash-users mailing list