A parametric modeling method for the firing chamber motion of rifled guns

The pre-processing of finite element analysis of artillery firing chamber motion is automated through Python scripts and GUI plug-ins, which solves the tedious and time-consuming problems in existing technologies and improves analysis efficiency and result accuracy.

CN118153393BActive Publication Date: 2025-10-03NANJING UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410356552.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2025-10-03
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

In the existing finite element analysis of artillery firing chamber motion, the pre-processing process is cumbersome and time-consuming, it is difficult to unify standards, which affects the calculation results, and operational errors are difficult to detect, resulting in low efficiency.

Method used

A python script is used to generate a finite element model of a rifled gun barrel in the ABAQUS protocol format. A GUI plug-in is used to complete the parametric modeling of the projectile belt and the pre-processing of the finite element analysis of the gun firing chamber with one click, and to automatically complete operations such as meshing, material assignment, and boundary condition definition.

Benefits of technology

It improves the efficiency of finite element analysis of artillery firing chamber motion, reduces human operation errors, and ensures the uniformity and accuracy of calculation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118153393B_ABST
    Figure CN118153393B_ABST
Patent Text Reader

Abstract

The present invention discloses a parameterized modeling method for the in-bore motion of rifled guns. First, within the Python language framework, the idea of ​​fragmentation and splicing is employed, combined with the structural parameters of the rifled gun barrel, to calculate the three-dimensional spatial coordinates of each node. The nodes are then connected in numerical order to generate a finite element model file for the rifled gun barrel. Then, based on the body-of-revolution characteristics of the projectile belt, a three-dimensional geometric model of the projectile and belt is established and meshed in ABAQUS software. The generated finite element model file for the rifled gun barrel is imported, and materials are assigned to each component involved in the calculation of the in-bore motion of the gun. Assembly, analysis step creation, contact definition, load and constraint setting are sequentially performed to create a job. The execution log file is retrieved, the key operation step codes are retained, and parameters related to the projectile belt structure are replaced with variables. Finally, the RSG dialog box builder is used to create a GUI plug-in for generating the rifled gun barrel and projectile belt, respectively, and performing pre-processing. The present invention greatly improves the efficiency of modeling and pre-processing by enabling one-click generation of a rifled artillery barrel finite element model, one-click completion of parametric modeling of projectile belts, and one-click completion of finite element analysis pre-processing of the motion within the rifled artillery firing chamber, thus providing a fast and efficient method for finite element simulation analysis of the artillery firing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of finite element parametric modeling, and in particular to a method for parametric modeling of the in-bore motion of a rifled barrel artillery. Background Art

[0002] The motion of a projectile within a gun barrel during firing is complex. The belt squeezes and deforms the barrel, and the projectile collides with the barrel. This motion affects the projectile's velocity and posture upon exiting the muzzle, which in turn affects the accuracy of the gun. Therefore, studying the projectile's motion within the barrel is crucial. Compared to experimental analysis, using finite element simulation is more convenient and economical to study projectile motion within the barrel.

[0003] In addition to the fact that the duration of dynamic calculations is difficult to shorten due to computer performance limitations, repetitive pre-processing steps such as meshing, boundary condition definition, material assignment, and load application take up a lot of time, which greatly increases the time cost of scientific researchers. At the same time, due to different operating habits and technical levels, it is difficult to specify the pre-processing process of different scientific researchers with unified standards. Errors in the operation process are hidden in complex systems and difficult to detect. All of the above have a huge impact on the calculation results.

[0004] Zou Libo et al. employed a method for parametric barrel modeling by first stretching the barrel cross-section to generate a three-dimensional model of a right cylindrical barrel. The method then meshed the three-dimensional model and outputted a finite element model file with the suffix .inp. The node coordinates in the finite element model file were then modified based on the twist and rifling pattern to form a new finite element mesh model of the barrel. To accurately establish a finite element model of a worn bore, Ding Chuanjun et al. proposed a piecewise splicing method to create a parametric solid model of the barrel bore and a node offset method to construct finite element models of bores with varying degrees of wear. These papers first established a solid model of the barrel, then meshed the solid model and modified the mesh elements and nodes. This tedious pre-processing process required manual operation. The present invention, by enabling one-click generation of a rifled gun barrel finite element model, as well as one-click completion of parametric modeling of projectile belts and pre-processing for finite element analysis of the in-bore motion of rifled guns, can effectively improve the efficiency of the in-bore motion finite element analysis process for guns. Summary of the Invention

