<?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">
    wjet
   </journal-id>
   <journal-title-group>
    <journal-title>
     World Journal of Engineering and Technology
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2331-4222
   </issn>
   <issn publication-format="print">
    2331-4249
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/wjet.2024.123048
   </article-id>
   <article-id pub-id-type="publisher-id">
    wjet-135613
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Chemistry 
     </subject>
     <subject>
       Materials Science, Engineering
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    The Key Path of the Shape Optimization Design of Isotropic Material Pressure Vessels
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Qingshan
      </surname>
      <given-names>
       Zeng
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Zuxin
      </surname>
      <given-names>
       Chen
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aSchool of Aircraft Engineering, Nanchang Hangkong University, Nanchang, China
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     13
    </day> 
    <month>
     06
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    12
   </volume> 
   <issue>
    03
   </issue>
   <fpage>
    775
   </fpage>
   <lpage>
    797
   </lpage>
   <history>
    <date date-type="received">
     <day>
      26,
     </day>
     <month>
      July
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      25,
     </day>
     <month>
      July
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      25,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © 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>
    An optimization design was conducted for the shape of the pressure vessel with a thin-shell shell. During this process, the optimization calculation was performed with the aid of the genetic algorithm toolbox included in Matlab. Firstly, through the parametric modeling function of APDL, models such as arc-shaped, parabolic, elliptical, and those generated by the fitting curve command were successfully constructed. Meanwhile, the relevant settings of material properties were accomplished, and the static analysis was conducted. Secondly, the optimization calculation process was initiated using the genetic algorithm toolbox in Matlab. Eventually, through analysis and judgment, the model generated by the fitting curve command was relatively superior within the category of the best shape.
   </abstract>
   <kwd-group> 
    <kwd>
     Optimization Design
    </kwd> 
    <kwd>
      Parametric Modeling
    </kwd> 
    <kwd>
      Thin-Shell Shell
    </kwd> 
    <kwd>
      Matlab
    </kwd> 
    <kwd>
      Genetic Algorithm Toolbox
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Sundeep Moyya <xref ref-type="bibr" rid="scirp.135613-1">
     [1]
    </xref> conducted in-depth research on the design and analysis techniques of pressure vessels through computer-aided design (CAD) and CAE tools. The combination of pre-existing materials and complex layered designs effectively alleviates pressure and enhances the safety and efficiency of pressure vessels. The results of this study are quite helpful for a comprehensive understanding of the design and analysis of pressure vessels, and the ultimate pursuit is to develop pressure vessels with higher safety and better efficiency in various industries. Hardi Mohammed <xref ref-type="bibr" rid="scirp.135613-2">
     [2]
    </xref> noticed that GWO performs well in developing the best solution, and used the WOA and GWO hybrid method called WOAGWO in the research. This hybrid model has two steps: First, the hunting mechanism of GWO is embedded in the development stage of WOA, which is a new situation related to GWO; Secondly, new technologies are added in the exploration stage to optimize the solution after each iteration.</p>
   <p>Levend Parnas <xref ref-type="bibr" rid="scirp.135613-3">
     [3]
    </xref> developed an analysis program for the design and behavior prediction of fiber-reinforced composite pressure vessels. The elastic problem was solved through the classical lamination theory and the generalized plane strain model. Various factors were comprehensively considered, and the three-dimensional failure theory was used to obtain the optimal values of the relevant parameters of the pressure vessel, and the hygrothermal effect was also taken into account. F. Daghia <xref ref-type="bibr" rid="scirp.135613-4">
     [4]
    </xref>’s research shows that the mechanical response of pressure vessels to internal pressure is controlled by several key parameters, related to the structural geometry, the orientation and thickness of the composite layer. Simple models can understand the role and interrelationship of parameters in the early design stage, explore the design at low cost, and then use complex models to predict the detailed structural response. This article discusses the increasing model hierarchy, which is helpful for understanding the response of pressure vessels. M. Nebe <xref ref-type="bibr" rid="scirp.135613-5">
     [5]
    </xref> pointed out in the research that the industrialization of fuel cell electric vehicles requires an economically efficient hydrogen storage solution, and the gas storage technology of Type IV pressure vessels needs to be optimized. This study explored the influence of the stacking sequence of composite pressure vessels on the quality of laminates, etc. The laminates were studied by changing the stacking sequence. The specimen burst when pressurized to 166.11 MPa, and the deformation was tracked by 3D images. Experimental results: The burst pressure difference of the stacking sequence was 67%. Compared with the 3D elastic theory results, X-rays, etc. were used to provide insights. The results show that the stacking sequence has a significant influence. The 3D elastic method is useful, but there may be differences between predictions and experiments. The analysis and numerical strategies related to the transition effect should be considered. V. G. Belardi <xref ref-type="bibr" rid="scirp.135613-6">
     [6]
    </xref> proposed a closed-form analytical solution of the bending theory of composite material shells in the research, which is helpful for the design of composite material pressure vessels and promotes the development towards reliable structural configurations. The governing equations were derived and solved using the theory of thin-walled composite material shells to obtain the displacements and stresses at the joints. The analysis results were successfully compared and verified with the results of the finite element model. Different thicknesses of the container and other factors were considered to prove its accuracy. Cho-Chung Liang <xref ref-type="bibr" rid="scirp.135613-7">
     [7]
    </xref> studied the optimal design of the dome profile of filament-wound composite pressure vessels in his article. This design is subject to various conditions. The feasible direction method is used to maximize the shape factor, and the actual design example proposed by Fukunaga et al. is used to explore the optimal dome profile. S Sulaiman <xref ref-type="bibr" rid="scirp.135613-8">
     [8]
    </xref> covered the simulation work of carbon/epoxy fiber-reinforced polymer (CFRP) wrapped aluminum pressure vessels in his own research. The effect of winding angle on fiber-wound pressure vessels was explored through the finite element method (FEM). The burst pressure, maximum shell displacement and the optimal winding angle of the composite material container under the condition of pure internal pressure were determined.</p>
   <p>Many researchers have conducted in-depth studies on pressure vessels. Sundeep Moyya used CAD and CAE tools to study its design and analysis techniques; Hardi Mohammed used a hybrid method of WOA and GWO to develop solutions; Levend Parnas developed programs to predict its design and behavior; F. Daghia pointed out that the mechanical response of pressure vessels is controlled by key parameters; M. Nebe explored the influence of the stacking sequence of pressure vessels; V. G. Belardi proposed an analytical solution of the bending theory of composite material shells; Cho-Chung Liang studied the optimal design of the dome profile; S. Sulaiman carried out simulation work to explore the effect of the winding angle. These studies cover multiple aspects of pressure vessels and promote their development. However, these literatures lack research and discussion on the shape of pressure vessels. More researchers have focused on other aspects such as the lightweight and high performance of pressure vessels. There is relatively less research on the shape of pressure vessels. In this study, the parametric modeling function of APDL will be used to establish pressure vessel models of circular arc, elliptical, parabolic and those fitted by using the fitting curve command. By writing APDL code to apply force to the model and calculate, an equivalent stress value is calculated. Then, the genetic algorithm toolbox included in Matlab is jointly used for optimization calculation to obtain a relatively optimized target.</p>
  </sec><sec id="s2">
   <title>2. Establish a Model</title>
   <sec id="s2_1">
    <title>2.1. The Establishment of the Parabolic Pressure Vessel Model</title>
    <p>A parabola is the locus of points on a plane that are equidistant from a given point and a specific line. When the focus is on the focal line, it is a parabolic curve with a fixed angle. It has representations such as parametric equations and standard equations, and is important in applications in fields such as geometric optics and mechanics. As a conic section, it is obtained by the intersection of a cone and a plane with parallel generatrix, and can be regarded as the image of a quadratic function under coordinate transformation.</p>
    <p>1) Parabola with the right opening:</p>
    <p>
     <xref ref-type="bibr" rid="scirp.135613-"></xref> 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mn>
         2 
       </mn> 
       <mi>
         p 
       </mi> 
       <mi>
         x 
       </mi> 
      </mrow> 
     </math> (1)</p>
    <p>In the parabola with the right opening, p is the distance from the focus to the directrix and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         p 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>; the coordinates of the focus are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            p 
          </mi> 
          <mo>
            / 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>; the equation of the directrix is 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          / 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </mrow> 
     </math>; eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, Range: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>:</p>
    <p>2) Parabola with the left opening:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mn>
         2 
       </mn> 
       <mi>
         p 
       </mi> 
       <mi>
         x 
       </mi> 
      </mrow> 
     </math> (2)</p>
    <p>In the parabola with the left opening, p is the distance from the focus to the directrix and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         p 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>; the coordinates of the focus are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mrow> 
          <mi>
            p 
          </mi> 
          <mo>
            / 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>; the equation of the directrix is 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          / 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </mrow> 
     </math>; eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, Range: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>;</p>
    <p>3) Parabola with the upward opening:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mn>
         2 
       </mn> 
       <mi>
         p 
       </mi> 
       <mi>
         y 
       </mi> 
      </mrow> 
     </math> (3)</p>
    <p>In the parabola with the left opening, p is the distance from the focus to the directrix and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         p 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>; the coordinates of the focus are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mi>
            p 
          </mi> 
          <mo>
            / 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>; the equation of the directrix is 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          / 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </mrow> 
     </math>; eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, Range: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         ≥ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>;</p>
    <p>4) Parabola with the downward opening:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mn>
         2 
       </mn> 
       <mi>
         p 
       </mi> 
       <mi>
         y 
       </mi> 
      </mrow> 
     </math> (4)</p>
    <p>In the parabola with the downward opening, p is the distance from the focus to the directrix and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         p 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>; the coordinates of the focus are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           − 
         </mo> 
         <mrow> 
          <mi>
            p 
          </mi> 
          <mo>
            / 
          </mo> 
          <mn>
            2 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>; the equation of the directrix is 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mi>
          p 
        </mi> 
        <mo>
          / 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
      </mrow> 
     </math>; eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, Range: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         ≤ 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>.</p>
    <p>In the parabolic pressure vessel model, the equation of the parabola can be derived by determining two points on it. In APDL, fixed point 1 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and fixed point 2 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> are respectively created. Point 1 is the leftmost point in the entire model. Substituting point 1 and point 2 into formula (1), a parabola formula with the right opening and the vertex on the axis is obtained:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mn>
           0.09 
         </mn> 
        </mrow> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
        </mrow> 
       </mfrac> 
       <mo>
         ⋅ 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           x 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (5)</p>
    <p>Using the *DO loop command in APDL, one hundred key points are generated within the range from 0 to 0.3. Then, these key points are fitted into a straight line using Formula (5) and the BSPLIN command. This process is aimed at enhancing the appearance smoothness of the entire parabolic pressure vessel model. Through the above operations, a parabolic model with the right opening is obtained. As shown in <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref>, it is the successfully fitted parabolic model with the right opening.</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. Parabolic model with the right opening.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId63.jpeg?20240828034245" />
    </fig>
    <p>The two key points of the parabola at the right end of the model are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           1.05 
         </mn> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.75 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, Substitute these two key points into Formula (2), and by using Formula (6), a parabolic equation with the left opening and the vertex located on the x-axis can be obtained:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mn>
           0.09 
         </mn> 
        </mrow> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           − 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
       </mfrac> 
       <mo>
         ⋅ 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           x 
         </mi> 
         <mo>
           + 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           − 
         </mo> 
         <mn>
           1.05 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (6)</p>
    <p>By generating one hundred points through the same method mentioned above, a parabolic model with the left opening can be obtained, as shown in <xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>.</p>
    <p>By connecting the key point 103 and the key point 104 in the model and applying the AROTAT rotation command, the pressure vessel model as shown in <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref> can be obtained. Its left and right sides are parabolic in shape, and the middle is cylindrical. Combining them together forms the pressure vessel model in the parabolic shape.</p>
    <fig id="fig2" position="float">
     <label>Figure 2</label>
     <caption>
      <title>Figure 2. Parabolic model with the left opening.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId70.jpeg?20240828034245" />
    </fig>
    <fig id="fig3" position="float">
     <label>Figure 3</label>
     <caption>
      <title>Figure 3. Parabolic pressure vessel model on both sides.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId71.jpeg?20240828034245" />
    </fig>
   </sec>
   <sec id="s2_2">
    <title>2.2. Establishment of the Circular Arc Pressure Vessel Model</title>
    <p>A circle is a closed curve formed by rotating a certain length around a point, and the symmetry axis passes through the center of the circle. The entire model consists of three parts: the circular arcs on the left and right sides and the cylinder in the middle. The entire model is a closed and sealed pressure vessel model. Through the traditional formula of the circle, the expressions of the circular arc and the center of the circle can be obtained respectively.</p>
    <p>1) General equation of a circle:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <mi>
         D 
       </mi> 
       <mi>
         x 
       </mi> 
       <mo>
         + 
       </mo> 
       <mi>
         E 
       </mi> 
       <mi>
         y 
       </mi> 
       <mo>
         + 
       </mo> 
       <mi>
         F 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math> (7)</p>
    <p>2) The formula of the center of a circle:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mfrac> 
          <mi>
            D 
          </mi> 
          <mn>
            2 
          </mn> 
         </mfrac> 
         <mo>
           , 
         </mo> 
         <mo>
           − 
         </mo> 
         <mfrac> 
          <mi>
            E 
          </mi> 
          <mn>
            2 
          </mn> 
         </mfrac> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (8)</p>
    <p>3) The radius of a circle:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         r 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <msqrt> 
          <mrow> 
           <msup> 
            <mi>
              D 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
           <mo>
             + 
           </mo> 
           <msup> 
            <mi>
              E 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
           <mo>
             − 
           </mo> 
           <mn>
             4 
           </mn> 
           <mi>
             F 
           </mi> 
          </mrow> 
         </msqrt> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </mfrac> 
      </mrow> 
     </math> (9)</p>
    <p>Among them, the condition that satisfies the equation of a circle in Formula (9) is: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          D 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <msup> 
        <mi>
          E 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         − 
       </mo> 
       <mn>
         4 
       </mn> 
       <mi>
         F 
       </mi> 
       <mo>
         &gt; 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>By using the command LARC of the APDL parametric language:</p>
    <p>LARC, PA, P2, PC, RAD</p>
    <p>P1: The key point at one end of the arc line</p>
    <p>P2: The key point at the other end of the arc line</p>
    <p>PC: The center point of the circle corresponding to the arc line, the radius value is positive, and the PC point must not be placed at the straight line position of P1 and P2.</p>
    <p>RAD: The curve radius of the arc.</p>
    <p>The circular model is modeled through the LARC command. Two key points 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> are created in APDL, and by using Formulas (7), (8), and (9) to obtain the formulas for the radius and the center of the circle, the arc model can be created. As shown in <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref>, it is the left part of the entire model, the circular arc model.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. Left half model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId84.jpeg?20240828034245" />
    </fig>
    <p>As shown in <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref>, it is the right part of the entire model.</p>
    <p>Connect the key point 3 and the key point 5, and use the AROTAT rotation command to generate a model with arc-shaped appearances on both the left and right sides and a thin-walled cylinder in the middle. Combining them together constitutes a complete circular arc pressure vessel model, as shown in <xref ref-type="fig" rid="fig6">
      Figure 6
     </xref>.</p>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>Figure 5. Right half model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId85.jpeg?20240828034245" />
    </fig>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>Figure 6. Circular arc pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId86.jpeg?20240828034245" />
    </fig>
   </sec>
   <sec id="s2_3">
    <title>2.3. The Establishment of the Elliptical Pressure Vessel Model</title>
    <p>In mathematical geometry, the sum of the distances from a point on an ellipse to its two foci is constant. It is a generalized form of a circle and its shape is represented by the eccentricity, with the range of the eccentricity being from 0 to less than 1. An ellipse is a closed planar curve formed by the intersection of a cone and a plane. Ellipses have similarities in many aspects with the other two conic sections, parabolas and hyperbolas, all of which extend infinitely. The section of a cylinder is elliptical unless it is perpendicular to the axis of the cylinder.</p>
    <p>The standard equation of an ellipse has two forms:</p>
    <p>1) The foci of the ellipse are on the x-axis:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            x 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mi>
            a 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mi>
            b 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           a 
         </mi> 
         <mo>
           &gt; 
         </mo> 
         <mi>
           b 
         </mi> 
         <mo>
           &gt; 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (10)</p>
    <p>Vertex coordinates: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           ± 
         </mo> 
         <mi>
           a 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           ± 
         </mo> 
         <mi>
           b 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Symmetry axis: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>Focal coordinates: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           ± 
         </mo> 
         <mi>
           e 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          c 
        </mi> 
        <mi>
          a 
        </mi> 
       </mfrac> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mn>
         0 
       </mn> 
       <mo>
         &lt; 
       </mo> 
       <mi>
         e 
       </mi> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math></p>
    <p>Directrix equation: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         = 
       </mo> 
       <mo>
         ± 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            a 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mi>
          c 
        </mi> 
       </mfrac> 
      </mrow> 
     </math></p>
    <p>2) The foci of the ellipse are on the y-axis</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mi>
            a 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            x 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mi>
            b 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           a 
         </mi> 
         <mo>
           &gt; 
         </mo> 
         <mi>
           b 
         </mi> 
         <mo>
           &gt; 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (11)</p>
    <p>Vertex coordinates: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           ± 
         </mo> 
         <mi>
           a 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           ± 
         </mo> 
         <mi>
           b 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Symmetry axis: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>Focal coordinates: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           ± 
         </mo> 
         <mi>
           e 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>Eccentricity: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          c 
        </mi> 
        <mi>
          a 
        </mi> 
       </mfrac> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mn>
         0 
       </mn> 
       <mo>
         &lt; 
       </mo> 
       <mi>
         e 
       </mi> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math></p>
    <p>Directrix equation: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         = 
       </mo> 
       <mo>
         ± 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            a 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mi>
          c 
        </mi> 
       </mfrac> 
      </mrow> 
     </math></p>
    <p>It can be seen from Formulas (10) and (11) that there are two types of ellipses. In APDL, create Point 1 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, Point 2 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, and Point 3 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mo>
           − 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. These three points can determine the elliptical arc model to be solved. Point 1 is the leftmost point of the elliptical model. Substitute the two points into Formula (10). The formula of the elliptical model with the major axis on the x-axis and the minor axis on the y-axis is:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <mn>
           0.09 
         </mn> 
        </mrow> 
       </mfrac> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               0.3 
             </mn> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               0.3 
             </mn> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math> (12)</p>
    <p>And use the *DO loop command in APDL to generate one hundred key points within the range of 0 to 0.3 using Formula (12). In order to make both sides of the entire pressure vessel model smoother, the BSPLIN command can be used to fit these 100 key points into an arc, and an ellipse with the major axis on the y-axis and the minor axis on the x-axis can be obtained. As shown in <xref ref-type="fig" rid="fig7">
      Figure 7
     </xref>, it is the left part of the required elliptical pressure vessel model. The two key points of the ellipse at the right end of the model are 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           1.05 
         </mn> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.75 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. Substituting these two points into Formula (11), an elliptical equation with a focus on the x-axis can also be obtained:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <mn>
           0.09 
         </mn> 
        </mrow> 
       </mfrac> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               0.75 
             </mn> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               0.3 
             </mn> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math> (13)</p>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>Figure 7. The left part of the model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId134.jpeg?20240828034246" />
    </fig>
    <p>Using the same method mentioned above to generate one hundred points, the right part of the elliptical pressure vessel model can be obtained, as shown in <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref>. Subsequently, connect key point 104 and key point 103, and use the AROTAT rotation command to generate a model with elliptical shapes on the left and right sides and a cylinder in the middle, as shown in <xref ref-type="fig" rid="fig9">
      Figure 9
     </xref>. By combining these parts, an elliptical pressure vessel model is obtained.</p>
    <fig id="fig8" position="float">
     <label>Figure 8</label>
     <caption>
      <title>Figure 8. The right part of the model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId135.jpeg?20240828034246" />
    </fig>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>Figure 9. Elliptical pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId136.jpeg?20240828034246" />
    </fig>
   </sec>
   <sec id="s2_4">
    <title>2.4. Establishment of the Fitted Curvilinear Pressure Vessel Model</title>
    <p>In this subsection for modeling, the BSPLIN command in APDL is used for modeling. Firstly, create five points 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            1 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            2 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <msub> 
            <mi>
              y 
            </mi> 
            <mn>
              6 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            3 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               2 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            4 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               3 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            5 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               4 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> respectively, and then create a fixed point 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            y 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0.3 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. These six points do not affect each other. The positional relationship of these six points is: 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          3 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          4 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          5 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          6 
        </mn> 
       </msub> 
      </mrow> 
     </math>. The BSPLIN command in APDL is to generate a curve through spline fitting for multiple key points.</p>
    <p>Its usage format is:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         B 
       </mi> 
       <mi>
         S 
       </mi> 
       <mi>
         P 
       </mi> 
       <mi>
         L 
       </mi> 
       <mi>
         I 
       </mi> 
       <mi>
         N 
       </mi> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         2 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         3 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         4 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         5 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Z 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Z 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
      </mrow> 
     </math></p>
    <p>Among them:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         2 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         3 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         4 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         5 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         P 
       </mi> 
       <mn>
         6 
       </mn> 
      </mrow> 
     </math>: The key point numbers of the spline curve to be fitted are required, and at least two key points are needed. P1 can also be P.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Z 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>: The positioning point of the outer vector tangent to the generated line at point P1, whose starting point is the origin. The coordinate system is the currently activated coordinate system, such as X corresponding to the cylindrical coordinate R, etc. The default value is zero.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         , 
       </mo> 
       <mi>
         Z 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
      </mrow> 
     </math>: The positioning point of the outer vector tangent to the generated line at point P6 (if there are fewer than 6 key points, it refers to the last key point). The default value is zero.</p>
    <p>When using this command, relevant matters should be considered. Generate a curve between the key point P1 and the last input key point. The line passes through each key point and should be used as little as possible in the toroidal coordinate system.</p>
    <p>Among the settings of these six points P1 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            1 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P2 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            2 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <msub> 
            <mi>
              y 
            </mi> 
            <mn>
              6 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P3 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            3 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               2 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P4 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            4 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               3 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P5 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            5 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               4 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and P6 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            y 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, the values of the y coordinates are determined, and the values of the x coordinates change randomly.</p>
    <p>Substitute these coordinate values into the BSPLIN command to obtain the fitted curvilinear model on the left side of the model. In order to make the curve smoother during fitting, set XV1, YV1, XV6, and YV6 in the command to 0, −1, 1, and 0 respectively. As shown in <xref ref-type="fig" rid="fig10">
      Figure 10
     </xref>, it is the left part of the model fitted by the fitted curve command. Similarly, for the coordinates on the right side of the model, they are set as: P7 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           , 
         </mo> 
         <msub> 
          <mi>
            y 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P8 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mo>
           ∗ 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           X 
         </mi> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <msub> 
            <mi>
              y 
            </mi> 
            <mn>
              6 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P9 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mo>
           ∗ 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            3 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               2 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P10 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mo>
           ∗ 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            4 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               3 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P11 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mo>
           ∗ 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            5 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mn>
               4 
             </mn> 
             <mo>
               ∗ 
             </mo> 
             <msub> 
              <mi>
                y 
              </mi> 
              <mn>
                6 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            / 
          </mo> 
          <mn>
            5 
          </mn> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>, P12 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mo>
           ∗ 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            6 
          </mn> 
         </msub> 
         <mo>
           + 
         </mo> 
         <mi>
           X 
         </mi> 
         <mtext>
           _ 
         </mtext> 
         <mi>
           L 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           G 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           H 
         </mi> 
         <mo>
           − 
         </mo> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mn>
            1 
          </mn> 
         </msub> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. By using the BSPLIN command to select the above six points, the fitted curve model of the right part can be fitted. In order to make the curve smoother during fitting, the relevant data on the right side are set as 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         1 
       </mn> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         Y 
       </mi> 
       <mi>
         V 
       </mi> 
       <mn>
         6 
       </mn> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math>. <xref ref-type="fig" rid="fig11">
      Figure 11
     </xref> shows the right part of the model generated by the fitted curve command.</p>
    <fig id="fig10" position="float">
     <label>Figure 10</label>
     <caption>
      <title>Figure 10. Left fitted curvilinear model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId188.jpeg?20240828034247" />
    </fig>
    <fig id="fig11" position="float">
     <label>Figure 11</label>
     <caption>
      <title>Figure 11. Right fitted curvilinear model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId189.jpeg?20240828034247" />
    </fig>
    <p>Next, connect key point 6 and key point 7, and use the AROTAT rotation command to create the pressure vessel model as shown in <xref ref-type="fig" rid="fig12">
      Figure 12
     </xref>. Its two sides are models composed of fitted curves, and the middle is a thin-walled cylinder. After combining these parts, the fitted curvilinear pressure vessel model is generated.</p>
    <fig id="fig12" position="float">
     <label>Figure 12</label>
     <caption>
      <title>Figure 12. Fitted curvilinear pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId190.jpeg?20240828034247" />
    </fig>
   </sec>
   <sec id="s2_5">
    <title>2.5. Model Material Properties</title>
    <p>In the model of this study, it is a thin-walled pressure vessel model structure. In ANSYS, the element type is defined as SHELL181 element, and then the material properties of the isotropic material pressure vessel are defined. The material used for the pressure vessel is 7075 aluminum alloy.</p>
    <p>7075 aluminum alloy is a cold-treated high-strength forged alloy, and its performance far exceeds that of mild steel. In 7075 alloy, zinc is one of the main alloying elements, and the addition of magnesium can significantly enhance the strength of the alloy. Compared to the aluminum-zinc binary alloy, 7075 aluminum alloy has a more significant effect after heat treatment. This alloy is widely used in aerospace, mold processing, mechanical equipment, and tooling fixtures, and is particularly suitable for aircraft structure manufacturing and other high-stress structural components that require high strength and corrosion resistance.</p>
    <p>The material parameters of 7075 aluminum alloy need to be set in the finite element analysis, including Poisson’s ratio, elastic modulus and density. These settings can be carried out simultaneously using the APDL parametric language command. The specific setting methods are as follows:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <mi>
           M 
         </mi> 
         <mi>
           P 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           X 
         </mi> 
         <mo>
           , 
         </mo> 
         <mo>
           , 
         </mo> 
         <mn>
           71000 
         </mn> 
         <mi>
           E 
         </mi> 
         <mn>
           6 
         </mn> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           M 
         </mi> 
         <mi>
           P 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           P 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           X 
         </mi> 
         <mi>
           Y 
         </mi> 
         <mo>
           , 
         </mo> 
         <mo>
           , 
         </mo> 
         <mn>
           0.3 
         </mn> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           M 
         </mi> 
         <mi>
           P 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           D 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           S 
         </mi> 
         <mo>
           , 
         </mo> 
         <mo>
           , 
         </mo> 
         <mn>
           2810 
         </mn> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math></p>
   </sec>
   <sec id="s2_6">
    <title>2.6. The Division of the Mesh</title>
    <p>In APDL, the element shape can be achieved by means of the command MSHAPE, Key, Dimension. This paper covers the meshing work of circular arc-shaped, parabolic-shaped, elliptical-shaped and fitted curvilinear pressure vessel models. In the model, a freely divided mesh was adopted, and the element shape was divided into 2D tetrahedral elements for analysis. To ensure the efficiency and accuracy of the calculation, the element size of the model mesh in this paper is set to 0.009. Such a setting can avoid the problem of too long calculation time due to excessive number of meshes while ensuring the calculation accuracy. The meshing effects of each model are shown in <xref ref-type="fig" rid="figFigures 13-16">
      Figures 13-16
     </xref> respectively.</p>
    <fig id="fig13" position="float">
     <label>Figure 13</label>
     <caption>
      <title>Figure 13. The overall meshing of the circular arc pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId193.jpeg?20240828034248" />
    </fig>
    <fig id="fig14" position="float">
     <label>Figure 14</label>
     <caption>
      <title>Figure 14. The overall meshing of the elliptical pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId194.jpeg?20240828034248" />
    </fig>
    <fig id="fig15" position="float">
     <label>Figure 15</label>
     <caption>
      <title>Figure 15. The meshing of the parabolic pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId195.jpeg?20240828034249" />
    </fig>
    <fig id="fig16" position="float">
     <label>Figure 16</label>
     <caption>
      <title>Figure 16. Meshing of the fitted curvilinear model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId196.jpeg?20240828034249" />
    </fig>
   </sec>
  </sec><sec id="s3">
   <title>3. Model Structure Strength Optimization Design Based on Genetic Algorithm</title>
   <sec id="s3_1">
    <title>3.1. Operation Process of Genetic Algorithm</title>
    <p>The operation process of the genetic algorithm belongs to a cyclic iterative process. At first, the initial population is generated through encoding to adapt to the actual problem. Next, genetic operations such as selection, crossover and mutation are carried out based on the fitness function, so as to screen out individuals with higher fitness and recombine to form a new population. This process is continuously cycled, and the search and optimization are carried out generation after generation until it converges to the optimal individual. The optimal individual is the optimal solution obtained by means of the genetic algorithm. The basic operation process of the genetic algorithm is shown in <xref ref-type="fig" rid="fig17">
      Figure 17
     </xref>.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. Establishment of the Optimization Objective Function</title>
    <p>For the circular arc-shaped, parabolic-shaped, elliptical-shaped and fitted linear pressure vessel models, this section will take their best shapes as the optimization goals.</p>
    <p>The programs in APDL can automatically calculate the model. The equivalent stress magnitude of the calculation can be extracted through the following program:</p>
    <fig id="fig17" position="float">
     <label>Figure 17</label>
     <caption>
      <title>Figure 17. Flowchart of genetic algorithm.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId197.jpeg?20240828034250" />
    </fig>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <mo>
           / 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           F 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           C 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           1 
         </mn> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           N 
         </mi> 
         <mi>
           S 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           S 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           A 
         </mi> 
         <mi>
           L 
         </mi> 
         <mi>
           L 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           G 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mn>
           1 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           S 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           M 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           X 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           G 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mn>
           2 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           S 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <mi>
           M 
         </mi> 
         <mi>
           I 
         </mi> 
         <mi>
           N 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           M 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           X 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mo>
           = 
         </mo> 
         <mi>
           M 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           X 
         </mi> 
         <mo stretchy="false">
           ( 
         </mo> 
         <mi>
           A 
         </mi> 
         <mi>
           B 
         </mi> 
         <mi>
           S 
         </mi> 
         <mo stretchy="false">
           ( 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mn>
           1 
         </mn> 
         <mo stretchy="false">
           ) 
         </mo> 
         <mo>
           , 
         </mo> 
         <mi>
           A 
         </mi> 
         <mi>
           B 
         </mi> 
         <mi>
           S 
         </mi> 
         <mo stretchy="false">
           ( 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
         <mn>
           2 
         </mn> 
         <mo stretchy="false">
           ) 
         </mo> 
         <mo stretchy="false">
           ) 
         </mo> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math></p>
    <p>Output the result and write it to a file:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <mo>
           / 
         </mo> 
         <mi>
           P 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           S 
         </mi> 
         <mi>
           T 
         </mi> 
         <mn>
           1 
         </mn> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           S 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           T 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           L 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           S 
         </mi> 
         <mi>
           T 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           C 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           E 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           W 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           I 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           I 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           M 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           C 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           C 
         </mi> 
         <mi>
           F 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           P 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           W 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           I 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           I 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           T 
         </mi> 
         <mi>
           X 
         </mi> 
         <mi>
           T 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           V 
         </mi> 
         <mi>
           W 
         </mi> 
         <mi>
           R 
         </mi> 
         <mi>
           I 
         </mi> 
         <mi>
           T 
         </mi> 
         <mi>
           E 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           M 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           X 
         </mi> 
         <mi>
           E 
         </mi> 
         <mi>
           Q 
         </mi> 
         <mi>
           V 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo stretchy="false">
           ( 
         </mo> 
         <mn>
           1 
         </mn> 
         <mi>
           F 
         </mi> 
         <mn>
           20.6 
         </mn> 
         <mo stretchy="false">
           ) 
         </mo> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           C 
         </mi> 
         <mi>
           F 
         </mi> 
         <mi>
           C 
         </mi> 
         <mi>
           L 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           S 
         </mi> 
         <mi>
           E 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           * 
         </mo> 
         <mi>
           E 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           D 
         </mi> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mi>
           W 
         </mi> 
         <mi>
           O 
         </mi> 
         <mi>
           A 
         </mi> 
         <mi>
           I 
         </mi> 
         <mi>
           N 
         </mi> 
         <mi>
           I 
         </mi> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math></p>
   </sec>
   <sec id="s3_3">
    <title>3.3. Determine the Constraint Conditions</title>
    <p>For the constraint conditions of the model, they are mainly determined based on the value range of the independent variables. The constraint conditions that need to be determined for the four models are respectively:</p>
    <p>1) The constraint condition of the circular arc pressure vessel model is Formula (14):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mn>
         0 
       </mn> 
       <mo>
         ≤ 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         0.3 
       </mn> 
      </mrow> 
     </math> (14)</p>
    <p>2) The constraint condition of the parabolic pressure vessel model is Formula (15):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mn>
         0 
       </mn> 
       <mo>
         ≤ 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         0.3 
       </mn> 
      </mrow> 
     </math> (15)</p>
    <p>3) Ellipses are divided into the cases where the foci are on the x-axis and the foci are on the y-axis. These two cases can be expressed together in Formula (12). The constraint condition in this case is Formula (16):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo>
         − 
       </mo> 
       <mi>
         inf 
       </mi> 
       <mo>
         ≤ 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         0.3 
       </mn> 
      </mrow> 
     </math> (16)</p>
    <p>4) The constraint condition of the fitted curvilinear pressure vessel model is Formula (17):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          3 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          4 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mn>
          5 
        </mn> 
       </msub> 
       <mo>
         &lt; 
       </mo> 
       <mn>
         0.3 
       </mn> 
      </mrow> 
     </math> (17)</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Settings of Related Parameters</title>
    <p>The Genetic Algorithm Toolbox is an optimization algorithm toolbox included in MATLAB. It has extremely powerful computing capabilities and a unique user interface, which can significantly reduce the amount of program writing. It is simple to operate and easy to use. Therefore, in this study, this toolbox is called for optimization solution.</p>
    <p>When calling the toolbox for solution, a series of parameters need to be set, such as the call of the objective function, the number of variables, constraint conditions and boundary conditions, etc. When calling the genetic algorithm toolbox for calculation, some options need to be set. Among them, the population size is set to 20, the number of iterations is set to 10,000 generations, the size of the best fitness is set to: 1E−06, the feasibility of nonlinear constraints is determined as: 1E−3, and other parameters all use the default settings in the toolbox. When the genetic algorithm reaches the number of iterations or the optimized value is smaller than the size of the best fitness, the genetic algorithm will stop searching and find the best optimized value.</p>
    <p>In this study, the APDL program was used as the fitness function and embedded in the genetic algorithm for calculation. Among them, the number of input variables for the fitted curvilinear pressure vessel model is 5, while the number of input variables for the other three models is 1.</p>
   </sec>
   <sec id="s3_5">
    <title>3.5. Analysis Based on the Optimization Results of MATLAB</title>
    <p>The optimization calculation was carried out using the MATLAB Genetic Algorithm Toolbox, with the best shape of the four models as the optimization goal. The following presents the best solutions and equivalent stress values obtained through the optimization algorithm, as well as the corresponding model diagrams.</p>
    <p>1) The optimal shape size and corresponding equivalent stress value of the parabolic pressure vessel model are shown in <xref ref-type="table" rid="table1">
      Table 1
     </xref>:</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135613-"></xref>Table 1. The optimal data of the parabolic pressure vessel model.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="53.99%">x<sub>0</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="55.41%">Equivalent stress (Pa)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="53.99%">1.4901E−08<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="55.41%">5.8692e+08<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>As shown in <xref ref-type="fig" rid="fig18">
      Figure 18
     </xref>, it is the model diagram after optimization by the genetic algorithm:</p>
    <fig id="fig18" position="float">
     <label>Figure 18</label>
     <caption>
      <title>Figure 18. Optimal parabolic pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId209.jpeg?20240828034253" />
    </fig>
    <p>
     <xref ref-type="fig" rid="fig19">
      Figure 19
     </xref> is the optimization convergence graph formed when using the genetic algorithm. In <xref ref-type="fig" rid="fig19">
      Figure 19
     </xref>, the ordinate represents the fitness value, and the abscissa represents the number of iterations. It can be observed from the figure that it gradually converges from the tenth generation, and the fitness value gradually approaches 5.8692e+08 Pa.</p>
    <fig id="fig19" position="float">
     <label>Figure 19</label>
     <caption>
      <title>Figure 19. The optimization convergence graph of the parabolic pressure vessel.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId210.jpeg?20240828034252" />
    </fig>
    <p>As shown in <xref ref-type="fig" rid="fig20">
      Figure 20
     </xref>, it is the equivalent stress nephogram of the parabolic pressure vessel under the optimal shape size:</p>
    <fig id="fig20" position="float">
     <label>Figure 20</label>
     <caption>
      <title>Figure 20. Equivalent stress nephogram of the parabolic pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId211.jpeg?20240828034252" />
    </fig>
    <p>Through the optimization calculation of the genetic algorithm, the equivalent stress nephogram of the corresponding parabolic model in <xref ref-type="fig" rid="fig20">
      Figure 20
     </xref> was obtained. It can be observed from the figure that the calculated minimum equivalent stress value is 0.861e+08 Pa, the maximum equivalent stress value is 0.109e+10 Pa, and the maximum deformation is 0.002592 m. The ratio of the two is 12.45, which indicates that the ratio of the maximum value to the minimum value is too large, and the expected equivalent stress effect has not been achieved. Through careful observation of <xref ref-type="fig" rid="fig20">
      Figure 20
     </xref>, it can be understood that the stress distribution of the parabolic model is extremely uneven. In view of this, among the four shape conditions studied and discussed in this article, the parabolic model fails to meet the relevant requirements.</p>
    <p>2) The optimal shape size and equivalent stress value of the circular arc pressure vessel model are shown in <xref ref-type="table" rid="table2">
      Table 2
     </xref>.</p>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135613-"></xref>Table 2. The optimal data of the circular arc pressure vessel model.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="54.01%">x<sub>0</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="55.39%">Equivalent stress (Pa)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="54.01%">4.4729e−04<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="55.39%">5.3685e+08<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>As shown in <xref ref-type="fig" rid="fig21">
      Figure 21
     </xref>, it is the model diagram after optimization by the genetic algorithm:</p>
    <p>As shown in <xref ref-type="fig" rid="fig22">
      Figure 22
     </xref>, it is the optimization convergence graph of the circular arc pressure vessel model obtained by using the genetic algorithm:</p>
    <fig id="fig21" position="float">
     <label>Figure 21</label>
     <caption>
      <title>Figure 21. The best circular arc pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId212.jpeg?20240828034252" />
    </fig>
    <fig id="fig22" position="float">
     <label>Figure 22</label>
     <caption>
      <title>Figure 22. The convergence curve graph of the circular arc pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId213.jpeg?20240828034252" />
    </fig>
    <p>By observing <xref ref-type="fig" rid="fig22">
      Figure 22
     </xref>, the ordinate represents the fitness value and the abscissa represents the number of iterations. It can be learned from the figure that starting from the tenth generation, the fitness value gradually converges to a fixed value. Eventually, at the 69th generation, the difference between the best fitness function value and the average fitness value is less than the set value, and the iterative calculation stops, obtaining the required value: 5.3685e+08.</p>
    <p>As shown in <xref ref-type="fig" rid="fig23">
      Figure 23
     </xref>, it is the equivalent stress nephogram under the optimal shape size:</p>
    <p>Considering the constraint conditions, after the optimization calculation by the genetic algorithm, the corresponding equivalent stress nephogram indicates that the maximum deformation of the circular arc pressure vessel is 0.002381 m, the minimum equivalent stress is 0.261e+09 Pa, and the maximum equivalent stress is 0.537e+09 Pa. It can be observed that the ratio of the two is 0.48, indicating that the ratio is moderate.</p>
    <fig id="fig23" position="float">
     <label>Figure 23</label>
     <caption>
      <title>Figure 23. Equivalent stress nephogram of the circular arc pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId214.jpeg?20240828034252" />
    </fig>
    <p>3) Elliptical pressure vessel model</p>
    <p>The equation of the ellipse is divided into two cases where the focus is on the x-axis and the focus is on the y-axis. However, by using Formulas (13) and (14), both cases can be taken into consideration together, and the optimal shape size and the magnitude of the equivalent stress as shown in <xref ref-type="table" rid="table3">
      Table 3
     </xref> can be obtained under the relevant constraint conditions.</p>
    <table-wrap id="table3">
     <label>
      <xref ref-type="table" rid="table3">
       Table 3
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135613-"></xref>Table 3. The optimal data of the elliptical pressure vessel model.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="53.58%">x<sub>0</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="55.82%">Equivalent stress (Pa)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="53.58%">−2.7602<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="55.82%">5.1969e+08<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>As shown in <xref ref-type="fig" rid="fig24">
      Figure 24
     </xref>, it is the optimization convergence graph of the elliptical pressure vessel model when using the genetic algorithm for optimization calculation. In <xref ref-type="fig" rid="fig24">
      Figure 24
     </xref>, the ordinate represents the fitness value, and the abscissa represents the number of iterations. By observing the chart, it can be found that the variation range of the optimal value is not significant. After iterative calculation, the equivalent stress values as shown in <xref ref-type="table" rid="table3">
      Table 3
     </xref> are obtained.</p>
    <p>
     <xref ref-type="fig" rid="fig25">
      Figure 25
     </xref> is the best model diagram after optimization.</p>
    <p>As shown in <xref ref-type="fig" rid="fig26">
      Figure 26
     </xref>, it is the equivalent stress nephogram under the corresponding optimal shape. After the optimization calculation of the genetic algorithm, the equivalent stress nephogram shown in <xref ref-type="fig" rid="fig26">
      Figure 26
     </xref> is obtained. It can be observed from the figure that the total deformation of the elliptical pressure vessel model of isotropic material is 0.0044 m, the minimum equivalent stress value is 0.853e+07 Pa, and the maximum equivalent stress value is 0.519e+09 Pa. However, the ratio gap between the minimum equivalent stress value and the maximum equivalent stress value is too large. In addition, it can also be observed from <xref ref-type="fig" rid="fig26">
      Figure 26
     </xref> that the stress distribution is uneven, and there is a situation that is very prone to damage at the junction of the stress. Therefore, the elliptical model does not meet the requirements.</p>
    <fig id="fig24" position="float">
     <label>Figure 24</label>
     <caption>
      <title>Figure 24. The optimization convergence graph of the elliptical pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId215.jpeg?20240828034252" />
    </fig>
    <fig id="fig25" position="float">
     <label>Figure 25</label>
     <caption>
      <title>Figure 25. Model diagram of elliptical pressure vessel.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId216.jpeg?20240828034252" />
    </fig>
    <fig id="fig26" position="float">
     <label>Figure 26</label>
     <caption>
      <title>Figure 26. The equivalent stress nephogram of the arc-shaped pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId217.jpeg?20240828034252" />
    </fig>
    <p>4) The optimal shape size and equivalent stress magnitude of the fitted curve-shaped pressure vessel model are shown in <xref ref-type="table" rid="table4">
      Table 4
     </xref>:</p>
    <table-wrap id="table4">
     <label>
      <xref ref-type="table" rid="table4">
       Table 4
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.135613-"></xref>Table 4. The data values of the fitted curve-shaped pressure vessel model.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="11.65%">x<sub>1</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="17.24%">x<sub>2</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="17.24%">x<sub>3</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="15.08%">x<sub>4</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.92%">x<sub>5</sub><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="25.86%">Equivalent stress (Pa)<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="11.65%">0<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="17.24%">0.006<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="17.24%">0.025<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="15.08%">0.063<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.92%">0.121<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="25.86%">5.37e+08<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>
     <xref ref-type="fig" rid="fig27">
      Figure 27
     </xref> is the optimization convergence graph obtained when the genetic algorithm is used for the optimization calculation of the fitted curve-shaped pressure vessel model:</p>
    <fig id="fig27" position="float">
     <label>Figure 27</label>
     <caption>
      <title>Figure 27. The optimization convergence graph of the fitted curve-shaped pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId218.jpeg?20240828034252" />
    </fig>
    <p>As shown in <xref ref-type="fig" rid="fig28">
      Figure 28
     </xref>, the fitted curve model corresponding to the optimal shape:</p>
    <fig id="fig28" position="float">
     <label>Figure 28</label>
     <caption>
      <title>Figure 28. Fitted curve-shaped pressure vessel model.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId219.jpeg?20240828034252" />
    </fig>
    <p>As shown in <xref ref-type="fig" rid="fig29">
      Figure 29
     </xref>, it is the equivalent stress nephogram obtained after the optimization calculation:</p>
    <fig id="fig29" position="float">
     <label>Figure 29</label>
     <caption>
      <title>Figure 29. Optimal equivalent stress nephogram.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561562-rId220.jpeg?20240828034252" />
    </fig>
    <p>By observing <xref ref-type="fig" rid="fig29">
      Figure 29
     </xref>, it is known that the ratio of the maximum to the minimum equivalent stress values is moderate. In the equivalent stress nephogram, it is observed that the stress distribution is uniform, there is no stress concentration phenomenon, and the stress transition is uniform. Therefore, this model can be considered for use as the best model.</p>
    <p>After comparing the parabolic, circular arc, elliptical and fitted curve-shaped pressure vessel models, it is found that the fitted curve-shaped pressure vessel model is more suitable among the uniform materials under the four shape conditions in this study. The fitted curve-shaped pressure vessel model can simulate any shape to a certain extent, which gives it a natural advantage compared to other models. Therefore, choosing the fitted curve model becomes the best choice.</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Conclusion</title>
   <p>In this paper, the core goal is to optimize the shape of pressure vessels. With the help of APDL parametric modeling technology, pressure vessel models of circular arc, parabola, ellipse, and fitted curve shapes have been successfully constructed. 7075 aluminum alloy is selected as the material, and relevant parameters are carefully set and meshing is carried out. Subsequently, the genetic algorithm is used to optimize the model, and the data shows that the optimal equivalent stress of the parabolic model is 5.8692e+08 Pa, but its stress distribution is extremely uneven, failing to achieve the expected effect and not meeting the requirements; the value obtained by the circular arc model after the 69th generation of iteration is 5.3685e+08, the maximum deformation is 0.002381 m, and the ratio of the minimum equivalent stress to the maximum equivalent stress is 0.48, which is relatively moderate; the stress ratio gap of the elliptical model is too large and the distribution is uneven; while the ratio of the maximum to the minimum equivalent stress values of the fitted curve model is moderate, the stress distribution is uniform, there is no stress concentration phenomenon, and it can be regarded as the best model. In general, under the four shape conditions in this paper, the fitted curve pressure vessel model performs better. Through detailed data and in-depth analysis, this paper provides a valuable reference for the design of pressure vessels and is of great significance for promoting the development of related fields.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.135613-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Moyya, S., Thejasree, P., Cherian Abraham, B. and Mangalathu, G.S. (2023) Design and Analysis of Single and Multi-Layer Pressure Vessel. Materials Today: Proceedings. &gt;https://doi.org/10.1016/j.matpr.2023.06.393
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mohammed, H. and Rashid, T. (2020) A Novel Hybrid GWO with WOA for Global Numerical Optimization and Solving Pressure Vessel Design. Neural Computing and Applications, 32, 14701-14718. &gt;https://doi.org/10.1007/s00521-020-04823-9
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Parnas, L. and Katırcı, N. (2002) Design of Fiber-Reinforced Composite Pressure Vessels under Various Loading Conditions. Composite Structures, 58, 83-95. &gt;https://doi.org/10.1016/s0263-8223(02)00037-5
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Daghia, F., Baranger, E., Tran, D. and Pichon, P. (2020) A Hierarchy of Models for the Design of Composite Pressure Vessels. Composite Structures, 235, Article ID: 111809. &gt;https://doi.org/10.1016/j.compstruct.2019.111809
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chang, R.R. (2000) Experimental and Theoretical Analyses of First-Ply Failure of Laminated Composite Pressure Vessels. Composite Structures, 49, 237-243. &gt;https://doi.org/10.1016/s0263-8223(99)00133-6
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Belardi, V.G., Ottaviano, M. and Vivio, F. (2024) Bending Theory of Composite Pressure Vessels: A Closed-Form Analytical Approach. Composite Structures, 329, Article ID: 117799. &gt;https://doi.org/10.1016/j.compstruct.2023.117799
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Liang, C., Chen, H. and Wang, C. (2002) Optimum Design of Dome Contour for Filament-Wound Composite Pressure Vessels Based on a Shape Factor. Composite Structures, 58, 469-482. &gt;https://doi.org/10.1016/s0263-8223(02)00136-8
    </mixed-citation>
   </ref>
   <ref id="scirp.135613-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sulaiman, S., Borazjani, S. and Tang, S.H. (2013) Finite Element Analysis of Filament-Wound Composite Pressure Vessel under Internal Pressure. IOP Conference Series: Materials Science and Engineering, 50, Article ID: 012061. &gt;https://doi.org/10.1088/1757-899x/50/1/012061
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>