Skip to content

Commit

Permalink
transient.rst examples completed
Browse files Browse the repository at this point in the history
  • Loading branch information
profhsgill committed Sep 3, 2021
1 parent 2c630cc commit 10d5cb0
Show file tree
Hide file tree
Showing 124 changed files with 1,612 additions and 3,959 deletions.
Binary file modified docs/build/doctrees/_autosummary/pychemengg.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/userguide/heattransfer/index.doctree
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
1 change: 0 additions & 1 deletion docs/build/html/_autosummary/pychemengg.heattransfer.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -264,14 +263,7 @@ <h1>LumpedSystem<a class="headerlink" href="#lumpedsystem" title="Permalink to t
<p>Units used in this example: SI system</p>
<p>However, any consistent units can be used</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">pychemengg.heattransfer</span> <span class="kn">import</span> <span class="n">transient</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">plate</span> <span class="o">=</span> <span class="n">transient</span><span class="o">.</span><span class="n">LumpedSystem</span><span class="p">(</span><span class="n">thermalconductivity</span><span class="o">=</span><span class="mi">180</span><span class="p">,</span>
<span class="go"> density=2800,</span>
<span class="go"> specificheat=880,</span>
<span class="go"> T_initial=700,</span>
<span class="go"> T_infinity=15,</span>
<span class="go"> heattransfercoefficient=53,</span>
<span class="go"> surfacearea=2*1,</span>
<span class="go"> volume=1*2e-2)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">plate</span> <span class="o">=</span> <span class="n">transient</span><span class="o">.</span><span class="n">LumpedSystem</span><span class="p">(</span><span class="n">thermalconductivity</span><span class="o">=</span><span class="mi">180</span><span class="p">,</span> <span class="n">density</span><span class="o">=</span><span class="mi">2800</span><span class="p">,</span> <span class="n">specificheat</span><span class="o">=</span><span class="mi">880</span><span class="p">,</span> <span class="n">T_initial</span><span class="o">=</span><span class="mi">700</span><span class="p">,</span> <span class="n">T_infinity</span><span class="o">=</span><span class="mi">15</span><span class="p">,</span> <span class="n">heattransfercoefficient</span><span class="o">=</span><span class="mi">53</span><span class="p">,</span> <span class="n">surfacearea</span><span class="o">=</span><span class="mi">2</span><span class="o">*</span><span class="mi">1</span><span class="p">,</span> <span class="n">volume</span><span class="o">=</span><span class="mi">1</span><span class="o">*</span><span class="mf">2e-2</span><span class="p">)</span>
<span class="go"># This will create an instance of &#39;LumpedSystem&#39; with a name &#39;plate&#39; </span>
</pre></div>
</div>
Expand Down Expand Up @@ -395,12 +387,12 @@ <h1>LumpedSystem<a class="headerlink" href="#lumpedsystem" title="Permalink to t
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p>t = time at which temperature is to be computed</p>
<p>h = heat transfer coefficient</p>
<p><span class="math">\(T_{infinity} = temperature of surrounding fluid\)</span></p>
<p><span class="math">\(T_{t} = temperature of solid object at time = t\)</span></p>
<p><span class="math">\(A_s = surface area of solid object\)</span></p>
<p><span class="math">\(q_{t} = heat rate at time = t\)</span></p>
<div><p><em>t = time at which temperature is to be computed</em></p>
<p><em>h = heat transfer coefficient</em></p>
<p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding fluid</em></p>
<p><span class="math">\(T_{t}\)</span> <em>= temperature of solid object at time = t</em></p>
<p><span class="math">\(A_s\)</span> <em>= surface area of solid object</em></p>
<p><span class="math">\(q_{t}\)</span> <em>= heat rate at time = t</em></p>
</div></blockquote>
<p class="rubric">References</p>
<p>[1] G. F. Nellis and S. A. Klein, “Introduction to Engineering
Expand Down Expand Up @@ -454,11 +446,11 @@ <h1>LumpedSystem<a class="headerlink" href="#lumpedsystem" title="Permalink to t
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p>m = mass of solid object</p>
<p><span class="math">\(C_{p} = specific heat of solid object\)</span></p>
<p><span class="math">\(T_{infinity} = temperature of surrounding, which the solid object will eventually attain\)</span></p>
<p><span class="math">\(T_{initial} = temperature of solid object at time = initial\)</span></p>
<p><span class="math">\(q_{max} = max heat transfer possible\)</span></p>
<div><p><em>m = mass of solid object</em></p>
<p><span class="math">\(C_{p}\)</span> <em>= specific heat of solid object</em></p>
<p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding, which the solid object will eventually attain</em></p>
<p><span class="math">\(T_{initial}\)</span> <em>= temperature of solid object at time = initial</em></p>
<p><span class="math">\(q_{max}\)</span> <em>= max heat transfer possible</em></p>
</div></blockquote>
<p class="rubric">References</p>
<p>[1] G. F. Nellis and S. A. Klein, “Introduction to Engineering
Expand Down Expand Up @@ -508,17 +500,17 @@ <h1>LumpedSystem<a class="headerlink" href="#lumpedsystem" title="Permalink to t
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p><span class="math">\(T_{infinity} = temperature of surrounding fluid\)</span></p>
<p><span class="math">\(T_{initial} = intitial temperature of solid object\)</span></p>
<div><p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding fluid</em></p>
<p><span class="math">\(T_{initial}\)</span> <em>= intitial temperature of solid object</em></p>
<p><span class="math">\(b = \frac{hA_s}{\rho V C_p}\)</span></p>
<p>t = time at which temperature is to be computed</p>
<p><em>t = time at which temperature is to be computed</em></p>
<blockquote>
<div><p>where:</p>
<p>h = heat transfer coefficient</p>
<p><span class="math">\(A_s = surface area of solid object\)</span></p>
<p><span class="math">\(\rho\)</span> = density of solid object</p>
<p>V = volume of solid object</p>
<p><span class="math">\(C_p\)</span> = specific heat of solid object</p>
<p><em>h = heat transfer coefficient</em></p>
<p><span class="math">\(A_s\)</span> <em>= surface area of solid object</em></p>
<p><span class="math">\(\rho\)</span> <em>= density of solid object</em></p>
<p><em>V = volume of solid object</em></p>
<p><span class="math">\(C_p\)</span> <em>= specific heat of solid object</em></p>
</div></blockquote>
</div></blockquote>
<p class="rubric">References</p>
Expand Down Expand Up @@ -572,13 +564,13 @@ <h1>LumpedSystem<a class="headerlink" href="#lumpedsystem" title="Permalink to t
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p>t = time marking the interval [0, t] for which heat
transferred is to be computed</p>
<p>m = mass of object</p>
<p><span class="math">\(C_{p} = specific heat of object\)</span></p>
<p><span class="math">\(T_{t} = temperature of object at time = t\)</span></p>
<p><span class="math">\(T_{initial} = temperature of object at time = 0\)</span></p>
<p><span class="math">\(q_{0 to t} = heat transferred in interval [0, t]\)</span></p>
<div><p><em>t = time marking the interval [0, t] for which heat
transferred is to be computed</em></p>
<p><em>m = mass of object</em></p>
<p><span class="math">\(C_{p}\)</span> <em>= specific heat of object</em></p>
<p><span class="math">\(T_{t}\)</span> <em>= temperature of object at time = t</em></p>
<p><span class="math">\(T_{initial}\)</span> <em>= temperature of object at time = 0</em></p>
<p><span class="math">\(q_{0 to t}\)</span> <em>= heat transferred in interval [0, t]</em></p>
</div></blockquote>
<p class="rubric">References</p>
<p>[1] G. F. Nellis and S. A. Klein, “Introduction to Engineering
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.physicalproperties.html">physicalproperties</a></li>
<li class="toctree-l3"><a class="reference internal" href="pychemengg.utils.html">utils</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -501,10 +500,10 @@ <h1>NonLumpedCylinder<a class="headerlink" href="#nonlumpedcylinder" title="Perm
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p>t = time at which temperature is to be computed</p>
<p>h = heat transfer coefficient</p>
<p><span class="math">\(T_{infinity} = temperature of surrounding fluid\)</span></p>
<p><span class="math">\(T_{t} = temperature of surface of solid object at time = t\)</span></p>
<div><p><em>t = time at which temperature is to be computed</em></p>
<p><em>h = heat transfer coefficient</em></p>
<p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding fluid</em></p>
<p><span class="math">\(T_{t}\)</span> <em>= temperature of surface of solid object at time = t</em></p>
<p><span class="math">\(A_s\)</span> <em>= surface area of solid object</em></p>
<p><span class="math">\(q_{t}\)</span> <em>= heat rate of convection at time = t</em></p>
</div></blockquote>
Expand Down Expand Up @@ -566,11 +565,11 @@ <h1>NonLumpedCylinder<a class="headerlink" href="#nonlumpedcylinder" title="Perm
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p>m = mass of solid object</p>
<p><span class="math">\(C_{p} = specific heat of solid object\)</span></p>
<p><span class="math">\(T_{infinity} = temperature of surrounding, which the solid object will eventually attain\)</span></p>
<p><span class="math">\(T_{initial} = temperature of solid object at time = initial\)</span></p>
<p><span class="math">\(q_{max} = max heat transfer possible\)</span></p>
<div><p><em>m = mass of solid object</em></p>
<p><span class="math">\(C_{p}\)</span> <em>= specific heat of solid object</em></p>
<p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding, which the solid object will eventually attain</em></p>
<p><span class="math">\(T_{initial}\)</span> <em>= temperature of solid object at time = initial</em></p>
<p><span class="math">\(q_{max}\)</span> <em>= max heat transfer possible</em></p>
</div></blockquote>
<p class="rubric">References</p>
<p>[1] G. F. Nellis and S. A. Klein, “Introduction to Engineering
Expand Down Expand Up @@ -617,14 +616,14 @@ <h1>NonLumpedCylinder<a class="headerlink" href="#nonlumpedcylinder" title="Perm
\]</div>
<p><em>where:</em></p>
<blockquote>
<div><p><span class="math">\(T_{infinity} = temperature of surrounding fluid\)</span></p>
<p><span class="math">\(T_{initial} = intitial temperature of solid object\)</span></p>
<div><p><span class="math">\(T_{infinity}\)</span> <em>= temperature of surrounding fluid</em></p>
<p><span class="math">\(T_{initial}\)</span> <em>= intitial temperature of solid object</em></p>
<p><span class="math">\(J_0\)</span> <em>= Bessel function of first kind of order 0</em></p>
<p><span class="math">\(J_1\)</span> <em>= Bessel function of first kind of order 1</em></p>
<p><span class="math">\(\lambda_n\)</span> = <span class="math">\(n^{th}\)</span> eigen value of <span class="math">\(x_n tan(x_n) - Bi = 0\)</span> , n = 1 to <span class="math">\(\infty\)</span></p>
<p>Bi = Biot number</p>
<p><span class="math">\(\tau = Fourier number\)</span></p>
<p>r = radius from center of solid cylinder where temperature is required (r = 0 for center of cylinder)</p>
<p><em>Bi = Biot number</em></p>
<p><span class="math">\(\tau\)</span> <em>= Fourier number</em></p>
<p><em>r = radius from center of solid cylinder where temperature is required (r = 0 for center of cylinder)</em></p>
<p><span class="math">\(r_{outside}\)</span> <em>= outer radius of the cylinder</em></p>
</div></blockquote>
<p class="rubric">Examples</p>
Expand Down Expand Up @@ -687,8 +686,8 @@ <h1>NonLumpedCylinder<a class="headerlink" href="#nonlumpedcylinder" title="Perm
<p><span class="math">\(J_0\)</span> <em>= Bessel function of first kind of order 0</em></p>
<p><span class="math">\(J_1\)</span> <em>= Bessel function of first kind of order 1</em></p>
<p><span class="math">\(\lambda_n\)</span> = <span class="math">\(n^{th}\)</span> eigen value of <span class="math">\(x_n tan(x_n) - Bi = 0\)</span> , n = 1 to <span class="math">\(\infty\)</span></p>
<p>Bi = Biot number</p>
<p><span class="math">\(\tau = Fourier number\)</span></p>
<p><em>Bi = Biot number</em></p>
<p><span class="math">\(\tau\)</span> <em>= Fourier number</em></p>
<p><span class="math">\(q_{max}\)</span> = <em>maximum possible heat transfer between solid and surrounding</em></p>
<p><span class="math">\(q_{0 \to t}\)</span> <em>= heat transferred in time interval [0, t]</em></p>
<p class="rubric">References</p>
Expand Down
Loading

0 comments on commit 10d5cb0

Please sign in to comment.