[0005] The purpose of the present invention is to provide a parametric modeling method for the in-bore motion of a rifled barrel artillery, which can realize one-click generation of a rifled gun barrel finite element model and one-click completion of parametric modeling of a projectile belt and pre-processing of finite element analysis of the in-bore motion of a rifled gun, thereby effectively improving the efficiency of the finite element analysis process of the in-bore motion of the gun.

[0006] The technical solution for achieving the purpose of the present invention is: a method for parameterizing the motion of a rifled barrel gun in a firing chamber, comprising the following steps:

[0007] Step 1: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node number and mesh node space coordinates of the rifled gun barrel, and correspond the rifled gun barrel mesh units to the mesh nodes to obtain the Inp file of the rifled gun barrel finite element model.

[0008] Step 2: Use the finite element simulation software ABAQUS to create a three-dimensional model of the projectile and the belt, and divide the mesh of the projectile and the belt in the mesh module. Import the rifled gun barrel finite element model obtained in step 1 and assemble it. Perform pre-processing and obtain the execution log file that records the operation process.

[0009] Step 3: Change the suffix of the execution log file that records the operation process from .rpy to .py to form a Python script language. Edit and modify the script language to obtain a Python script for parametric modeling of projectile belts and pre-processing of finite element analysis of the motion in the firing chamber of rifled barrel artillery.

[0010] Step 4: Use the Python script obtained in steps 1 and 3 as the kernel execution file of the GUI plug-in. Based on the RSG dialog box builder in the ABAQUS finite element software, complete the association between the structural parameter interface and the script, generate a GUI plug-in, and realize the parametric modeling of the rifled gun barrel and projectile belt and the automatic pre-processing of the finite element analysis of the gun firing chamber motion.

[0011] As a preferred embodiment, the specific process of step 1 is:

[0012] Step 1.1: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node number and mesh node spatial coordinates of the rifled gun barrel. The coordinates of the mesh node P of the rifled section barrel are obtained by the following formula:

[0013]

[0014]

[0015]

[0016] Where P_x is the distance between the node P and the tail of the barrel along the axial direction of the barrel, P_y and P_z are the horizontal and vertical projections of the node P in the section perpendicular to the barrel axis, L is the length of the rifled barrel, k is the number of layers of the grid unit of the node P in the axial direction of the barrel, M is the total number of layers of the axial grid unit of the barrel, and Ri is the distance between the node P and the center of the barrel section where it is located, β1 is the angle between the line connecting the node P and the center of the barrel section where it is located and the line connecting the grid nodes of the circumferential starting layer of the rifling where it is located, and β2 is the angle between the rifling where the node P is located and the starting rifling.

[0017]

[0018] Where n is the total number of rifling grooves.

[0019] n t The number of revolutions of the rifling in the barrel of length L.

[0020]

[0021] Where d is the barrel caliber and α is the rifling angle.

[0022] Step 1.2: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node and cell numbers of the rifled gun barrel. The rifled gun barrel is segmented according to the chamber, ramp, and rifling. The mesh nodes and cells of the rifled gun barrel are numbered based on the distribution of different axial mesh sections, different rifling within the same mesh section, different radial layers within the same mesh section, and different nodes within the same radial layer within the finite element model of the rifled gun barrel. Specifically:

