<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1104329</article-id><article-id pub-id-type="publisher-id">OALibJ-82414</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Comparison of Mathematical Methods to Obtain Concentration and Temperature of Newtonian Fluids in Tubular Reactors
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Diego</surname><given-names>Alves de Miranda</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Renato</surname><given-names>Cristofolini</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Emerson</surname><given-names>José Corazza</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Gilson</surname><given-names>João dos Santos</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Claiton</surname><given-names>Emilio do Amaral</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mechanical Engineering, University of the Region of Joinville—UNIVILLE, Joinville, Brazil</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>02</month><year>2018</year></pub-date><volume>05</volume><issue>02</issue><fpage>1</fpage><lpage>8</lpage><history><date date-type="received"><day>12,</day>	<month>January</month>	<year>2018</year></date><date date-type="rev-recd"><day>9,</day>	<month>February</month>	<year>2018</year>	</date><date date-type="accepted"><day>12,</day>	<month>February</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In several areas of engineering, it is possible to put real problems in mathematical functions; when we represent a problem with variables in the form of function, we were able to extract various information from it. This paper compared two different mathematical methods, being the finite difference method and the Fourth Order Range-Kutta method, to analyze the concentration and temperature of
   the water flow inside a tubular reactor. These results were compared with the analytical and experimental results of the problem, demonstrating that the Fourth Order Range-Kutta method was more advantageous than the finite difference method.
 
