<html>#2621: keep running into nan ,need help
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Artectek</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2022_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2022_05</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Two items were brought up:</p>
<ol>
<li>the resolution may well be too low. The gallery example (which your parfile dns.par seems to be base on) sets the resolution to a very coarse value, namely 18Msun on the coarsest level and 18Msun/2^6 = 0.28 for the level that covers the star(s) initially. This corresponds (using Msun ~~ 1.48km) to a resolution of 416m which is too coarse for any serious simulation. It should be no more than about 280m so all resolutions should be scaled to dx=dy=dz=12</li>
<li>Looking at your log output then at t=0 there is: “INFO (CarpetTracker): Setting position of refined region <a href="https://bitbucket.org/einsteintoolkit/tickets/issues/1/cactus-doesnt-support-__unused__-for-gcc" rel="nofollow" title="Cactus doesn&#39;t support __unused__ for gcc" class="ap-connect-link"><s>#1</s></a> from surface #0 to (13.5,0,0)” indicating that the star was found with center at x=13.5 however you initial grid structure for the refined regions (the CarpetRegrid2::position_x parameters) centers the boxes around x=22.5 which is not correct (probably not the cause for the failure at the end but incorrect and will lead to an initially incorrect grid structure). You can open eg 2D output files (hydrobase-rho.xy.h5) in VisIt and add a “Mesh” plot to check what things look like at iteration=0.</li>
</ol>
<p>‌</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2621/keep-running-into-nan-need-help'>https://bitbucket.org/einsteintoolkit/tickets/issues/2621/keep-running-into-nan-need-help</a></p>
</html>