[0023] The grid node number consists of nine digits. The first four digits are the axial section number of the barrel grid. The node section number starts with "4000" and ranges from 4000 to 4999. A maximum of 1000 layers can be defined. The fifth and sixth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined in a single-layer grid section. The seventh digit is the radial layer number of the same grid section, starting from "1" and ranging from 1 to 9. A maximum of 9 layers of radial grids can be defined. The eighth and ninth digits are the sequential numbers of the nodes in the same radial layer of a certain rifling positive and negative line, starting from "10" and ranging from 10 to 99. A maximum of 90 nodes can be defined in the same radial layer of the same rifling. The grid unit number consists of nine digits. The first four digits are the axial section number of the barrel grid, starting from "5000" and ranging from 5000 to 5999. A maximum of 1000 layers can be defined. The fifth and sixth digits are the rifling numbers, starting from "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined on a single-layer grid section. The seventh to ninth digits are the sequential numbers of the grid units on the same rifling under the same grid section, starting from "100" and ranging from 100 to 999. A maximum of 900 grids can be defined on the same rifling under the same grid section. The outermost mesh units of each rifling are individually numbered, and the number consists of nine digits. The first three digits are fixed values ​​of "600"; the fourth and fifth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. Up to 90 riflings can be defined in a single-layer mesh section; the sixth to ninth digits are the edge mesh sequence numbers of the same rifling, starting from "1000" and ranging from 1000 to 9999. Up to 9000 edge mesh units can be defined under the same rifling.

[0024] In step 1.3, in the Python language framework, the spatial coordinates of the mesh nodes calculated in step 1.1 are matched with the mesh node numbers in step 1.2. Then, according to the numbering rules of the mesh nodes and mesh elements of the rifled gun barrel, the mesh nodes and mesh elements of the rifled gun barrel are matched in the Python language framework to obtain the Inp file of the rifled gun barrel finite element model.

[0025] As a preferred embodiment, the specific process of step 2 is:

[0026] Step 2.1: Based on the structural characteristic parameters of the projectile and the belt, create a three-dimensional model of the projectile and the belt in the component module of the finite element simulation software ABAQUS, and then divide the projectile and the belt into meshes in the mesh module to obtain the finite element model of the projectile and the belt;

[0027] In step 2.2, the rifled gun barrel finite element model obtained in step 1 is imported into the projectile and belt finite element model. In the assembly module, the rifled gun barrel, projectile, and belt are assembled. Material properties are assigned, analysis steps are created, contacts are defined, loads and boundary conditions are defined, and a job is created. An execution log file recording the operation process is obtained.

[0028] As a preferred embodiment, in step 3, the suffix of the execution log file recording the operation process is changed from .rpy to .py, forming a Python script language, replacing the parameters related to the projectile belt structure with variables, and replacing the mask in the script language with a general selection command to realize the parameterized modeling process of the rifled barrel gun firing chamber motion. Specifically:

[0029] Commands that use masks and select through getSequenceFromMask are replaced with commands that use model structure parameters and select through commands such as getByBoundingCylinder and findAt, realizing the parametric modeling process of rifled barrel artillery firing in-bore motion.

[0030] As a preferred embodiment, in step 4, the Python script obtained in steps 1 and 3 is used as the core execution file of the GUI plug-in. Based on the RSG dialog box builder in the ABAQUS finite element software, the association between the structural parameter interface and the script is completed, and a GUI plug-in is generated to realize the parametric modeling of the rifled gun barrel and projectile belt and the automatic pre-processing of the finite element analysis of the gun firing chamber motion. Specifically:

[0031] In the RSG dialog box builder in the ABAQUS finite element software, an input window for variables related to the finite element model of the barrel and projectile belt is created, and a model structure parameter description diagram is added. Then, the Python script programs obtained in steps 1 and 3 are associated with the corresponding variable input windows and model structure parameter description diagrams, respectively, to generate a GUI plug-in. This allows one-click generation of the rifled gun barrel finite element model, as well as one-click completion of the parametric modeling of the projectile belt and the pre-processing of the finite element analysis of the gun firing chamber motion.

[0032] Compared with the existing technical solutions, the present invention has the following significant features: the present invention directly generates a rifled artillery barrel finite element model file with the suffix .inp under the Python language framework, and uses the execution log file of ABAQUS to generate a script for creating projectile and belt models and completing the barrel import and pre-processing process. At the same time, a GUI plug-in is created to achieve one-click generation of the rifled artillery barrel finite element model and one-click completion of the parametric modeling of the projectile belt and the pre-processing of the finite element analysis of the artillery firing in-bore motion, thereby greatly improving the efficiency of the finite element analysis of the in-bore motion of rifled barrel artillery firing. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The present invention is a flow chart of the parameterized modeling method for the in-bore motion of a rifled barrel artillery.

