<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Visualization of the Stress-Strain State of Shell Structures Using Virtual and Augmented Reality Technologies *</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Saint Petersburg State University of Architecture</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Civil Engineering</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Saint-Petersburg</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Russia. sw.semenov@gmail.com</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>2 Saint Petersburg State University of Architecture and Civil Engineering</institution>
          ,
          <addr-line>Saint-Petersburg, 190005</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>The paper describes a mathematical model of changes in the geometry of thin-shell structures for visualization of the analysis data on their stress-strain state (SSS). Based on this mathematical model, a visualization module for shell SSS visualization using VR and AR technologies was developed. The interactive visualization environment Unity 2019.3 and C# programming language were used. The interactive visualization module makes a 3D image of a shell structure and visualizes the SSS either through heat maps over the shell or through the changes in the shell geometry on the basis of the shell type, its geometric characteristics, and SSS analysis data (transferred to the visualization module by means of a JSON file). While working on the visualization module, the authors developed a system of components that makes it possible to visualize any 3D surface with coordinate axes (including numbers with a pitch determined automatically), visualize heat maps with a graduated scale, visualize a mesh over the graph to improve the perception of the surface deformations. The middle surface can also be deformed on the basis of SSS analysis data. This solution increases the efficiency of the work of specialists in civil engineering and architecture and can be used when training specialists in courses on thin-shell structures and procedural geometry.</p>
      </abstract>
      <kwd-group>
        <kwd>Shells</kwd>
        <kwd>Stress-Strain State</kwd>
        <kwd>Virtual Reality</kwd>
        <kwd>Augmented Realty</kwd>
        <kwd>Unity</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Thin-shell structures actively studied due to their unique properties are highly strong
and stable while using the minimum amount of materials [1]. Thin-shell structures are
* The research was supported by RSF project № 18-19-00474.
often used in shipbuilding, aircraft and spacecraft construction, mechanical and civil
engineering. Great attention is paid to studies on plates and shells since such structures
are highly strong and stiff and have a variety of design shapes [2].</p>
      <p>However, the issues of shell visualization have not been solved in full. The majority
of studies on shells cover only the stress-strain state (hereinafter — the SSS) of a shell
structure relative to the middle surface (Fig. 1), while deformations in the global
coordinates are not considered. While such software packages as ANSYS and LIRA-SAPR
enable graphic visualization of deformations, there is no standard technique or
algorithm of visualization of deformed shells for variational analysis methods. In the
meantime, the use of variational methods such as the Ritz method can significantly improve
the accuracy of the analysis and reduce its time [3].</p>
      <p>Informative visualization of the SSS of shells is important for their detailed study.
In many cases, a researcher will examine the analysis data more efficiently if they are
presented as a 3D animation rather than static contoured maps or 2D graphs.
VR and AR technologies are particularly important in this context [4]. Virtual reality
gives a 3D representation of structural deformations. Augmented reality makes it
possible to see the structure in the real world, which is also useful for studies on shell
structures.</p>
      <p>The purpose of this study is to develop a software package (hereinafter — the SP)
for the analysis of the SSS and visualization of shell structures using VR and AR
technologies
2</p>
    </sec>
    <sec id="sec-2">
      <title>SP Architecture</title>
      <p>The software package consists of two modules: the SSS analysis module and the
visualization module. The SP architecture is shown in Fig. 2.</p>
      <p>Visualization of the Stress-Strain State of Shell Structures Using Virtual and Augmented… 3</p>
      <p>Software package
Analysis module</p>
      <p>Visualization module
SSS analysis</p>
      <p>Analysis results export</p>
      <p>Analysis results import</p>
      <p>SSS visualization
The visualization module deserializes the file with the SSS analysis data, performs
procedural generation of the geometry of the shell structure, and, then, visualizes the SSS
through either heat maps presented over the shell or through changing the geometry of
the shell structure.</p>
      <p>The main feature of the described solution is the ability to render shell SSS using
virtual and augmented reality technologies. At the moment, there are no solutions that
allow visualizing the calculation results stored in standard formats (such as VTK) on
mobile augmented or virtual reality platforms. For this reason, existing renderers (such
as ParaView) couldn’t be used and a custom rendering solution was developed.
Visualization module imports the analysis results in custom data format used for SSS data
storage in the analysis module because using other data formats doesn’t provide
benefits within the investigated problem.
3</p>
    </sec>
    <sec id="sec-3">
      <title>SSS of a Shell</title>
      <p>Analysis of the SSS of a shell structure means minimization of the functional of the
