<div dir="ltr"><div dir="ltr">Hi Sharma! </div><div><br></div><div>First I have to say that I know nothing about your scenario. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Jul 2023 at 21:30, Sharma, Divyanshu Raj <<a href="mailto:sharma22@llnl.gov" target="_blank">sharma22@llnl.gov</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>
<div lang="EN-US">
<div>
<p class="MsoNormal">Hi Flash User Group,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I was trying to see how chamber size would affect the pre-plasma generation in the LaserSlab example problem. The problem I ran into is that the AMR mesh between the two simulation runs had different mesh sizes even though in the flash.par
file they had the same lrefine_max and set to be equal. </p></div></div></div></blockquote><div>Well, you want to change the chamber size using an AMR grid, so first you should determine if you want to keep the maximum spatial </div><div>resolution as before or not. </div><div>You have just changed the <i><font face="monospace">ymax</font></i> runtime parameter and left the rest relevant parameters unaltered. </div><div>Keep in mind that the maximum spatial resolution (assuming squared cells) can be determined by: </div><div><br></div><div><i><font face="monospace">delta y = (ymax - ymin)/[nyb*2^(lref_max - 1)]</font> </i></div><div><i><br></i></div><div>Note that the cells in figure B and C are squares while in figure A aren't. </div><div><br></div><div>Best!</div><div>Ernesto</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div lang="EN-US"><div><p class="MsoNormal">I attached both the files above. An example of how the two simulation runs look like in visit can be seen here (Fig A, B). I have also put an example of how I believe the mesh (Fig A) should look (Fig
C). I know I can just create a regular cartesian mesh with i,j,k procs but that would lead to longer runtimes without the AMR so I was wondering if there was any manual way to set the different AMR sizes based on like height in the z-direction in an R-Z problem.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Figure A. Chamber 450 target 10 mesh<u></u><u></u></p>
<p class="MsoNormal"><img width="227" height="802" style="width:2.3666in;height:8.35in" id="m_4772952472018869611m_6506981733479914530_x0000_i1027" src="cid:189979ff6204cff311" alt="Background pattern
Description automatically generated"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Figure B. Chamber 150 target 10 mesh<u></u><u></u></p>
<p class="MsoNormal"><img width="229" height="370" style="width:2.3833in;height:3.85in" id="m_4772952472018869611m_6506981733479914530Picture_x0020_433113770" src="cid:189979ff6205b16b22" alt="A picture containing chart
Description automatically generated"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Figure C. Hows Chamber 450 target 10 mesh should look like<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><img width="232" height="897" style="width:2.4166in;height:9.3416in" id="m_4772952472018869611m_6506981733479914530Picture_x0020_1" src="cid:189979ff620692e333"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</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>
</div></blockquote></div></div>