[0034] Figure 2 The present invention generates a flow chart of a rifled artillery barrel finite element model in the pytnon language framework.

[0035] Figure 3 Schematic diagram of the grid node numbering rules for rifled artillery barrels according to the present invention.

[0036] Figure 4 The present invention utilizes a program to generate a finite element model of a rifled artillery barrel.

[0037] Figure 5 This is a finite element model of the rifled artillery barrel and projectile belt assembly of the present invention.

[0038] Figure 6 The present invention creates a GUI operation interface for generating rifled artillery barrels and projectile belts and performing pre-processing.

[0039] Figure 7 This is a diagram of the in-bore motion of a rifled barrel gun calculated using the parametric modeling method of the present invention. Specific implementation plan

[0040] The present invention is further described below with reference to the accompanying drawings and embodiments.

[0041] like Figure 1 As shown in FIG, a parameterized modeling method for the in-bore motion of a rifled barrel gun is provided. The specific steps are as follows:

[0042] Step 1, such as Figure 2 As shown in the figure, based on the structural characteristic parameters of the rifled gun barrel, a Python script is written in the ABAQUS protocol format to output the mesh node number and mesh node space coordinates of the rifled gun barrel, and the mesh units of the rifled gun barrel are matched with the mesh nodes to obtain the Inp file of the rifled gun barrel finite element model. The specific steps are as follows:

[0043] Step 1.1: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the spatial coordinates of the mesh nodes of the rifled gun barrel. The coordinates of the mesh node P of the rifling section barrel are obtained by the following formula:

[0044]

[0045]

[0046]

[0047] Where P_x is the distance between the node P and the tail of the barrel along the axial direction of the barrel, P_y and P_z are the horizontal and vertical projections of the node P in the section perpendicular to the barrel axis, L is the length of the rifled barrel, k is the number of layers of the grid unit of the node P in the axial direction of the barrel, M is the total number of layers of the axial grid unit of the barrel, and R i is the distance between the node P and the center of the barrel section where it is located, β1 is the angle between the line connecting the node P and the center of the barrel section where it is located and the line connecting the grid nodes of the grid circumferential starting layer of the rifling where it is located, and β2 is the angle between the rifling where the node P is located and the starting rifling;

[0048]

[0049] Where n is the total number of rifling grooves.

[0050] n t is the number of revolutions of the rifling in the barrel of length L;

[0051]

[0052] Where d is the barrel caliber and α is the rifling angle.

[0053] Step 1.2: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node and cell numbers of the rifled gun barrel. The rifled gun barrel is segmented according to the chamber, ramp, and rifling. The mesh nodes and cells of the rifled gun barrel are numbered based on the distribution of different axial mesh sections, different rifling within the same mesh section, different radial layers within the same mesh section, and different nodes within the same radial layer within the finite element model of the rifled gun barrel. Specifically:

[0054] The grid node numbering rules are as follows Figure 3As shown, it consists of nine digits. The first four digits are the axial section number of the barrel grid. The node section number starts with "4000" and ranges from 4000 to 4999. A maximum of 1000 layers can be defined. The fifth and sixth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined in a single-layer grid section. The seventh digit is the radial layer number of the same grid section, starting from "1" and ranging from 1 to 9. A maximum of 9 layers of radial grids can be defined. The eighth and ninth digits are the sequential numbers of the nodes in the same radial layer of a certain rifling positive line and negative line, starting from "10" and ranging from 10 to 99. A maximum of 90 nodes can be defined in the same radial layer of the same rifling. The grid unit number consists of nine digits. The first four digits are the axial section number of the barrel grid, starting from "5000" and ranging from 5000 to 5999. A maximum of 1000 layers can be defined. The fifth and sixth digits are the rifling numbers, starting from "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined on a single-layer grid section. The seventh to ninth digits are the sequential numbers of the grid units on the same rifling under the same grid section, starting from "100" and ranging from 100 to 999. A maximum of 900 grids can be defined on the same rifling under the same grid section. The outermost edge mesh cells of each rifling are individually numbered, and the number consists of nine digits. The first three digits are fixed values ​​of "600"; the fourth and fifth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined in a single-layer mesh section; the sixth to ninth digits are the edge mesh sequence numbers of the same rifling, starting from "1000" and ranging from 1000 to 9999. A maximum of 9000 edge mesh cells can be defined under the same rifling.

