<div dir="ltr">Hi Kemal,<div><br></div><div>While you definitely can introduce user defined variables* you can also define "derived_fields" in yt (<a href="https://yt-project.org/">https://yt-project.org/</a>; and I'd guess something similar is possible in Visit) that allow you to do this purely in post-processing. The benefit of doing so in post-processing is you'll save some memory compared to introducing additional variables** </div><div><br></div><div>*To introduce your own variable, put a "VARIABLE varr" in your Config. Note that FLASH variables are conventionally four characters. You can then update it sometime after you update "dens" and "tele" before outputting.</div><div><br></div><div>**Also note I believe all variables saved in plot files are also saved in checkpoint files and plot files; it would be an interesting feature if some variables could be excluded from checkpoints though, as outputting checkpoint files becomes quite expensive in my high resolution simulations, and some of the fields I've introduced don't need to persist their values across restarts.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div>Best,</div><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 20, 2023 at 1:04 AM Kemal Atay <<a href="mailto:ataykemal33@gmail.com">ataykemal33@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I am running a laserlab simulation with modified conditions. </div><div>I want to output a 2d plot of the simulation that give the product of the plot variables "dens" and "tele" (electron temp) factored by an exponential of the "tele". I am wondering if there is a way to output a user defined plot variable that is a mathematical expression of the regular plot vars.</div><div>Is this possible?</div><div><br></div><div>Kemal</div></div>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>