total potential strain energy (which is a sum of the work of internal and external forces)
on the basis of the Timoshenko (Reissner–Mindlin) model. The Ritz method is used for
numerical search for the functional minimum. It reduces the variational problem to a
problem of unconstrained optimization of the function of several variables. For this
purpose, the required displacements functions U (x, y), V (x, y), W (x, y) as well as
functions of normal segment turning angles to the middle surface x (x, y), y (x, y) are
replaced with the following approximations:</p>
      <p>N N N N
U = U (x, y) =  Ukl X1kY1l , V = V (x, y) =  Vkl X 2kY2l ,
k=1 l=1 k=1 l=1</p>
      <p>N N
W = W (x, y) =  Wkl X3kY3l ,</p>
      <p>k=1 l=1</p>
      <p>
        N N N N
x = x (x, y) =   PSkl X 4kY4l , y = y (x, y) =   PNkl X 5kY5l ,
k=1 l=1 k=1 l=1
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
where approximation functions X1k − X 5k , Y1l − Y5l are known and predetermined by the
conditions of shell fixing, and parameters Ukl − PNkl are unknown numeric
coefficients; N – is the quantity of expansion terms.
      </p>
      <p>Thus, the functional Es = Es (U, V , W, x , y ) is approximated by the function of
several variables, and it is sufficient to use the approximation functions and the numeric
coefficients’ values ensuring the minimum of the functional to recover the SSS analysis
data.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Geometry of a Shell</title>
      <p>When using variational principles for making a mathematical model, the geometry of a
shell structure is found through Lame parameters and principal curvatures. However, it
does not seem too comfortable to make a curvilinear coordinate system to generate the
geometry of a shell structure on the basis of these parameters only. Papers dealing with
shell visualization [5] suggest using a parametric notation for shell structures instead.</p>
      <p>Many shells can be described in the parametric form, which relates each of the points
of the middle surface in a 2D space to a point in a 3D coordinate system. Therefore, the
question of how deformations are applied to the shell middle surface should be solved.
In this paper, the local basis in each point of the middle surface is used to solve this
problem, which makes it possible to use displacements in the global coordinates instead
of displacements U (x, y), V (x, y), W (x, y) relative to the middle surface. To build the
geometry of a shell with a certain thickness h, ratios for displacements in an arbitrary
layer of the shell that follow from the Timoshenko model are used on the basis of the
analysis for the middle surface.</p>
      <p>
        Let us describe a parametric shell in a generalized form below. Each point of such a
shell is determined through the following ratios:
 X = X (x, y),

Y = Y (x, y),

Z = Z (x, y).
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
To apply deformations, i.e. displacement of the points in a horizontal, vertical and
nor X Y Z 
NU =  , , 
mal directions, to such a geometry, we need to find vectors  x x x  ,
 X Y Z 
NV =  , , 
      </p>
      <p> y y y  for each point of the shell, after which they should be
normalized. These vectors determine the horizontal and vertical directions of displacement of
the points, respectively. The vector product of these normalized vectors is the normal
to the surface of the shell in the point NW (x, y) . Analytical expressions of the basis of
these vectors are derived for various types of shell structures in this paper.</p>
      <p>Visualization of the Stress-Strain State of Shell Structures Using Virtual and Augmented… 5
4.1</p>
      <p>Doubly Curved Shallow Shell</p>
      <p>The input parameters of a doubly curved shallow shell are linear dimensions a, b,
and radii of circular arcs R1, R2 . Let us introduce additional parameters
R = maxR1, R2 − min R1, R2 and r = min R1, R2 . In this case, the parametric form
for this shell will be as follows:
X = (R + r cos x)sin y,

Y = (R + r cos x)cos y,

Z = r sin x.</p>
      <p> 
x  −
 

 y  −
min a,b min a,b</p>
      <p>2r , 2r ,
maxa,b maxa,b</p>
      <p>,
2(R + r ) 2(R + r ) 
,
where x is the turning angle of a small radius; y is the turning angle of a large radius.</p>
      <p>The expression for the basis in each point of the shell is as follows:
NU = (− sin x sin y, − sin x cos y, cos x),

NV = (cos y, − sin y, 0),

NW = (cos x sin y, cos x cos y, sin x).</p>
      <p>
        The middle surface of a shallow shell is given in Fig.3.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