[0055] In step 1.3, in the Python language framework, the spatial coordinates of the mesh nodes calculated in step 1.1 are matched with the mesh node numbers in step 1.2. Then, according to the numbering rules of the mesh nodes and mesh elements of the rifled gun barrel, the mesh nodes and mesh elements of the rifled gun barrel are matched in the Python language framework to obtain the Inp file of the rifled gun barrel finite element model.

[0056] Step 2: Use the finite element simulation software ABAQUS to create a three-dimensional model of the projectile and the belt, and divide the mesh of the projectile and the belt in the mesh module. Import the finite element model of the rifled artillery barrel obtained in step 1 and assemble it. Perform pre-processing to obtain an execution log file that records the operation process. The specific operation process of step 2 is as follows:

[0057] Step 2.1: Create a three-dimensional model of the projectile and the belt in the component module of the finite element simulation software ABAQUS based on the structural characteristic parameters of the projectile and the belt, and then divide the projectile and the belt into meshes in the mesh module to obtain the finite element model of the projectile and the belt.

[0058] In step 2.2, the rifled gun barrel finite element model obtained in step 1 is imported into the projectile and belt finite element model. In the assembly module, the rifled gun barrel, projectile, and belt are assembled. Material properties are assigned, analysis steps are created, contacts are defined, loads and boundary conditions are defined, and a job is created. An execution log file recording the operation process is obtained.

[0059] Step 3: Change the suffix of the execution log file that records the operation process from .rpy to .py to form a Python script language. Replace the parameters related to the projectile belt structure with variables, and replace the mask in the script language with a general selection command to realize the parametric modeling process of the rifled barrel gun firing chamber motion. Specifically:

[0060] Commands that use masks and select through getSequenceFromMask are replaced with commands that use model structure parameters and select through commands such as getByBoundingCylinder and findAt, thus realizing the parametric modeling process of the in-bore motion of rifled barrel artillery.

[0061] Step 4: Use the Python script obtained in steps 1 and 3 as the core executable file of the GUI plug-in. Based on the RSG dialog box builder in the ABAQUS finite element software, complete the association between the structural parameter interface and the script, generate a GUI plug-in, and implement the parametric modeling of the rifled gun barrel and projectile belt as well as the automatic pre-processing of the finite element analysis of the gun firing chamber motion. Specifically:

[0062] In the RSG dialog box builder in the ABAQUS finite element software, create an input window for variables related to the finite element model of the barrel and projectile belt, and add a diagram of the model structure parameters to obtain the following: Figure 6 The GUI operation interface shown in the figure is then associated with the Python script programs obtained in steps 1 and 3 respectively with the corresponding variable input windows and model structure parameter description diagrams to generate a GUI plug-in, which can realize the one-click generation of rifled artillery barrel finite element models and the one-click completion of projectile belt parametric modeling and artillery firing chamber motion finite element analysis pre-processing. Figure 6 As shown in (a), enter the rifled gun barrel structure parameters on the GUI operation interface for generating the rifled gun barrel and click the "OK" button to generate the rifled gun barrel finite element model, as shown in Figure 4 As shown in Figure 2, all structural features of the rifled gun barrel are fully constructed, and the barrel mesh quality is good; Figure 6(b) and 6(c), enter the structural parameters of the projectile and the belt in the GUI operation interface of the projectile and the belt and click the "OK" button to establish the projectile and belt model and divide the mesh. At the same time, the finite element pre-processing work such as barrel import and component assembly is automatically completed. The finite element mesh model of the barrel and projectile belt assembly is as follows Figure 5 As shown in the figure, the structural features of the projectile and the belt are complete, and the mesh quality is good. After submitting the calculation, the results of the movement of the rifled barrel gun in the firing chamber are as follows Figure 7 shown.

