<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Baboo,<br>
     Interesting. Thanks for letting us know the cause of the error. I
    seem to recall that there are ways of calling a program (in Fortran)
    where you wait until the program responds that it is done before
    going on rather than waiting a prescribed amount of time. Perhaps we
    should look into that.<br>
    Best,<br>
     David<br>
    <br>
    <br>
    On 7/12/2011 07:03, Baboo Gowreesunker wrote:
    <blockquote
cite="mid:0E010AA208FFF247BE8F9D360EA8729A19759FBE71@v-exmb03.academic.windsor"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi
            all<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">My
            problem was that TRNSYS was progressing to the next time
            step too fast, not waiting for FLUENT to complete its
            simulations.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I
            simply increased the SLEEP (x) value to a value greater than
            the time (in s) taken by FLUENT, in the code.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
        <div>
          <div style="border-right: medium none; border-width: 1pt
            medium medium; border-style: solid none none; border-color:
            rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
            padding: 3pt 0cm 0cm;">
            <p class="MsoNormal"><b><span style="font-size: 10pt;
                  font-family:
                  "Tahoma","sans-serif"; color:
                  windowtext;" lang="EN-US">From:</span></b><span
                style="font-size: 10pt; font-family:
                "Tahoma","sans-serif"; color:
                windowtext;" lang="EN-US"> David BRADLEY
                [<a class="moz-txt-link-freetext" href="mailto:d.bradley@tess-inc.com">mailto:d.bradley@tess-inc.com</a>] <br>
                <b>Sent:</b> 07 July 2011 19:53<br>
                <b>To:</b> Baboo Gowreesunker<br>
                <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a><br>
                <b>Subject:</b> Re: [TRNSYS-users] Type 101-CLOSE error<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Baboo,<br>
            "Unit 10" refers to the logical unit number (an integer that
          fortran uses to reference a file that it is either reading
          from or writing to). The "CLOSE error" suggests that there is
          a problem closing the file, which is a bit strange; normally
          file errors occur when trying to open files (because the file
          isn't where it is supposed to be). You may be correct that the
          problem has to do with read/write permissions. Do you have a
          Fortran compiler? If so, you can run the project from within
          your Fortran compiler and stop on the line that is causing the
          error. I am afraid that I do not have a copy of Fluent and so
          cannot debug it for you.<br>
          Kind regards,<br>
           David<br>
          <br>
          <br>
          On 7/7/2011 04:32, Baboo Gowreesunker wrote: <o:p></o:p></p>
        <p class="MsoNormal">Hi all<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">I’m running type 101 on a windows 7, 64 bit
          machine. <o:p></o:p></p>
        <p class="MsoNormal">Everytime I run the simulation, it runs for
          a few time steps, and then I obtain the following error:<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">Forrtl: severe (28): CLOSE error, Unit 10,
          file “Unknown” Image PC Routine Line Source libifcoremd.dll
           03DBD3FE  Unknown  Unknown  Unknown<o:p></o:p></p>
        <p class="MsoNormal">Stack trace terminated abnormally.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">I don’t believe its an error in the code
          because otherwise it would not run the few timesteps.<o:p></o:p></p>
        <p class="MsoNormal">I don’t know whether it has to do with
          ‘limited access to C: drive’, where libifcoremd.dll is
          located.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">Can somebody help me ?<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"><span style="color: rgb(23, 54, 93);"> </span><o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <pre><o:p> </o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>TRNSYS-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><o:p></o:p></pre>
        <p class="MsoNormal"><span style="font-size: 12pt; font-family:
            "Times New Roman","serif";"><br>
            <br>
            <o:p></o:p></span></p>
        <pre>-- <o:p></o:p></pre>
        <pre>***************************<o:p></o:p></pre>
        <pre>David BRADLEY<o:p></o:p></pre>
        <pre>Principal<o:p></o:p></pre>
        <pre>Thermal Energy Systems Specialists, LLC<o:p></o:p></pre>
        <pre>22 North Carroll Street - suite 370<o:p></o:p></pre>
        <pre>Madison, WI  53703 USA<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>P:+1.608.274.2577<o:p></o:p></pre>
        <pre>F:+1.608.278.1475<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a><o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.tess-inc.com">http://www.tess-inc.com</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.trnsys.com">http://www.trnsys.com</a><o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
  </body>
</html>