</p></abstract><kwd-group><kwd>Tubular Reactor</kwd><kwd> Mathematical Methods</kwd><kwd> Finite Differences</kwd><kwd> Runge-Kutta</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The Tubular Reactor describes chemical reactions in continuous flow systems, so that the main reactor variables, such as reactor dimensions, can be estimated [<xref ref-type="bibr" rid="scirp.82414-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.82414-ref2">2</xref>] . A fluid passing through a tubular reactor can be modeled by flowing through the reactor as a series of infinitely fine coherent “pistons,” each with a uniform composition, moving in the axial direction of the reactor, each piston having a different composition from the before and after it [<xref ref-type="bibr" rid="scirp.82414-ref3">3</xref>] .</p><p>A differential equation is called an equation in which the unknown is a function, and has a relation with the derivatives of this function [<xref ref-type="bibr" rid="scirp.82414-ref4">4</xref>] . Differential equations are used in mathematical modeling problems and when a function depends on a single independent variable, they are called ordinary differential equations [<xref ref-type="bibr" rid="scirp.82414-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.82414-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.82414-ref6">6</xref>] . Several industrial problems can be mathematically described by Differential Equations as they represent some physical variations that describe [<xref ref-type="bibr" rid="scirp.82414-ref7">7</xref>] . Ordinary differential equations, which are those equations involving an unknown function and their ordinary derivatives, are of great interest in the exact sciences and in other areas of human knowledge, since many laws and physical relations can be formulated mathematically by means of a differential equation [<xref ref-type="bibr" rid="scirp.82414-ref8">8</xref>] . There are several methods for analytically solving an ODE, however, it is not always possible to obtain an analytical solution or it becomes very complex such a resolution [<xref ref-type="bibr" rid="scirp.82414-ref9">9</xref>] . In this case, the numerical methods are an outlet to find a solution as close as you want [<xref ref-type="bibr" rid="scirp.82414-ref10">10</xref>] .</p><p>In this context, this paper had the objective of comparing two mathematical methods and comparing them with the analytical and experimental solution.</p></sec><sec id="s2"><title>2. Materials and Methods</title><p>For experimental analysis, a tubular glass reactor was used, with 10 thermocouples of type J to measure the temperature and 10 Capacitive density transmitters to measure the concentration. The reactor of approximately 100 mm internal diameter and 1000 mm in length can best be observed in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>To do the numerical analysis of the experiment, we first have to consider the differential equation capable of confronting the resulting physical phenomena. A positioning scheme of the apparatus installed in the reactor can best be seen in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Consider a jacketed tubular reactor conducting a second order exothermic chemical reaction (2A → B). The diagram of this reactor can be better observed in the <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>The initial concentration of H<sub>2</sub>O is 10 kmol/m<sup>3</sup>. Assuming that the reactor</p><p>jacket temperature is constant, and that it does not lose heat to the environment, the mathematical model that describes the variation of reagent concentration A and the reactor internal temperature throughout the equipment is given by the following Equations ((1) and (2)) differentials successively:</p><p>d C A d x = − k 0 ⋅ e − E A R ⋅ T ⋅ C A 2 ⋅ A ⋅ ρ F ;     C A 0 ( 0 ) = 10   kmol / m 3 (1)</p><p>d T d x = − U ⋅ 2 π ⋅ R R F ⋅ C p ⋅ ( T − T c ) + k 0 ⋅ e − E A R ⋅ T ⋅ C A 2 ⋅ A ⋅ ( − Δ H R ) F ⋅ C p (2)</p><p>As the fluid used in this study was water, recurrent water parameters were used at 295 K. These values can be better observed in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>To solve numerically the system of differential equations 1 and 2, applying the Finite Differences Method and the Runge-Kutta Method, we have the following resolution equations:</p><p>d C A d x = − ( 50 ) ⋅ e − 30000 8.314 ⋅ T ⋅ C A 2 ⋅ π ⋅ ( 0.050 ) 2 ⋅ 1000 0.05 (3)</p><p>d T d x = − ( 100 ) ⋅ 2 π ⋅ ( 0.0127 ) 0.05 &#215; 4187 ⋅ ( T − 315 )     + 50 ⋅ e − 30000 8.314 ⋅ T ⋅ C A 2 ⋅ π ⋅ ( 0.0127 ) 2 ⋅ [ − ( − 1 &#215; 10 − 7 ) ] 0.05 &#215; 4187 (4)</p><p>The method of finite differences is proposed by Equation (5):</p><p>f ( x 0 , u 0 ) = y 1 − y 0 h → y 1 = y 0 + h f ( x 0 , y 0 ) (5)</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Water variables in the tubular reactor</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Variables</th><th align="center" valign="middle" >Values</th><th align="center" valign="middle" >Units</th></tr></thead><tr><td align="center" valign="middle" >F</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >kg/s</td></tr><tr><td align="center" valign="middle" >ρ</td><td align="center" valign="middle" >1000</td><td align="center" valign="middle" >kg/m<sup>3</sup></td></tr><tr><td align="center" valign="middle" >R<sub>R</sub></td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >m</td></tr><tr><td align="center" valign="middle" >k<sub>0</sub></td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >m<sup>3</sup>/kmol∙s</td></tr><tr><td align="center" valign="middle" >R</td><td align="center" valign="middle" >8.314</td><td align="center" valign="middle" >J/mol.K</td></tr><tr><td align="center" valign="middle" >E<sub>A</sub></td><td align="center" valign="middle" >30,000</td><td align="center" valign="middle" >J/mol</td></tr><tr><td align="center" valign="middle" >ΔH</td><td align="center" valign="middle" >−1 &#215; 10<sup>−7</sup></td><td align="center" valign="middle" >J/mol</td></tr><tr><td align="center" valign="middle" >U</td><td align="center" valign="middle" >100</td><td align="center" valign="middle" >J/m<sup>2</sup>∙s∙K</td></tr><tr><td align="center" valign="middle" >L</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >m</td></tr><tr><td align="center" valign="middle" >Cp &#225;gua</td><td align="center" valign="middle" >4.187</td><td align="center" valign="middle" >KJ/kg∙K</td></tr><tr><td align="center" valign="middle" >T<sub>0</sub></td><td align="center" valign="middle" >295</td><td align="center" valign="middle" >K</td></tr><tr><td align="center" valign="middle" >T<sub>c</sub></td><td align="center" valign="middle" >315</td><td align="center" valign="middle" >K</td></tr></tbody></table></table-wrap><p>Implementing Equations ((3) and (4)), which are the concentration and temperature equations, we obtain Equations ((6) and (7)) successively:</p><p>d C A d x = C A 1 − C A 0 h → C A 1 = C A 0 + h d C A d x (6)</p><p>d T d x = T 1 − T 0 h → T 1 = T 0 + h d T d x (7)</p><p>The fourth order Runge-Kuta method is defined by the following equations:</p><p>y 1 = y 0 + [ 1 6 ( k 1 + 2 k 2 + 2 k 3 + k 4 ) ] h (8)</p><p>k 1 = f ( x 0 , y 0 ) (9)</p><p>k 2 = f ( x 0 + 1 2 h , y 0 + 1 2 h k 1 ) (10)</p><p>k 3 = f ( x 0 + 1 2 h , y 0 + 1 2 h k 2 ) (11)</p><p>k 3 = f ( x 0 + h , y 0 + h k 3 ) (12)</p><p>To perform these calculations, steps 10 cm, 5 cm and 1 cm were used to know which of these interactions converges faster to solve the system.</p></sec><sec id="s3"><title>3. Results and Discussion</title><p>Applying the mathematical and experimental methods, a 10 cm step was initially used to perform the calculations. The results of concentration and temperature can be seen in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>Analyzing <xref ref-type="fig" rid="fig4">Figure 4</xref>(a), it is possible to notice that the analytical method is the closest to the experimental measurements of concentration. The finite difference method came close to the analytical solution, and the Runge-Kutta method obtained a greater discrepancy than the others. In <xref ref-type="fig" rid="fig4">Figure 4</xref>(b), it was noted that the finite difference method were obtained at temperatures closer to the experimental ones than the analytical method. Again the Runge-Kutta Method was the method that obtained a larger discrepancy considering the experimental part.</p><p>In the next analysis, the same parameters were compared with a step of 5 cm. These results can be seen in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>Similar to <xref ref-type="fig" rid="fig5">Figure 5</xref>(a), the analytical method still comes closest to the experimental concentration values. The Runge-Kutta method demonstrates values well out of reality. However, this method is approaching the experimental results smoothly. In the temperature values, results similar to those of <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) were also obtained. In the last battery of results, a calculation with the step of 1 cm was carried out. These results can be better observed in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>The concentration results of <xref ref-type="fig" rid="fig6">Figure 6</xref>(a) demonstrate that all methods</p><p>approximate the experimental results. However, the Runge-kutta Method is now the one that gets values closer to reality, almost touching the same curve. In the results of temperature, the methods end up leaving the curve route at the end of the course of the reactor. And the curve that comes closest to reality is that of finite differences.</p></sec><sec id="s4"><title>4. Conclusions</title><p>Analyzing the methods by looking at the graphs and calculations performed, we realize that the smaller the step used, the more precise the concentration and temperature values arrive, because with the big steps, the curves go out a little bit of reality and change the concentration drastically and increase the temperature beyond the final length.</p><p>The method that proved most efficient in wide steps was the finite difference method, and as the steps were narrowing the Runge-Kutta method began to show smoother and more accurate curves.</p></sec><sec id="s5"><title>Cite this paper</title><p>de Miranda, D.A., Cristofolini, R., Corazza, E.J., dos Santos, G.J. and do Amaral, C.E. (2018) Compa- rison of Mathematical Methods to Obtain Concentration and Temperature of New- tonian Fluids in Tubular Reactors. Open Access Library Journal, 5: e4329. https://doi.org/10.4236/oalib.1104329</p></sec></body><back><ref-list><title>References</title><ref id="scirp.82414-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wachs, A., Clermont, J.R. and Khalifeh, A. (2002) Computations of Non-Isothermal Viscous and Viscoelastic Flows in a Brupt Contractions Using a Finite Volume Method. Engineering Computations, 19, 874-901.</mixed-citation></ref><ref id="scirp.82414-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Berlitz, T. and Matschke, G. (2004) Interior Airflow Simulation in Railway Rolling Stock. Research and Technology Centre of the Deutsche Bahn AG, Divi-sion for Aerodynamics and Airconditioning.</mixed-citation></ref><ref id="scirp.82414-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Yongson, O., Irfan, A.B., Zainala, Z.A. and Narayana, P.A.A. (2007) Airflow Analysis in an Air Conditioning Room. Building and Environment, 42, 1531-1537. https://doi.org/10.1016/j.buildenv.2006.01.002</mixed-citation></ref><ref id="scirp.82414-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Mikielewicz, D.P., Shehata, A.M., Jackson, J.D. and McEligot, D.M. (2002) Temperature, Velocity and Mean Turbulence Structure in Strongly Heated Internal Gas Flows. International Journal of Heat and Mass Transfer, 45, 4333-4352. https://doi.org/10.1016/S0017-9310(02)00119-9</mixed-citation></ref><ref id="scirp.82414-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Huang, P.G., Coleman, G.N. and Bradshaw, P. (1995) Compressible Turbulent Channel Flows: DNS Results and Modelling. Journal of Fluid Mechanics, 305, 185-218. https://doi.org/10.1017/S0022112095004599</mixed-citation></ref><ref id="scirp.82414-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Satake, S.I., Kunugi, T., Shehata, A.M. and McEligot, D.M. (2000) Direct Numerical Simulation for Laminarization of Turbulent Forced Gas Flows in Circular Tubes with Strong Heating. International Journal of Heat and Fluid Flow, 21, 526-534. https://doi.org/10.1016/S0142-727X(00)00041-2</mixed-citation></ref><ref id="scirp.82414-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Kays, W., Crawford, M. and Weigand, B. (2005) Convective Heat and Mass Transfer. 4th Edition, McGraw-Hill, New York.</mixed-citation></ref><ref id="scirp.82414-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Dukler, A.E. and Hubbard, M.G. (1975) A Model for Gas-Liquid Slug Flow in Horizontal and Near Horizontal Tubes. Industrial &amp; Engineering Chemistry Fundamentals, 14, 337-347. https://doi.org/10.1021/i160056a011</mixed-citation></ref><ref id="scirp.82414-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Smith, I.E., Nossen, J. and Unander, T.E. (2013) Improved Holdup and Pressure Drop Predictions for Multiphase Flow with Gas and High Viscosity Oil. BHR Group.</mixed-citation></ref><ref id="scirp.82414-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Burchard, H., Deleersnijder, E. and Meister, A. (2003) A High-Order Conservative Patankar-Type Discretisation for Stiff Systems of Production-Destruction Equations. Applied Numerical Mathematics, 47, 1-30.</mixed-citation></ref></ref-list></back></article>