<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Vali, <br>
</span></div>
<div><br>
  <span></span></div>
<div><span>I
 don't know if you got a reply to your question. I have recently gone 
through the source code as well. The number '2' appears for the first 
and last node of the finite difference equation because of the 1/2 node 
concept. When you </span><span>discretize the PDE, you divide by 1/2 gird size for both node 1 and last node, and therefore '2' will be in the numerator. </span></div>
<div><br>
  <span></span></div>
<div><span>regards,</span></div>
<div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Vali Gheorghisor <valigheorghisor@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "trnsys-users@cae.wisc.edu" <trnsys-users@cae.wisc.edu> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, March 26, 2012 1:47 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [TRNSYS-users] Type 36-Trombe Wall<br> </font> </div> <br>
<div id="yiv557559243"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Hello Trnsys users,</div><div><br></div><div>I use Type 36 with Type 56 to simulate a Trombe Wall. Everything works well but I don't understand <br></div><div>one thing concerning the Source Code for Type 36. I don't understand why the big parantheses for <br></div><div>DTDT(1) and DTDT(N) are multiplied by 2. I analyzed the whole Source Code but I can't see where that "2"</div><div>is coming from. This is important for me because I also try to develop a type for a different Trombe Wall that the one <br></div><div>defined in Type 36. And that "2" makes a pretty big difference between the results.</div><div><br></div><div>Can someone help me?</div><div><br></div><div>Thank you in advance</div><div><br></div><div>Vali Florin<br></div><div>Politechnical University of
 Bucharest<br></div><div><br></div><div></div></div></div></div><br>_______________________________________________<br>TRNSYS-users mailing list<br><a ymailto="mailto:TRNSYS-users@cae.wisc.edu" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><br><a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br><br><br> </div> </div>  </div></body></html>