For both the developer and the user, CAE
postprocessing tools are characterized by properties similar to those of modern
all-purpose scientific visualization systems. In this context, several levels
and directions of development of CAE post-processing tools should be noted.
1.
Cyber-physical
multiplatform systems based on IoT technologies that provide tools for
high-level adaptation to the data source from the solver (processor) [1,2];
2.
Web services that
provide post-processing for the finite element method. It is assumed that the
user uses his own finite element processor, and the post processor uses user
data and is implemented in an OpenGL-based cloud [3].
3.
Expansion of the
post-processor functions based on augmented and virtual reality technologies [4,5,6].
4.
Development of
applications for CAE, designed to solve specific visualization problems in the
environment of a particular CAE system [7-9].
This paper considers the solution of a particular
visualization problem for CAD/CAE SolidWorks (Simulation).
The most relevant to this article is work [9], which
solves the problem of analysis and visualization of three-dimensional objects'
illumination. The problem is solved by an add-in application for SolidWorks
(Simulation). This approach, both in [9] and in this work, has an obvious
advantage: standard CAD/CAE modeling functions are used, including
discretization algorithms and other functions of finite element processing,
database management tools, export-import procedures, and user interface.
Due to the fact that to date, there is still no
unified theory of strength, theories and approaches based on own criteria are
being developed again. In engineering practice, the problem of multiple choice
of strength criteria, qualitative comparison of the analysis results, including
the visual analysis, is relevant.
In particular, V.P. Malkov proposed an energy
criterion for the efficiency of material use [10, 11], which can be used for
both a qualitative and quantitative assessment of the effectiveness of a design
solution in terms of strength. A visual presentation of the project in these
terms that correspond to different strength criteria, can be used both in
solving optimization problems in a strict formulation, and in trial design.
To determine the energy criterion for the efficiency
of material use, a number of well-known relationships in the mechanics of a
deformable solid are used [10, 12, 13]. In particular, the specific potential
energy of elastic deformation of an isotropic deformable solid is determined as
,
where
,
and
,
,
-
are
the components of the stress and strain tensors, respectively;
-
are the
principal stresses,
are the principal strains,
– is Young's modulus,
– is Poisson’s ratio.
On the basis of the available experimental diagrams
under tension, compression, and pure shear, one can judge the limiting states
of the material in the vicinity of dangerous points at which the maximum values
of one or another numerical criterion are observed. Then the permissible
(limiting, i.e., with a safety factor equal to one) specific energy densities
can be respectively determined for the cases of tension, compression and shear
as follows:
,
,
.
In
these formulas
,
,
-
are
the stress values for tension, compression and shear, respectively, that are limiting
values for the material.
For materials operating in the linear-elastic stage,
these formulas take the form:
,
,
.
In turn, the type of stress state can be characterized
using the Lode-Nadai parameter [10, 12]:
,
Thus,
at
-
we
have tension, at
+1, compression,
at
, shear. For mixed stress states, the
permissible specific energy density can be determined by the formula [10]:
.
Then
the local (specific) energy criterion [10] can be defined as
To determine the global energy criterion
[10], body volume integration should be
performed:
,
where
is the body volume. Given here is also a formula for determining
in case of finite element discretization,
is the volume of the
i
-th finite
element,
is the number of finite elements.
Thus,
for the qualitative and quantitative assessment of the design solution,
visualization distribution of the parameters
,
,
across the volume of the body being deformed,
as well as the value of the integral parameter
are of interest.
In SolidWorks terminology, among many terms
-
add-in, application, plugin
-
in the Russian version, preference is given to the
term “Add-in”.
Add-in module is created as a DLL library and is a
COM server, i.e. SolidWorks in this case is an application that initiates the
execution of the functions of our Add-in module(SwAddin). The module is
registered in the system by the RegAsm.exe utility.
At startup, SolidWorks checks the registry for add-ins
(SolidWorks applications), creates an add-in-associated object, and searches for
a SwAddin object. The Add-In module calls the ISwAddin::ConnectToSW function to
connect to SolidWorks.
When disconnecting, SolidWorks calls ISwAddin::DisconnectFromSW,
allowing the application to clean up.
In addition, the function ISwAddin::ConnectToSW returns
the pointer to the top-level application object of ISldWorks.
In practice, the main functionality of the add-in, as
a rule, is implemented by a separate DLL module, separated as much as possible
from the interfaces and loaded by the Add-in. Figure 1 shows the solution for
the problem under consideration in the MS VisualStudio C++/C# environment.
|
Fig.
1. Solution in the MS VisualStudio C++/C# environment
|
The chosen solution
structure is due to a rather typical situation, which is associated with the
need for a modular representation of the solution in different programming
languages. In this case, the solution comprises three projects.
1.
The first project is designed to implement
computational procedures and includes a special C++ class CPPComputing. This is
due to the fact that a large amount of software has already been created using
C++ (including by the authors), which can be included in this solution or
during its further development.
2.
The
Ñ
# swScGraph project, implementing SolidWorks
COM server and the corresponding interface.
3.
Wrapping – CPPWrapper class (wrapper)
provides swScGraph with access to the methods of the CPPComputing class.
At the same time,
SolidWorks API provides access to the parameters of the finite element mesh and
to the solution results necessary for the numerical implementation of the above
formulas.
The method presented in
the article is illustrated by the example of an equally stressed beam with two
types of cross-section: rectangular section (figure 2
A1
) and near-I-section (figure 2
A2
).
|
|
A1
|
A2
|
|
|
|
B1
|
B2
|
|
|
|
C1
|
C2
|
|
|
|
D1
|
D1
|
|
Fig.
2. Results of the problem solution for an equally stressed beam.
A
-
cross-section. B
-
specific elastic potential energy. C
-
Lode-Nadai parameter. D
-
local energy criterion. Index 1 corresponds to a
beam with a rectangular section, index 2 corresponds to an I-section beam.
|
In addition, the I-beam is reinforced with longitudinal
stiffeners, which, along with fillets, are introduced into the solid model in
order to reduce stress concentration, possible singularity and edge effects [12,
13]. Further, Figure 2 B1
-
2 D1
è
2 B2
-
2D2
shows scalar fields in the form of maps
(diagrams). Figure 2 B1
- 2 B2
is the result of the work
of the standard SolidWorks Simulation functionality, and Figures 2 C1
-
D1
è
2 C2
-
D2
were generated
by an application developed by the authors. It should be noted that in the
latter case, all the standard functionality of SolidWorks Simulation is
preserved in terms of visualization of the resulting scalar fields: scaling,
probing, assigning a scale (legend), a color palette, etc.
From Figures 2
Ñ1
- 2
Ñ2
it can be seen that for a
reinforced I-beam the Lode-Nadai parameter has higher gradients compared to a
rectangular one, which indicates a more complex combination of types of stress
state in the volume of the body. For the specific potential energy of elastic
deformation and the local energy criterion, an opposite situation is observed, i.e.,
the gradients of these fields are lower (Figure 2 B1
- 2 B2
è
2 D1
- 2 D2
respectively).
In this case, the global energy criterion for the I-beam increased to
= 0.62 from
=0.32, determined for the
rectangular section.
It is important to note that for graphic objects generated by
the application, all the standard SolidWorks Simulation rendering functionality
is preserved even if they are animated. Thus, Figure 3 shows the change of the
local energy criterion in the form of animation when the external load
parameter increases from zero to a finite value (Figure 3). In this case, as in
all similar cases of static loading, the scale factor for deformations is set
by the user for reasons of clarity of the resulting deformed state.
|
Fig.
3. Animated change in the local energy criterion.
|
The article presents software that expands the
standard functionality of SolidWorks Simulation in terms of visualization of
scalar fields of the stress-strain state under static loading. The problems of full-strength
(equally stressed) design known in engineering practice were considered as test
problems.
The application is ready for practical use and has
no restrictions for qualitative and quantitative assessment of the efficiency
of material use in real load-bearing structures based on the criterion under
consideration.
Prospects for the work should include the extension of
the application’s functionality to problems of dynamics, e.g., to analyze the
impact of solids. In this case, the software requires refinement and, in the
context under consideration, is reduced to visualization (animation) at a
finite time interval of not only scalar, but also vector fields associated with
energy flows and the processes of its transition from one type to another.
The authors are prepared to provide the software
developed by them in source code to all those who wish to use it for solving
their research problems.
1.
Ryabinin,
K.V. Human-Oriented IoT-Based Interfaces for Multimodal Visual Analytics
Systems/ K.V. Ryabinin, K.I. Belousov, S.I. Chuprina, N.L. Zelyanskaya//
Scientific Visualization.
-
2019.
-
Vol. 11, ¹ 7.
-
P. 53-65.
-
DOI: 10.26583/sv.11.4.05
2.
Ryabinin,
K.V.
A unified approach to adapt
scientific visualization systems to third-party solvers/
K.V. Ryabinin,
S.I. Chuprina//
Program Comput Soft.
-
2016.
-
Vol.
42.
-
P.
347–355.
-
https://doi.org/10.1134/S0361768816060049.
3.
Wei-ChuWeng.
Short Communication Web-based post-processing
visualization system for finite element analysis/
Wei-ChuWeng.
//
Advances in Engineering Software.
-
2011.
-
Vol. 42, ¹ 6.
-
p. 398-407.
-
https://doi.org/10.1016/j.advengsoft.2011.03.003
4.
Huang,
J.M. Real-time finite element structural analysis in augmented reality/ J.M.
Huang, S.K. Ong, A.Y.C. Nee// Advances in Engineering Software.
-
2015.
-
Vol. 87, September.
-
p. 43-56.
-
https://doi.org/10.1016/j.advengsoft.2015.04.014.
5.
Huang,
J.M. Visualization and interaction of finite element analysis in augmented
reality/ J.M. Huang, S.K. Ong, A.Y.C. Nee// Computer-Aided Design.
-
2017.
-
Vol. 84, March.
-
p.
1-14.
-
https://doi.org/10.1016/j.cad.2016.10.004.
6.
Barbieri,
L. Innovative integration techniques between virtual reality systems and CAx
tools/ L. Barbieri, F. Bruno, F. Caruso, M. Muzzupappa//
Int. J. Adv. Manuf. Technol.
-
2008.
-
Vol. 38,
¹
11.
-
p. 1085-1097.
-
https://doi.org/10.1007/s00170-007-1160-3
7.
Dimitrienko,
Yu.I. Visualization of tensor fields based on geometric representation of
tensors/ Yu.I. Dimitrienko, E.A. Gubareva, S.V. Sborshikov // Scientific visualization.
-
2018.
-
Vol. 10,
¹
2.
-
p. 95 -111.
-
DOI: 10.26583/sv.10.2.08
8.
Lobanov,
V.A. Visualization of CAE solutions for private ice shipping problems.
Icebreaker Landing and Walking/ V.A. Lobanov// Scientific Visualization.
-
2020.
-
Vol. 12, ¹ 1.
-
p. 48-60.
-
DOI: 10.26583/sv.12.1.04
9.
Buriol,
T. M. CAD and CAE integration through scientific visualization techniques for
illumination design/ T. M. Buriol, S. Scheer //
Tsinghua Science and Technology.
-
2008.
-
Vol. 13,
¹
S1.
-
p. 26-33.
-
https://ieeexplore.ieee.org/abstract/document/6072953
10.
Malkov,
V.P. Energy intensity of mechanical systems: monograph/V.P. Malkov.
-
N. Novgorod: Publishing House of
NSU, 1995.
-
258 p.
-
ISBN 5-230-04344
11.
Concept
of energy intensity criterion in analysis and optimization of rod systems / V.A
Baranenko., A.M. Sopilnyak// Visnik Dnepropetrovsk PGSA: Col. scientific works.
-
Dnepropeyrovsk,
2008.
-
Issue 6-7.
-
p.
18-21.
12.
Rabotnov,
Yu.N. Solid Mechanics /Yu.N. Rabotnov.
-
M.: Nauka, 1988.
-
712
p. –
ISBN
5-02-013812-6
13.
Bathe,
K. J. Numerical methods in finite element analysis/ K. J. Bathe, E. Wilson.
-
Prentice
‐
Hall, Englewood Cliffs,
1976.
-
528 p.