Skip to article

 

Processing the Results of High-Speed Destruction Calculations

1. Processing results in FidesysViewer

Currently, FidesysViewer has only basic functionality.

To make it easier to work with files, a script is created in the project’s working folder “hsdf_script.py”, which implements work with calculation files in FidesysViewer on the command line. To run the script you need open FidesysViewer in the View menu, as shown in the figure 1, and activate Python Shell, this window can be docked below in the FidesysViewer panels. From now on we will call this window the console.

Figure 1 – Enabling the command line in FidesysViewer

After running the script, a list of available commands for of this calculation. Currently implemented: animation, impuls, spyknot, spyelem, spyeray, spylray. We will look at the description of the commands themselves below.

Commands are accessed by entering the required command into the console with go (“command name”), also to simplify interaction the entire list of available commands is displayed in the console, as shown in Figure 2. When running the script first in FidesysViewer the initial calculation geometry will be loaded.

Figure 2 – Console with commands

After running the script, the open window will look like this:

Figure 3 – open calculation in FidesysViewer

Figure 3 shows the areas with which the main interaction will occur when processing results in FidesysViewer. After a short review areas of the window, there will be a full description of the menu in these areas. Area 1 defines Calculation animation playback parameters. Area 2 defines control model in the calculation window, its rotation and movement within the window, also determines the type of display of cells and points and which parameters are displayed in the cells. Area 3 defines the loaded calculation entity, one might say a tree calculation. All entity that are loaded into this tree are loaded at the same time in memory. It is recommended to remove unnecessary entity from the tree when playing “heavy” calculation animation. Area 4 defines entity parameters in the calculation tree, in this menu you can change the entity display parameters in the window. It also allows me to parameterize entity such as vectors and destroyed elements. Area 5 is a color map where you can define the colors of material parameters, such as pressure P or speed U. You can also configure the display of the legend in this menu. After a brief Descriptions Let's move on to a description of the commands and the windows and parameters associated with them.

1.1 “Animate” и “Plot Calculation”

The result of the command is that FidesysViewer loads all calculation files and shows the dynamics of the development of the collision process in time, visualizing distributions of pressure, velocity, etc. This visualization can be saved in one of the video formats for further demonstration.

An entity named Animation will appear in the calculation tree, as shown in Figure 4 on the left, to display it in the FidesysViewer window you need make active the “eye” next to the Animation object. To get rid of visual noise, it is recommended to turn off the display of other elements in the calculation tree. In addition to the Animation entity, two related entity Fracture Elements and VECTORS Velocity, they are responsible for displaying destroyed elements and velocity vectors. These elements are shown in Figure 4 on the left.

The animation starts using the area with the play/pause buttons, which start, stop, rewind the animation as shown in Figure 4 top right. To open the required time point calculation in the drop-down menu, select the desired time slice for calculation, as shown in Figure 4 bottom right.

Figure 4 – Animation visualization menu calculation

1.2 “Impuls”

As a result of the team’s work, graphs will appear in the area of ​​the calculation tree component of the momentum vector of the entire system of bodies, as well as the momentum of each bodies separately and graphs of the kinetic energy of the system, see figure 5. Activating and deactivating these entity in the newly formed tab The FidesysViewer window will display momentum or energy graphs. The impulse [kg m/s] and calculation time [μs] for the vector are plotted on the axes momentum as shown in Figure 6. For the kinetic energy plot the axes show energy [MJ] and calculation time [μs], as shown in Figure 7. To count the pulse, you must register in the configuration file directive print(i).

Figure 5 – Entity responsible for graphics impulse and energy

Figure 6 – Momentum graph in FidesysViewer  

Figure 7 – Kinetic energy graph in FidesysViewer  

1.3“Spyknot”

The command demonstrates the change in specified values ​​from time to place installation of “sensors” at the nodes of the computational mesh. Sensors move together with mesh. This button appears after applying installation directives “sensors”, more details about installing “sensors” and displayed values N (t) is discussed in the description of the spy_knot or sensor_knot directives (will be described in the documentation of the next version of the program). Output to the screen can only display information that is stored in the nodes, such as speed or coordinates.

The result of the command is shown in Figure 8 on the right. Macro demonstrates change of a given value - the speed of movement of nodes from time to three nodes of the computational mesh, which are highlighted in different colors. In the legend The name of the quantity is displayed, and the subindex is the node number. Control which parameter needs to be displayed in the window with the graph is determined by activating this parameter in the calculation tree in the Spy_Knot section, Figure 8 on the left.

Figure 8 – Result of the macro “Spy knot” for 3 installed “sensors”

1.4“Spyelem”

The command demonstrates the change in specified values ​​from time to place installation of “sensors” in the elements of the computational mesh. Sensors move together with mesh. This button appears after applying installation directives “sensors”, more details about installing “sensors” and displayed values N (t) is discussed in the description of the spy_elem or sensor_elem directives (will be described in the documentation of the next version of the program). You can withdraw only information that is stored in the cell, such as pressure or stress.

The result of the team's work is shown in Figure 9. The team demonstrates change in a given value - pressure - over time of three elements of the calculation grids that are highlighted in different colors. The legend displays the name quantities, and the subindex is the node number. Controlling which parameter must be displayed in the window with the graph produced by activation this parameter in the calculation tree in the Spy_elem section, Figure 9 on the left.

Figure 9 – Result of the macro “Spy elem” for 3 installed “sensors”

1.5“Spylray”

The command demonstrates the change in the average value over time in a given cross section of the computational mesh elements. Appears after applying the directive lray. More details about the output values ​​of N (t) are discussed in description of the directive (will be described in the documentation of the next version of the program).

1.6“Spyeray”

The command demonstrates the change in the average value over time in a given cross section of the computational mesh elements. Appears after applying the directive elray More details about the output values ​​are discussed in the description of the directive (will be described in the documentation of the next version of the program). Result of work commands are similar to those described above. The command demonstrates a change in the given quantities are components of the stress tensor versus time on a stationary beam.