The input parameters of a spherical shell are linear parameters a, a1, b and radius R.
The parametric form of a spherical shell is as follows:
X = R sin x sin y,

Y = R cos x,

Z = −R sin x cos y.
      </p>
      <p>x  a1, a,

 y  − b2 , b2 ,
NU = (cos x sin y, − sin x, − cos x cos y),

NV = (cos y, 0, sin y),

NW = (sin x sin y, cos x, − sin x cos y).
where x and y coincide with the latitude and longitude, respectively. The basis in the
point of the middle surface is determined as follows:
The appearance of the middle surface of a spherical shell is given in Fig. 4.
The model of a toroid-shape shell coincides with the model of a spherical shell but
includes displacement d1 from the vertical axis of rotation of the sphere. The parametric
form of a toroid-shape shell is as follows:
X = R sin x sin y + d1 sin y, x  a1, a,
 
YZ == R−Rcossinx,x cos y − d1 cos y.  y  − b2 , b2 .</p>
      <p>The basis in the point of the middle surface is determined as follows:
NU = (cos x sin y, − sin x, − cos x cos y),

NV = (cos y, 0, sin y),

NW = (sin x sin y, cos x, − sin x cos y).</p>
      <p>
        The appearance of the middle surface of a toroid-shape shell is given in Fig.5.
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(6)
(7)
(8)
Visualization of the Stress-Strain State of Shell Structures Using Virtual and Augmented… 7
The input parameters of a cylindrical shell are linear dimensions a, a1, b and radius R.
The parametric form of a cylindrical shell is as follows:
(9)
(10)
Curvilinear coordinate x is along the element, while curvilinear coordinate y is along
the circle made by the cross-section of the cylinder with a plane parallel to its base.
      </p>
      <p>
        The basis in an arbitrary point of the middle surface is as follows:
NU = (
        <xref ref-type="bibr" rid="ref1">1, 0, 0</xref>
        ),

NV = (0, − sin y, − cos x),

NW = (0, cos y, − sin y).
      </p>
      <p>The appearance of the middle surface of a cylindrical shell is given in Fig.6.
 X = x − a − a1 ,
 2
Y = R cos y − R,
Z = −R sin y.

x  a1, a,

 y  − b2 , b2 .
The input parameters of a catenoid shell are linear dimensions a, a1, b and parameter
c. The parametric form of a catenoid shell is as follows:
X = x − a − a1 ,
 2 x  a1, a,
YZ == c−ccocsohshx −x −a a−2−a1a1 cossinyy−. c,  y  − b2 , b2 .</p>
      <p>  2 
The basis for such a shell takes the following form:


NU =



NV = (0, − sin y, − cos y),



NW =



  a − a1 − x , cos y, − sin y 
 c sinh
  2   .</p>
      <p>c2 sinh2  a1 − a − x  +1</p>
      <p> 2 
1, c sinh a −2a1 − x  cos y, c sinh a −2a1 − x sin y  ,
c2 sinh2  x − a1 − a  +1</p>
      <p> 2 
The appearance of the middle surface of a catenoid shell is given in Fig.7.
(11)
(12)
The input parameters of a conical shell are linear dimensions a, a1, b. The parametric
form of a conical shell is as follows:
X = x cos − a1 + a ,

 2
Y = x sin cos y,
Z = −x sin sin y.

x  a1, a,

 y  − b , b .
  2 2 
Curvilinear coordinate x is along the element, while curvilinear coordinate y is along
the circle made by the cross-section of the cone with a plane parallel to its base.</p>
      <p>The basis for a conical shell is as follows:
NU = (cos, sin  cos y, − sin  sin y),

NV = (0, − sin y, − cos y),

NW = (− sin(), cos y cos, − cos sin y).</p>
      <p>The appearance of the middle surface of a conical shell is given in Fig.8.
(13)
(14)
To implement the shell visualization module that uses VR and AR technologies, the
interactive visualization environment Unity 2019.3 and C# programming language
were used. The interactive visualization module makes a 3D image of a shell structure
and visualizes the SSS either through heat maps over the shell or through the changes
in the shell geometry on the basis of the shell type, its geometric characteristics, and
SSS analysis data (transferred to the visualization module by means of a JSON file).</p>
      <p>There is an option of using the proposed module without SSS visualization. This
visualization mode can be useful to architects when they examine various forms of
structures and to students studying shell structures. This allows for a better
understanding of a relationship between the parameters of a shell structure and its final appearance.</p>
      <p>While working on the visualization module, the authors developed a system of
