<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Nick!<div class=""><br class=""></div><div class="">That looks like what you’re probably going to have to do. I would recommend making a new directory in <i class="">…/SimulationMain/ </i>and copying over the necessary files you need to get <i class="">LaserSlab</i> to run (there are a multitude of <i class="">flash.par </i>files in there that are probably not necessary, for instance). Take a gander at Chapter 3 in the User Manual (<a href="http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p61.pdf" class="">http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p61.pdf</a>), which has information on setting up your new problem.</div><div class=""><br class=""></div><div class="">From what it sounds like, you could probably get your profile from data in some sort of file format, like…. columns for {x,y,z} and the temperatures you need (keep in mind that FLASH has 3T capabilities so you can access the electron, ion, and radiation temperatures). You can then preform some sort of file I/O in the <i class="">Simulation_initBlock.F90</i> to read in those values, etc.</div><div class=""><br class=""></div><div class="">That is how I’d start doing such a problem :) if you’re experimenting with different profiles based on experiments, you can even make the string for the file a runtime parameter so then you don’t need to make a new executable for each run!</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Marissa</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 1, 2020, at 14:09, Hartley, Nicholas J <<a href="mailto:njh@slac.stanford.edu" class="">njh@slac.stanford.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hi Marissa,<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Thanks for the reply. I’m actually trying to simulate sample evolution after heating by a particle beam – as I understand it, that can’t be done directly in FLASH, but since the heating timescale is much shorter than the hydrodynamic evolution timescale, I think initializing the sample with the temperature profile from the beam would be a close approximation. I’ll try going into the Simulation_initBlock.F90 first and see what I can make of that, but it sounds like it might have to be an entirely new problem module…<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Nick<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span>Marissa B. P. Adams <<a href="mailto:marissa@flash.uchicago.edu" class="">marissa@flash.uchicago.edu</a>><span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, July 1, 2020 11:04 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Hartley, Nicholas J <<a href="mailto:njh@slac.stanford.edu" class="">njh@slac.stanford.edu</a>><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:flash-users@flash.uchicago.edu" class="">flash-users@flash.uchicago.edu</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [EXTERNAL] [FLASH-USERS] Nonuniform Initial Temperature<o:p class=""></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Hi Nick,<o:p class=""></o:p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Depends what you want to do. if you want to change the initial temperature of the target, e.g.<span class="Apple-converted-space"> </span><span style="font-family: CMUTypewriter-Regular, serif;" class="">sim_teleTarg = 58923704912948201e12</span><span class="Apple-converted-space"> </span>then you can simply just do so in the<span class="Apple-converted-space"> </span><i class="">flash.par<span class="Apple-converted-space"> </span></i>file and run as expected.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">However say you would like to initialize a gradient in the target. This would require you to go into the associated file,<span class="Apple-converted-space"> </span><i class="">Simulation_initBlock.F90</i><span class="Apple-converted-space"> </span>and initialize to your desires there. Then you go through the same sort of process as you did to obtain the executable and run the executable. <o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Effectively the difference lies between whether or not the current set up is satisfactory and you just need to tune the given parameters, or you may want to do something that requires developing your own problem module (based off of the laser slab provided example problem).<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">I hope that makes sense.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Best,<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Marissa<o:p class=""></o:p></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div class=""><div class=""><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">%———————————————————%</span><span style="" class=""><o:p class=""></o:p></span></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Marissa B. P. Adams</span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">(she/her/hers)</span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Phd Candidate, University of Rochester</span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 10pt; font-family: "Courier New";" class="">E-mail:</span></b><span style="font-size: 10pt; font-family: "Courier New";" class=""> <a href="mailto:madams@pas.rochester.edu" target="_blank" style="color: purple; text-decoration: underline;" class="">madams@pas.rochester.edu</a></span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Website:</span></b><span style="font-size: 7.5pt; font-family: "Courier New";" class=""> <a href="http://www.pas.rochester.edu/~madams" target="_blank" style="color: purple; text-decoration: underline;" class="">https://www.pas.rochester.edu/~madams</a></span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Twitter:</span></b><span style="font-size: 7.5pt; font-family: "Courier New";" class=""> <a href="https://twitter.com/mbpadams" target="_blank" style="color: purple; text-decoration: underline;" class="">https://twitter.com/mbpadams</a></span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Current Location:</span></b><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">371 Bausch and Lomb Hall</span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">University of Rochester</span><span style="" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 7.5pt; font-family: "Courier New";" class="">Rochester, NY 14627</span><span style="" class=""><o:p class=""></o:p></span></div></div></div></div></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><br class=""><br class=""><o:p class=""></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">On Jul 1, 2020, at 13:15, Hartley, Nicholas J <<a href="mailto:njh@slac.stanford.edu" style="color: purple; text-decoration: underline;" class="">njh@slac.stanford.edu</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi all,<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I’ve recently started using FLASH, but am having trouble moving beyond the example simulations. Specifically, I’m trying to run a simulation with a non-uniform initial temperature. However, since the LaserSlab example defines the temperature by sim_teleTarg = 290, I’m not really sure how to expand that to a more complicated case, and I couldn’t find the relevant information in the use guide. If you could help, or point me to where I could find out more, that would be great.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Cheers,<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Nick</span></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>