Claims

1. A parameterized modeling method for the in-bore motion of a rifled barrel gun, characterized in that: The steps include: Step 1: Based on the structural characteristic parameters of the rifled gun barrel, a Python script is written in the ABAQUS protocol format to output the mesh node numbers and spatial coordinates of the rifled gun barrel. The mesh cells of the rifled gun barrel are then mapped to the mesh nodes to obtain the Inp file of the rifled gun barrel finite element model. Step 2: Use the finite element simulation software ABAQUS to create a three-dimensional model of the projectile and the belt, and divide the mesh of the projectile and the belt in the mesh module. Import the finite element model of the rifled gun barrel obtained in step 1 and assemble it. Perform pre-processing and obtain an execution log file that records the operation process. Step 3: Change the suffix of the execution log file that records the operation process from .rpy to .py to form a Python script language. Edit and modify the script language to obtain the Python script for parametric modeling of projectile belts and pre-processing of finite element analysis of the motion in the firing chamber of rifled barrel guns. Step 4: Use the Python script obtained in steps 1 and 3 as the kernel execution file of the GUI plug-in. Based on the RSG dialog box builder in the ABAQUS finite element software, complete the association between the structural parameter interface and the script, generate a GUI plug-in, and realize the parametric modeling of the rifled gun barrel and projectile belt and the automatic pre-processing of the finite element analysis of the gun firing chamber motion.

2. The parameterized modeling method for the in-bore motion of a rifled barrel gun according to claim 1, characterized in that: Step 1: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node number and mesh node spatial coordinates of the rifled gun barrel, and correspond the rifled gun barrel mesh units to the mesh nodes to obtain the Inp file of the rifled gun barrel finite element model. The specific process is as follows: Step 1.1: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the spatial coordinates of the mesh nodes of the rifled gun barrel. The coordinates of the mesh node P of the rifling section barrel are obtained by the following formula: Where P_x is the distance between the node P and the tail of the barrel along the axial direction of the barrel, P_y and P_z are the horizontal and vertical projections of the node P in the section perpendicular to the barrel axis, L is the length of the rifled barrel, k is the number of layers of the grid unit of the node P in the axial direction of the barrel, M is the total number of layers of the axial grid unit of the barrel, and R i is the distance between the node P and the center of the barrel section where it is located, β1 is the angle between the line connecting the node P and the center of the barrel section where it is located and the line connecting the grid nodes of the grid circumferential starting layer of the rifling where it is located, is the angle between the rifling where the node P is located and the starting rifling, and n is the total number of rifling; is the number of revolutions of the rifling in the barrel of length L, d is the barrel caliber, and α is the rifling twist angle; Step 1.2: Based on the structural characteristic parameters of the rifled gun barrel, write a Python script in the ABAQUS protocol format to output the mesh node number and mesh unit number of the rifled gun barrel. Segment the rifled gun barrel according to the chamber, slope, and rifling. Number the mesh nodes and mesh units of the rifled gun barrel according to the distribution of different mesh sections in the axial direction, different riflings in the same mesh section, different radial layers in the same mesh section, and different nodes in the same radial layer of the rifled gun barrel finite element model. Specifically: The grid node number consists of nine digits. The first four digits are the axial section number of the barrel grid. The node section number starts with "4000" and ranges from 4000 to 4999. A maximum of 1000 layers can be defined. The fifth and sixth digits are the rifling number, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined in a single-layer grid section. The seventh digit is the radial layer number of the same grid section, starting from "1" and ranging from 1 to 9. A maximum of 9 layers of radial grids can be defined. The eighth and ninth digits are the sequential numbering of the nodes in the same radial layer of a certain rifling positive line and negative line, starting from "10" and ranging from 10 to 99. A maximum of 90 nodes can be defined in the same radial layer of the same rifling. The grid unit number consists of nine digits. The first four digits are the axial section number of the barrel grid, starting from "5000" and ranging from 5000 to 5999. A maximum of 100 nodes can be defined. 0 layer; the fifth and sixth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined on a single-layer mesh section. The seventh to ninth digits are the sequential numbers of the grid cells on the same rifling under the same mesh section, starting from "100" and ranging from 100 to 999. A maximum of 900 grids can be defined on the same rifling under the same mesh section. The outermost edge grid cells of each rifling are individually numbered, consisting of nine digits, with the first three digits being a fixed value of "600". The fourth and fifth digits are the rifling numbers, starting with "10" and ranging from 10 to 99. A maximum of 90 riflings can be defined on a single-layer mesh section. The sixth to ninth digits are the sequential numbers of the edge grids of the same rifling, starting from "1000" and ranging from 1000 to 9999. A maximum of 9000 edge grid cells can be defined on the same rifling. In step 1.3, in the Python language framework, the spatial coordinates of the mesh nodes calculated in step 1.1 are matched with the mesh node numbers in step 1.

