<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thanks very much.</p>
    <p>Navrose.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On Tuesday 31 January 2017 06:49 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:mailman.10019.1485884987.3602.nek5000-users@lists.mcs.anl.gov"
      type="cite">
      <div dir="ltr">
        <div>Hi Navrose,<br>
          <br>
        </div>
        I do not know if there is any better method, because I would do
        it probably the same way. Another way-- you can probably define
        another set of routine say load_fld_pert(), with modified setics
        and RESTART file, but probably it is as good as using opcopy().<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jan 31, 2017 at 12:25 AM, <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:nek5000-users@lists.mcs.anl.gov"
              target="_blank">nek5000-users@lists.mcs.anl.gov</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">
              <p>Many thanks Tanmoy. <br>
              </p>
              <p>So each time load_fld is called it will load the base<br>
                flow variables (I am carrying out computations for
                incompressible N-S <br>
                equations). What if I want to load the perturbations
                also from a different<br>
                file? One way that I see it is to use load_fld for the
                restart file for <br>
                perturbations, copy it in the perturbation variables
                (vxp, vyp, vzp, prp),<br>
                and then again use load_fld for the base flow file. Is
                there a direct or <br>
                better method for this?</p>
              <p>Thank you.</p>
              <p>Best wishes,<br>
                Navrose.<br>
              </p>
              <div>
                <div class="h5">
                  <div class="m_3808680518305954591moz-cite-prefix">On
                    Monday 30 January 2017 08:15 PM, <a
                      moz-do-not-send="true"
                      class="m_3808680518305954591moz-txt-link-abbreviated"
                      href="mailto:nek5000-users@lists.mcs.anl.gov"
                      target="_blank">nek5000-users@lists.mcs.anl.<wbr>gov</a>
                    wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>Hi Navrose,<br>
                            <br>
                          </div>
                          You are right. Two things are important in the
                          load_fld() subroutine. The include file
                          'RESTART' and the routine setics. So everytime
                          a load_fld subroutine is being called, the
                          variable values read from the current file
                          would be stored in vx(i,j,k,e), vy(i,j,k,e),
                          vz(i,j,k,e), pr, t and so on...<br>
                          <br>
                        </div>
                        Best Regards,<br>
                      </div>
                      Tanmoy<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Jan 30, 2017 at
                        6:04 AM, <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:nek5000-users@lists.mcs.anl.gov"
                            target="_blank">nek5000-users@lists.mcs.anl.<wbr>gov</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">
                            <p>Dear Neks,</p>
                            <p>  I am relatively new to NEK5000. I am
                              going through some<br>
                              the .usr files that have been used
                              previously in my research <br>
                              group. I notice that in the <i>userchk</i>
                              subroutine, <i>load_fld </i>has been<br>
                              called a few times. Upon checking the <i>load_fld</i>
                              function in <br>
                              in the source code, I found that <i>setics
                              </i>subroutine is called at the<br>
                              end of <i>load_fld</i> function.</p>
                            <p> Does this mean that each time <i>load_fld
                              </i>function is called, the <i>useric</i>
                              <br>
                              subroutine in the .usr file is executed? I
                              would like to mention that<br>
                              no restart file is given in the .rea file.<br>
                            </p>
                            <p>Many thanks.</p>
                            <p>Best regards,</p>
                            <p>Navrose.<br>
                              <br>
                              <br>
                            </p>
                            <p><br>
                            </p>
                          </div>
                          <br>
                          ______________________________<wbr>_________________<br>
                          Nek5000-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Nek5000-users@lists.mcs.anl.gov"
                            target="_blank">Nek5000-users@lists.mcs.anl.go<wbr>v</a><br>
                          <a moz-do-not-send="true"
                            href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users"
                            rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mail<wbr>man/listinfo/nek5000-users</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset
                      class="m_3808680518305954591mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>______________________________<wbr>_________________
Nek5000-users mailing list
<a moz-do-not-send="true" class="m_3808680518305954591moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.<wbr>gov</a>
<a moz-do-not-send="true" class="m_3808680518305954591moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a>
</pre>
    </blockquote>
    

  </div></div></div>


______________________________<wbr>_________________

Nek5000-users mailing list

<a moz-do-not-send="true" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.<wbr>gov</a>

<a moz-do-not-send="true" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a>


</blockquote></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">_______________________________________________
Nek5000-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>

</blockquote>
</body></html>