[FLASH-USERS] Amr control

Reyes, Adam adam.reyes at rochester.edu
Tue May 21 04:19:44 EDT 2024


Hi Andres,

A simple approach might be to play around with the various [de]refine_cutoff_n and refine_filter_n runtime parameters (see here <https://flash.rochester.edu/site/flashcode/user_support/rpDoc_4p8.py?submit=rp_Grid.txt>) for the “refine_var_n” that is giving you trouble to see if they can prevent refinement on spurious features. Alternatively you can always fully customize the refinement of the grid.

The refinement is controlled by calls to “source/Grid/GridMain/paramesh/Grid_markRefineDerefine.F90”. You can copy this file into your simulation directory and customize it to do what you want. Typically you would leave everything the same and at the end of the routine after the call: "call Particles_sinkMarkRefineDerefine()” you can add any number of calls to “Grid_markRefineSpecialized <https://flash.rochester.edu/site/flashcode/user_support/robodoc-FLASH4_4p8/home.py?submit=docs/source/Grid/Grid_markRefineSpecialized_F90.html#robo182>” that contains a number of methods for specifying the refinement. You can always add your own criteria.
*********************************************
Adam Reyes


Code Group Leader, Flash Center for Computational Science  
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369  
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)


*********************************************



> On May 21, 2024, at 10:06 AM, ANDRES CALVO RIVERA <andcalvo at ing.uc3m.es> wrote:
> 
> Dear Flash users,
> 
> This is a rather beginner's question (a bit silly perhaps). I wanted to know if there is a simple way to fix the mesh in cases where the amr could be detrimental. Or even refine an area manually and make it fixed.
> 
> For context, the initial instant is generated irregularly, and subsequently refines two additional shocks that are not of interest.
> 
> Thanks in advance.
> Best regards,
> Andrés
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
> 
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240521/d4d71244/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH.jpg
Type: image/jpeg
Size: 23876 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240521/d4d71244/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH-pride-sml.png
Type: image/png
Size: 12732 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240521/d4d71244/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1391 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240521/d4d71244/attachment-0001.p7s>


More information about the flash-users mailing list