<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 Zhang,
<div class=""><br class="">
</div>
<div class="">The maximum number of the plot variables is set by the constant MAX_PLOT_VARS in Flash.h, which equals the total number of grid variables and is set automatically by the setup script. Therefore, it usually should not occur that you use up all
the plot variables, since you can not plot more than the total existing grid variables in the code. Say, now you find you could only set 9 plot variables, and this is perhaps because you only have 9 grid variables in total, and thus the MAX_PLOT_VARS = 9.</div>
<div class=""><br class="">
</div>
<div class="">Could you check the value of MAX_PLOT_VARS, as well as the values of NPROP_VARS, NSPECIES and NMASS_SCALARS in Flash.h? The sum of the latter three should equal the value of MAX_PLOT_VARS.<br class="">
<div class=""><br class="">
Best wishes,<br class="">
—<br class="">
Suoqing Ji<br class="">
Sherman Fairchild Fellow<br class="">
TAPIR & Walter Burke Institute for Theoretical Physics<br class="">
California Institute of Technology<br class="">
<a href="http://www.tapir.caltech.edu/~suoqing" class="">http://www.tapir.caltech.edu/~suoqing</a>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 21, 2019, at 2:05 PM, Ryan Farber <<a href="mailto:rjfarber@umich.edu" class="">rjfarber@umich.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div dir="ltr" class="">Hi Zhang,
<div class=""><br class="">
</div>
<div class="">I've also found that only the first 9 "plot_var_"s are put in FLASH "*plt_cnt*" output files (but checkpoint files contain all variables). I'm not sure if this is intended behavior or if it's been fixed in later versions (I'm using FLASH4.2.2).
What version of FLASH are you using?</div>
<div class=""><br class="">
</div>
<div class="">If you also cannot access "cond" from the checkpoint file, then you can check Flash.h (in the object directory) for the name of the variables your simulation is following.</div>
<div class=""><br class="">
</div>
<div class="">Also, since you mentioned using VISIT I wanted to mention that yt is another great option for FLASH analysis and visualization:
<div class=""><br class="">
</div>
<div class=""><a href="http://yt-project.org/" target="_blank" class="">http://<span class="gmail-il">yt</span>-project.org</a></div>
<div class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class=""><br class="">
</div>
<div class="">Best,</div>
<div dir="ltr" class="">--------
<div class="">Ryan</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Apr 21, 2019 at 5:44 AM zdy0903 <<a href="mailto:zdy0903@stu.xjtu.edu.cn" class="">zdy0903@stu.xjtu.edu.cn</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p class=""><span style="font-family:SimSun" class="">Hi!</span> </p>
<p class=""><span style="font-family:SimSun" class=""> Usually, the output files of FLASH are the database of some variables like "dens", "temp", "pres". We can check it by importing the database to VISIT. However, what should I do if I want to put other </span><span style="font-family:SimSun" class="">variables
into the database of output files. For example, if I want to see the <strong class="">thermal conduction data</strong> in LaserSlab simulation during the entire process, what should I do?</span>
</p>
<p class=""><span style="font-family:SimSun" class=""> It seems that there is a plot options in flash.par just like</span>
</p>
<p class=""><span style="font-family:SimSun" class="">### Plot Options ###<br class="">
plotFileNumber = 0<br class="">
plotFileIntervalStep = 100<br class="">
plotFileIntervalTime = 0.01e-09<br class="">
plot_var_1 = "dens"<br class="">
plot_var_2 = "depo"<br class="">
plot_var_3 = "tele"<br class="">
plot_var_4 = "tion"<br class="">
plot_var_5 = "trad"<br class="">
plot_var_6 = "ye "<br class="">
plot_var_7 = "sumy"<br class="">
plot_var_8 = "cham"<br class="">
plot_var_9 = "targ"<br class="">
I set a new plot_var_10 = "cond".(conduction) But it seems that it does not work? What else should I do?<br class="">
</span></p>
<p class=""><span style="font-family:SimSun" class=""> Thank you very much!</span>
</p>
<p class=""><span style="font-family:SimSun" class=""><br class="">
</span></p>
<p class=""><span style="font-family:SimSun" class="">Zhang</span> </p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>