[FLASH-USERS] Too many "Plot_vat_...=var_... " lines in flash.par

Reyes, Adam adam.reyes at rochester.edu
Thu May 16 14:53:06 EDT 2024


Hi Kiya,

At that point you may want to just use the checkpoint files, which will output every variable.

If you really want to do it with plot_vars you can copy "source/IO/IOMain/IO_init.F90” into your simulation directory and provide your own initialization of the plot variables rather than reading them from the runtime parameters. Alternatively you can try out the new pyFLASH bindings <https://flash.rochester.edu/site/flashcode/user_support/pyFlashDocs_py/index.html>, one feature of which is that you can use a python script to set runtime parameters directly. 
*********************************************
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 16, 2024, at 7:41 PM, kiyarash Taghiniyarami <kiyarash.niyarami at gmail.com> wrote:
> 
> Dear users,
> 
> Trying to run a simulation where I defined many variables (say var001 to var100) and I want to save them in an HDF5 output file. Instead of writing hundreds of lines such as "Plot_var_... = var_..." in flash.par, is there any short way (for instance using for loop) to do that?
> 
> Best,
> 
> Kiya
> _______________________________________________
> 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/20240516/232f2eb6/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/20240516/232f2eb6/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/20240516/232f2eb6/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/20240516/232f2eb6/attachment-0001.p7s>


More information about the flash-users mailing list