<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>My point was that whatever your input is, the total energy on
      the grid will depend on the problem parameters, including the mesh
      resolution. Here is the total energy as the function of
      lrefine_max for the Sedov problem with sim_expEnergy=1. So then
      the first step is to establish the mesh resolution needed to
      resolve the initial conditions.<br>
      <br>
      Tomek<br>
      --<br>
      1    4.284744772813584013E-02<br>
      2    1.079040174837370310E-02<br>
      3    2.108285128854793695E-03 <br>
      4    6.049588962833469695E-04<br>
      5    5.424290036378864128E-04<br>
      6    5.121601943761228386E-04 <br>
      7    4.853928323603098720E-04<br>
      8    4.845551779829255015E-04<br>
      9    4.835673345173386478E-04<br>
      10   4.833674053154596436E-04 <br>
    </tt><br>
    <br>
    <div class="moz-cite-prefix">On 07/26/16 11:25, Marissa Adams wrote:<br>
    </div>
    <blockquote
cite="mid:CAOALedokJQzUa3nW=exsNvMQobMeqdBgYKKNvYT+dEjjGj2Jew@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">We
          understand that. The total energy is less than the input
          value. This is the problem.<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jul 26, 2016 at 11:23 AM,
          Tomasz Plewa <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:tplewa@fsu.edu" target="_blank">tplewa@fsu.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>The relevant
                data is the total energy shown in the first line of the
                dat file. That should stay constant with relative
                accuracy better than 1e-10.<br>
                <br>
                The actual initial value of the total will vary as one
                changes problem parameters.<br>
                <br>
                Tomek<br>
                --</tt>
              <div>
                <div class="h5"><br>
                  <div>On 07/26/16 10:30, Slavin, Jonathan wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif">Hi
                        all,</div>
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif"><br>
                      </div>
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif">I've
                        been running supernova remnant evolution
                        simulations.  The initialization is done with
                        code taken from the supplied Sedov simulation
                        with certain small changes.  One issue that I've
                        run into is that the total energy is not very
                        accurate.  That is, though the energy is
                        conserved, the total energy, initially input as
                        thermal energy, is below that which is given in
                        the sim_expEnergy parameter by ~5%.  Has anyone
                        else run into this?  I don't think that it has
                        to do with any of the changes that I've made to
                        Simulation_initBlock or Simulation_init.  I'm
                        wondering if increasing the sim_nsubzones
                        parameter might help.  Any advice would be
                        appreciated.</div>
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif"><br>
                      </div>
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif">Thanks,</div>
                      <div class="gmail_default"
                        style="font-family:arial,helvetica,sans-serif">Jon</div>
                      <div><br>
                      </div>
                      -- <br>
                      <div data-smartmail="gmail_signature">
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">________________________________________________________<br>
                              Jonathan D. Slavin                
                              Harvard-Smithsonian CfA<br>
                              <a moz-do-not-send="true"
                                href="mailto:jslavin@cfa.harvard.edu"
                                target="_blank">jslavin@cfa.harvard.edu</a>   
                                 60 Garden Street, MS 83<br>
                              phone: <a moz-do-not-send="true"
                                href="tel:%28617%29%20496-7981"
                                value="+16174967981" target="_blank">(617)
                                496-7981</a>       Cambridge, MA
                              02138-1516<br>
                              cell: <a moz-do-not-send="true"
                                href="tel:%28781%29%20363-0035"
                                value="+17813630035" target="_blank">(781)
                                363-0035</a>             USA<br>
________________________________________________________<br>
                              <br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr"><span><font size="1"><span
                              style="color:rgb(0,0,0)"><span
                                style="font-family:monospace,monospace">
                                <div>Marissa Adams                   
                                       <span><font size="1"><span
                                        style="color:rgb(0,0,0)"><span
                                          style="font-family:monospace,monospace">E-mail:</span></span><span
                                        style="color:rgb(0,0,0)"><span
                                          style="font-family:monospace,monospace"><a
                                            moz-do-not-send="true"> </a><a
                                            moz-do-not-send="true"
                                            href="mailto:madams@pas.rochester.edu"
                                            target="_blank">madams@pas.rochester.edu</a></span></span></font></span><br>
                                  Graduate Student                     
                                  <span><font size="1"><span
                                        style="color:rgb(0,0,0)"><span
                                          style="font-family:monospace,monospace">Ph:
                                          (585) 402-5779</span></span></font></span></div>
                                <div>Department of Physics &
                                  Astronomy     <span><font size="1"><span
                                        style="color:rgb(0,0,0)"><span
                                          style="font-family:monospace,monospace">Website:
                                          <a moz-do-not-send="true"
                                            href="http://www.pas.rochester.edu/%7Emadams/"
                                            target="_blank">http://www.pas.rochester.edu/~madams/</a></span></span></font></span></div>
                                University of Rochester<br>
                                478 Bausch & Lomb Hall<br>
                                P.O. Box 270171</span></span></font></span></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>