components that makes it possible to visualize any 3D surface with coordinate axes
(including numbers with a pitch determined automatically), visualize heat maps with a
graduated scale, visualize a mesh over the graph to improve the perception of the surface
deformations. The middle surface can also be deformed on the basis of SSS analysis
data.
6</p>
    </sec>
    <sec id="sec-5">
      <title>Results and Discussion</title>
      <p>The SP for visualization of shell structures was tested for shells of various shapes and
using various visualization options. Fig.9 provides a demonstration of the SSS of a shell
structure using heat maps and geometry changes.
As follows from Fig. 9, visualization has great information capacity and describes data
on the shell deformation both visually and numerically. The suggested visualization
module helps to study the shell SSS in a real-world scale and with the initial proportions
preserved. The clarity of such visualization in comparison to traditional visualization
of the deflection relative to the middle surface (Fig. 1) is obvious.</p>
      <p>As stated above, the suggested visualization module not only makes it possible to
visualize the shell SSS but also can be used by students studying procedural modeling
in architecture allowing them to clearly depict shell structures depending on their
geometric parameters. Fig. 10 presents a shallow shell with lesser curvature radii and larger
linear dimensions than those in Fig. 9. As you can see, a change in geometric
parameters of shells of the same type can lead to significant changes in the final shape.</p>
      <p>Visualization of the Stress-Strain State of Shell Structures Using Virtual and Augmented… 11
The visualization module can be implemented using VR and AR technologies. AR
visualization is demonstrated in Fig. 11.
Thus, the visualization module for the SSS of shell structures, enabling VR and AR
visualization, was developed.</p>
      <p>The solution can be used as a tool for informative and clear visualization of the shell
SSS or when training students majoring in architecture and civil engineering in courses
on thin-shell structures.
8</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The research was supported by RSF (project No. 18-19-00474).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Solovei</surname>
            ,
            <given-names>N.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krivenko</surname>
            ,
            <given-names>O.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malygina</surname>
            ,
            <given-names>O.A.</given-names>
          </string-name>
          :
          <article-title>Finite element models for the analysis of nonlinear deformation of shells stepwise-variable thickness with holes, channels and cavities</article-title>
          .
          <source>Magazine of Civil Engineering</source>
          <volume>53</volume>
          (
          <issue>1</issue>
          ),
          <fpage>56</fpage>
          -
          <lpage>69</lpage>
          (
          <year>2015</year>
          ). https://doi.org/10.5862
          <source>/MCE.53.6</source>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Karpov</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          :
          <article-title>Strength and stability of reinforced shells of rotation</article-title>
          .
          <source>In two parts. Part 1</source>
          .
          <article-title>Models and algorithms for studying the strength and stability of reinforced shells of rotation</article-title>
          . Fizmatlit, Moscow (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Senjanović</surname>
          </string-name>
          ,
          <string-name>
            <surname>Ivo</surname>
          </string-name>
          , et al.
          <article-title>Vibration analysis of rotating toroidal shell by the Rayleigh-Ritz method and Fourier series</article-title>
          .
          <source>Engineering Structures</source>
          <volume>173</volume>
          ,
          <fpage>870</fpage>
          -
          <lpage>891</lpage>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Van</given-names>
            <surname>Dam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Forsberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. S.</given-names>
            ,
            <surname>Laidlaw</surname>
          </string-name>
          ,
          <string-name>
            <surname>D. H.</surname>
          </string-name>
          , LaViola,
          <string-name>
            <given-names>J. J.</given-names>
            ,
            <surname>Simpson</surname>
          </string-name>
          ,
          <string-name>
            <surname>R. M. Immersive</surname>
          </string-name>
          <article-title>VR for scientific visualization: A progress report</article-title>
          .
          <source>IEEE Computer Graphics and Applications</source>
          ,
          <volume>20</volume>
          (
          <issue>6</issue>
          ),
          <fpage>26</fpage>
          -
          <lpage>52</lpage>
          . (
          <year>2000</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Aseev</surname>
            ,
            <given-names>A.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Makarov</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semenov</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Visualization of the stress-strain state of thinwalled ribbed shells</article-title>
          .
          <source>Bulletin of Civil Engineers</source>
          <volume>3</volume>
          ,
          <fpage>226</fpage>
          -
          <lpage>232</lpage>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>