2. Then, according to the numbering rules of the mesh nodes and mesh elements of the rifled gun barrel, the mesh nodes and mesh elements of the rifled gun barrel are matched in the Python language framework to obtain the Inp file of the rifled gun barrel finite element model.

3. The parameterized modeling method for the in-bore motion of a rifled barrel gun according to claim 1, characterized in that: Step 2: Use the finite element simulation software ABAQUS to create a three-dimensional model of the projectile and the belt, and divide the mesh of the projectile and the belt in the mesh module. Import the finite element model of the rifled artillery barrel obtained in step 1 and assemble it. Perform pre-processing to obtain an execution log file that records the operation process. The specific process is as follows: Step 2.1: Based on the structural characteristic parameters of the projectile and the belt, create a three-dimensional model of the projectile and the belt in the component module of the finite element simulation software ABAQUS, and then divide the projectile and the belt into meshes in the mesh module to obtain the finite element model of the projectile and the belt; In step 2.2, the rifled gun barrel finite element model obtained in step 1 is imported into the projectile and belt finite element model. In the assembly module, the rifled gun barrel, projectile, and belt are assembled. Material properties are assigned, analysis steps are created, contacts are defined, loads and boundary conditions are defined, and a job is created. An execution log file recording the operation process is obtained.

4. The parameterized modeling method for the in-bore motion of a rifled barrel gun according to claim 1, characterized in that: Step 3: Change the suffix of the execution log file that records the operation process from .rpy to .py to form a Python script language. Replace the parameters related to the projectile belt structure with variables, and replace the mask in the script language with a general selection command to realize the parametric modeling process of the rifled barrel gun firing chamber motion. Specifically: Commands that use masks and select through getSequenceFromMask are replaced with commands that use model structure parameters and select through commands such as getByBoundingCylinder and findAt, realizing the parametric modeling process of rifled barrel artillery firing in-bore motion.

5. The parameterized modeling method for the in-bore motion of a rifled barrel gun according to claim 1, characterized in that: Step 4: Use the Python script obtained in steps 1 and 3 as the core executable file of the GUI plug-in. Based on the RSG dialog box builder in the ABAQUS finite element software, complete the association between the structural parameter interface and the script, generate a GUI plug-in, and implement the parametric modeling of the rifled gun barrel and projectile belt as well as the automatic pre-processing of the finite element analysis of the gun firing chamber motion. Specifically: In the RSG dialog box builder in the ABAQUS finite element software, an input window for variables related to the finite element model of the barrel and projectile belt is created, and a model structure parameter description diagram is added. Then, the Python script programs obtained in steps 1 and 3 are associated with the corresponding variable input windows and model structure parameter description diagrams, respectively, to generate a GUI plug-in. This allows one-click generation of the rifled gun barrel finite element model, as well as one-click completion of the parametric modeling of the projectile belt and the pre-processing of the finite element analysis of the gun firing chamber motion.

Citation Information

Patent Citations

  • Bullet warhead emission intensity reliability assessment method

    CN107256304A

  • Method for calculating spherical shell surface three-dimensional crack propagation fatigue life

    WO2022121203A1