Spatial geometry expansion method, device and electronic equipment

By dividing nodes in the preset coordinate system and applying displacements, combined with finite element solution, the problem of large spatial geometric flattening errors and non-convergence is solved, high-precision spatial geometric expansion is achieved, and the shape accuracy and material performance optimization are ensured.

CN112347589BActive Publication Date: 2024-10-01NANJING FIBERGLASS RES & DESIGN INST CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011357525.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-26
Publication Date
2024-10-01
Estimated Expiration
2040-11-26

AI Technical Summary

Technical Problem

The existing technology has problems with large errors and non-convergence during the spatial geometric flattening process, especially in the manufacturing of processed metal parts and textile prefabricated bodies, resulting in inaccurate shapes and difficult to control material properties.

Method used

By meshing the target space geometry in the preset coordinate system, determining the coordinates of the divided nodes, and applying node displacements according to the preset displacement loading direction and conditions to achieve shape expansion, using the finite element solution method to perform partial calculations, Ensure physical meaning and convergence of expansion results.

Benefits of technology

It achieves more accurate spatial geometric expansion, reduces the amount of data processing, improves expansion efficiency, ensures that the expanded volume is basically unchanged, the shape is more reasonable, contact problems and rigid body displacement are avoided, and processing accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112347589B_ABST
    Figure CN112347589B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of product manufacturing technology, and specifically to a spatial geometric body unfolding method, device and electronic equipment, the method comprising obtaining a target spatial geometric body; meshing the target spatial geometric body in a preset coordinate system, determining the division nodes of the target spatial geometric body and the coordinates of each division node; obtaining the displacement loading size of each division node based on the coordinates of each division node and a preset displacement loading direction; determining the unfolding result of the target spatial geometric body according to the displacement loading conditions of each division node, so as to move each division node to a target plane corresponding to the preset displacement loading direction. The shape unfolding is achieved by applying node displacement to each division node, so that the deformation calculation process converges quickly, the unfolding calculation process is equivalent to the simulation of the process, the unfolding result is closer to the real situation, has a certain physical meaning, and the unfolded volume remains basically unchanged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product manufacturing, and in particular to a spatial geometry development method, device and electronic equipment. Background Art

[0002] In the field of mechanics, sheet metal processing requires unfolding a spatial structure into a plane structure, and then processing the plane structure into a spatial structure under the action of external forces. During the processing, the metal material will undergo plastic deformation, which will affect the final shape. Therefore, the impact of material properties on the flattening results needs to be considered during the flattening design stage.

[0003] In the field of textile preform profiling manufacturing, fiber-reinforced preforms are structures that are woven into a planar state by textile equipment, and then the preform is placed in a mold and composited into the final shape through a composite process. For spatial curved surfaces or variable thickness shell structures, they must be flattened before weaving, and then the thickness of each grid point is calculated according to a certain grid density. The thickness determines the design of process parameters such as the number of layers and thickness of the preform yarn. Therefore, a high-precision flattening method is required for the preform structure to obtain accurate thickness.

[0004] Common flattening methods include space geometry topology method and compression deformation method. Space geometry topology method calculates through geometric space transformation relationship, does not consider the deformability of the object, has large flattening error, and the result has no physical meaning. Compression deformation method uses finite element method to compress the object through a flat plate. There are complex nonlinear contact problems in the calculation process, which is prone to non-convergence and thickness changes. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a spatial geometry unfolding method, device and electronic device to solve the problems of large spatial geometry flattening error and non-convergence.

[0006] According to a first aspect, an embodiment of the present invention provides a spatial geometric expansion method, comprising:

[0007] Get the target space geometry;

[0008] Meshing the target space geometric body in a preset coordinate system, and determining the division nodes of the target space geometric body and the coordinates of each division node;

[0009] Based on the coordinates of each division node and the preset displacement loading direction, the displacement loading magnitude of each division node is obtained;

[0010] According to the displacement loading conditions of each division node, the expansion result of the target space geometry is determined to move each division node to a target plane corresponding to the preset displacement loading direction, wherein the displacement loading conditions include the displacement loading size and the preset displacement loading direction.

[0011] The spatial geometric body unfolding method provided by the embodiment of the present invention obtains the displacement loading size of each division node by utilizing the coordinates of each division node and the preset displacement loading direction, so as to unfold the target spatial geometric body, that is, the shape unfolding is achieved by applying node displacement to each division node, so that the deformation calculation process converges quickly, the unfolding calculation process is equivalent to the simulation of the process, the unfolding result is closer to the actual situation and has certain physical meaning, the volume after unfolding is basically unchanged, and the shape is more reasonable.

[0012] In combination with the first aspect, in a first implementation of the first aspect, obtaining the displacement loading size of each division node based on the coordinates of each division node and a preset displacement loading direction includes:

[0013] Acquire the preset displacement loading direction, where the preset displacement loading direction is a preset coordinate direction;

[0014] The displacement loading magnitude of each of the division nodes is determined by using the coordinates of the division nodes in the preset coordinate direction and the coordinates of the target plane.

[0015] The spatial geometric body unfolding method provided by an embodiment of the present invention uses the preset coordinate direction as the preset displacement loading direction, and can directly use the coordinate size of the division node in the preset coordinate direction and the coordinates of the target plane to determine the displacement loading size of each division node, thereby reducing the data processing amount and making the unfolded shape of the target spatial geometric body more reasonable.

[0016] In combination with the first aspect, in a second implementation manner of the first aspect, determining the expansion result of the target space geometric body according to the displacement loading conditions of each division node to move each division node to a target plane corresponding to the preset displacement loading direction includes:

[0017] Determine a constraint node from each of the partition nodes;

[0018] Setting constraints in two directions different from the preset displacement loading direction on the constraint node to obtain constraint conditions;

[0019] Based on the constraint conditions and the displacement loading conditions of each division node, the expansion result of the target space geometry is determined to move each division node to a target plane corresponding to the preset displacement loading direction.

[0020] The spatial geometric body unfolding method provided by an embodiment of the present invention applies constraints in two directions different from the preset displacement loading direction to the constraint nodes, so that the structure does not have rigid body displacement, that is, the main purpose of constraining the other two directions is to prevent the object from lateral movement, otherwise, the object can move freely as a whole in the other two directions, and the displacement can be infinite; the constraints are used to ensure that the object does not have rigid body displacement.

[0021] In combination with the second implementation manner of the first aspect, in the third implementation manner of the first aspect, determining the expansion result of the target space geometric body based on the constraint condition and the displacement loading condition of each division node includes:

[0022] Obtaining material properties of the target spatial geometric body;

[0023] According to the material properties, the constraint conditions and the displacement loading conditions of each division node, a finite element solution is performed to move each division node to a target plane corresponding to the preset displacement loading direction.

[0024] The spatial geometric body unfolding method provided in the embodiment of the present invention adopts a geometric nonlinear finite element solution method for partial solution. For simple structures, the calculation can be completed using one load step. For complex structures, multiple load steps are required for solution calculation, and ultimately all the divided nodes are moved to the target plane.

[0025] In combination with the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, the constraint node is two division nodes whose two coordinates do not overlap and the distance between the coordinates is greater than a preset value, and the preset displacement loading direction is a preset coordinate direction, wherein the constraints in two directions different from the preset displacement loading direction are set for the constraint node to obtain the constraint condition, including:

[0026] Setting a first constraint condition for the first constraint node, wherein the first constraint condition is that the displacement in two coordinate directions perpendicular to the preset coordinate direction is zero;

[0027] A second constraint condition is set for the second constraint node, where the second constraint condition is that the displacement in a coordinate direction perpendicular to the preset coordinate direction is zero, so as to obtain the constraint condition.

[0028] The spatial geometric body unfolding method provided by the embodiment of the present invention sets the displacement of the first constraint node in the other two directions to zero, and sets the displacement of the second constraint node in one direction to zero, which can simplify the data processing process and improve the unfolding efficiency.

[0029] In combination with the first aspect, or any one of the first to fourth embodiments of the first aspect, in a fifth embodiment of the first aspect, when the target space geometric body is a space curved surface, meshing the target space geometric body in a preset coordinate system, and determining the division nodes of the target space geometric body and the coordinates of each division node include:

[0030] Dividing the target space geometry into two-dimensional grids in a preset coordinate system;

[0031] All the two-dimensional grids are determined as division nodes of the target space geometric body to obtain the coordinates of each division node.

[0032] In the spatial geometric body unfolding method provided by the embodiment of the present invention, since the curved surface is a shell with a small thickness and equal thickness, the thickness can be ignored and it is represented by a curved surface with zero thickness. Therefore, it is divided into two-dimensional grids, which can simplify subsequent data processing.

[0033] In combination with the first aspect, or any one of the first to fourth embodiments of the first aspect, in a sixth embodiment of the first aspect, when the target space geometric body is a variable thickness geometric body, meshing the target space geometric body in a preset coordinate system and determining the division nodes of the target space geometric body and the coordinates of each division node include:

[0034] Dividing the target space geometry into three-dimensional grids in a preset coordinate system;

[0035] The three-dimensional grids that meet the preset conditions in the three-dimensional grids are determined as the division nodes of the target space geometric body to obtain the coordinates of each division node.

[0036] The spatial geometric body unfolding method provided by the embodiment of the present invention is a geometric body with varying thickness, and thickness is a feature that cannot be ignored. Therefore, dividing it into three-dimensional grids can ensure that the subsequent unfolding results are closer to the actual situation, and the volume after unfolding remains basically unchanged.

[0037] In combination with the first aspect, in a seventh implementation manner of the first aspect, the gridding the target space geometric body in a preset coordinate system and determining the division nodes of the target space geometric body and the coordinates of each division node further includes:

[0038] Determine whether there is a unique point corresponding to any point in the two-dimensional plane of the preset coordinate system in the target space geometric body;

[0039] When there are at least two points corresponding to any point in the two-dimensional plane of the preset coordinate system in the target space geometric body, the target space geometric body is partially unfolded in sequence until the target space geometric body is fully unfolded.

[0040] The spatial geometric body unfolding method provided by an embodiment of the present invention, when any point in the two-dimensional plane of the preset coordinate system corresponds to at least two points in the target spatial geometric body, it indicates that there is a mapping point overlap at this time. By unfolding parts of the target spatial geometric body in turn, it can be ensured that the unfolding result is closer to the actual situation.

[0041] According to the second aspect, an embodiment of the present invention further provides a spatial geometry development device, comprising:

[0042] An acquisition module is used to acquire the target space geometry;

[0043] A division module, used for performing grid division on the target space geometric body in a preset coordinate system, and determining the division nodes of the target space geometric body and the coordinates of each division node;

[0044] A determination module, configured to obtain the displacement loading magnitude of each division node based on the coordinates of each division node and a preset displacement loading direction;

[0045] The expansion module is used to determine the expansion result of the target space geometry according to the displacement loading conditions of each division node, so as to move each division node to the target plane corresponding to the preset displacement loading direction, wherein the displacement loading conditions include the displacement loading size and the preset displacement loading direction.

[0046] The spatial geometric body unfolding device provided in an embodiment of the present invention obtains the displacement loading size of each division node by utilizing the coordinates of each division node and the preset displacement loading direction, so as to unfold the target spatial geometric body, that is, the shape unfolding is achieved by applying node displacement to each division node, so that the deformation calculation process converges quickly, the unfolding calculation process is equivalent to the simulation of the process, the unfolding result is closer to the actual situation and has certain physical meaning, the volume after unfolding is basically unchanged, and the shape is more reasonable.

[0047] According to the third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the spatial geometric body unfolding method described in the first aspect or any one of the embodiments of the first aspect by executing the computer instructions.

[0048] According to the fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the spatial geometry unfolding method described in the first aspect or any one of the embodiments of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 is a flow chart of a spatial geometric body expansion method according to an embodiment of the present invention;

[0051] Figure 2 is a flow chart of a spatial geometric body expansion method according to an embodiment of the present invention;

[0052] Figure 3 is a schematic diagram of the shape of a space curved surface according to an embodiment of the present invention;

[0053] Figure 4 According to an embodiment of the present invention Figure 3 Schematic diagram of meshing of space surface;

[0054] Figure 5 is a schematic diagram of the shape of a variable thickness geometric body according to an embodiment of the present invention;

[0055] Figure 6 According to an embodiment of the present invention Figure 5 Schematic diagram of meshing of medium-variable thickness geometry;

[0056] Figure 7 is a flow chart of a spatial geometric body expansion method according to an embodiment of the present invention;

[0057] Figure 8 According to an embodiment of the present invention Figure 4 Schematic diagram of constraints on the mid-space surface;

[0058] Fig. 9 According to an embodiment of the present invention Figure 6 Schematic diagram of constraints for medium-variable thickness geometry;

[0059] Fig.10 According to an embodiment of the present invention Figure 3 Schematic diagram of the unfolding result of the mid-space surface;

[0060] Fig.11According to an embodiment of the present invention Figure 5 Schematic diagram of the unfolding result of a medium-variable thickness geometry;

[0061] Fig.12 is a structural block diagram of a spatial geometric body expansion device according to an embodiment of the present invention;

[0062] Fig.13 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0064] It should be noted that the spatial geometry unfolding method provided in the embodiment of the present invention is applicable to irregular spatial curved surfaces and variable thickness shells of arbitrary shapes and arbitrary thickness distributions, and can be applied to mechanical parts processing and textile preform profiling manufacturing. The spatial geometry unfolding method provided in the embodiment of the present invention unfolds by applying node displacement, and there is no contact problem between objects. The calculation method is simple and easy to converge, and does not affect the thickness.

[0065] According to an embodiment of the present invention, an embodiment of a spatial geometry unfolding method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0066] In this embodiment, a spatial geometric expansion method is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 1 is a flow chart of a spatial geometry expansion method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0067] S11, obtaining the target space geometry.

[0068] The target spatial geometric body can be a machined part in the mechanical field or a preform in the field of textile preform profiling. In this embodiment, there is no restriction on the field to which the target spatial geometric body belongs. For the spatial geometric unfolding method of this embodiment, it can also be divided into spatial curved surfaces and variable thickness geometric bodies.

[0069] Among them, the spatial surface is a shell with a small and uniform thickness, so the thickness can be ignored and it is represented by a surface with zero thickness; the variable thickness shell is a shell with varying thickness, and the thickness is a feature that cannot be ignored.

[0070] The target space geometry acquired by the electronic device may be acquired by the electronic device from the outside world or processed by the electronic device. There is no restriction on the method of acquiring the target space geometry. It is only necessary to ensure that the electronic device can acquire the target space geometry.

[0071] S12, meshing the target space geometric body in a preset coordinate system, and determining the meshing nodes of the target space geometric body and the coordinates of each meshing node.

[0072] The preset coordinate system may be set by the electronic device, or may be set by the electronic device according to the geometry of the target space, etc., and may be processed accordingly according to the actual situation.

[0073] After acquiring the target space geometry, the electronic device may perform meshing on the target space geometry in a preset coordinate system. Specifically, the target space geometry may be meshed using finite element methods. The greater the number of meshes, the more accurate the meshing.

[0074] After meshing the target space geometry, the meshing nodes of the target space geometry can be determined. The meshing nodes can be all meshes obtained by meshing the target space geometry, or part of the meshes obtained by meshing the target space combination, etc. The selection of the meshing nodes depends on the type of the target space geometry, for example, whether the target space geometry is a space surface or a variable thickness geometry.

[0075] Since the division of the target space geometric body is performed in a preset coordinate system, the electronic device can obtain the coordinates of each division node after dividing the target space geometric body.

[0076] S13, based on the coordinates of each division node and the preset displacement loading direction, the displacement loading magnitude of each division node is obtained.

[0077] The preset displacement loading direction may be determined manually or obtained by analyzing the coordinates of each division node by the electronic device. For example, the electronic device may analyze the coordinates of each division node and select a suitable loading direction that causes a smaller deformation of the structure or prevents the structure from folding during deformation.

[0078] The preset displacement loading direction may be a coordinate direction in a preset coordinate system, or other directions, and may be set accordingly according to actual conditions.

[0079] After determining the preset displacement loading direction, the electronic device can use the size relationship between the preset displacement loading direction and the origin of the preset coordinate system to obtain the target plane corresponding to the preset displacement loading direction. The electronic device can use the distance from the coordinates of each division node to the target plane to determine the displacement loading size of each division node.

[0080] The specific content of this step will be described in detail below.

[0081] S14, determining the expansion result of the target space geometry according to the displacement loading conditions of each division node, so as to move each division node to a target plane corresponding to a preset displacement loading direction.

[0082] Wherein, the displacement loading conditions include the displacement loading magnitude and the preset displacement loading direction.

[0083] After determining the displacement loading size of each division node, the electronic device can perform a distribution solution on the target space geometry in combination with the preset displacement loading direction to unfold the target space geometry, so that each division node can be moved to the target plane corresponding to the preset displacement loading direction.

[0084] The specific content of this step will be described in detail below.

[0085] The spatial geometry unfolding method provided in this embodiment obtains the displacement loading size of each division node by utilizing the coordinates of each division node and the preset displacement loading direction, so as to unfold the target spatial geometry, that is, the shape unfolding is achieved by applying node displacement to each division node, so that the deformation calculation process converges quickly, the unfolding calculation process is equivalent to the simulation of the process, the unfolding result is closer to the actual situation and has certain physical meaning, the volume after unfolding is basically unchanged, and the shape is more reasonable.

[0086] In this embodiment, a spatial geometric expansion method is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 2 is a flow chart of a spatial geometry expansion method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0087] S21, obtaining the target space geometry.

[0088] For details, please see Figure 1 S11 of the illustrated embodiment will not be described in detail here.

[0089] S22, meshing the target space geometric body in a preset coordinate system, and determining the meshing nodes of the target space geometric body and the coordinates of each meshing node.

[0090] As described above, the target space geometry can be meshed by finite element. When the type of the target space geometry is different, the corresponding meshing method is also different. Specifically, the meshing of the target space geometry into space surface and variable thickness geometry will be described below.

[0091] (1) When the target spatial geometry is a spatial surface, for example, Figure 3 The projection of the space curved surface on three two-dimensional planes and the three-dimensional schematic diagram on the preset coordinate system are shown. The above S22 may include the following steps:

[0092] (1.1) Divide the target space geometry into two-dimensional grids in a preset coordinate system.

[0093] Since the surface is a shell with a small thickness and equal thickness, the thickness can be ignored and represented by a surface with zero thickness. Therefore, dividing it into a two-dimensional grid can simplify the subsequent data processing. Figure 4 Shows Figure 3 The two-dimensional meshing results of the spatial surface are shown.

[0094] (1.2) All two-dimensional grids are determined as the division nodes of the target space geometry to obtain the coordinates of each division node.

[0095] Since there is only one point in the thickness direction of the two-dimensional grid, all two-dimensional grids can be determined as the division nodes of the target space geometry. The more division nodes are selected, the closer the expansion result will be to the actual situation when the target space geometry is subsequently expanded.

[0096] After determining the division nodes of the target space geometric body, the electronic device can obtain the coordinates of each division node by using the position of the division node in the preset coordinate system.

[0097] (2) When the target spatial geometry is a variable thickness geometry, for example, Figure 5 The projections of the variable thickness geometric body on three two-dimensional planes and the three-dimensional schematic diagram on a preset coordinate system are shown.

[0098] (2.1) Divide the target space geometry into three-dimensional grids in a preset coordinate system.

[0099] Since variable thickness geometry is a geometry with varying thickness, thickness is a feature that cannot be ignored, so dividing it into three-dimensional grids can ensure that the subsequent unfolding results are closer to the display situation, and the unfolded volume remains basically unchanged. For example, Figure 6 Shows Figure 5 The 3D meshing results for the variable thickness geometry shown.

[0100] (2.2) The three-dimensional grids that meet the preset conditions in the three-dimensional grid are determined as the division nodes of the target space geometric body to obtain the coordinates of each division node.

[0101] Since the 3D mesh has multiple points in the thickness direction, the nodes of the 3D mesh are only partially selected during loading. For example, you can select the 3D mesh on the surface, or you can select the 3D mesh on the mid-surface or other surfaces that can penetrate the entire variable thickness geometry as the partitioning node.

[0102] Among them, the surface nodes and mid-surface nodes depend on the mesh division. The position and number of the nodes are determined by the mesh division software, and can also be implemented by writing code. There is no limitation on the definition of the nodes here. It only needs to ensure that for the variable thickness geometry, the corresponding division nodes are obtained by selecting part of the three-dimensional mesh from the three-dimensional mesh.

[0103] Since the surface is a two-dimensional model that is perpendicular to the thickness direction or approximately perpendicular to the thickness direction, if the surface can divide the shell into two parts, it can penetrate the entire shell. If it is tilted, it cannot penetrate the entire shell. Whether a node is on a certain surface depends on the mesh division. If a surface is artificially cut out before mesh division, and then the mesh is divided, there will definitely be nodes on the surface. Otherwise, only a few nodes can fall on a smooth surface in space, so it is necessary to select other three-dimensional meshes on the surface that can penetrate the entire variable thickness geometry as the division node.

[0104] Similar to the spatial surface, after the electronic device determines the division nodes of the target spatial geometric body, it can obtain the coordinates of each division node by using the position of the division node in the preset coordinate system.

[0105] S23, based on the coordinates of each division node and the preset displacement loading direction, the displacement loading magnitude of each division node is obtained.

[0106] Specifically, the above S23 includes the following steps:

[0107] S231, obtaining a preset displacement loading direction.

[0108] Wherein, the preset displacement loading direction is a preset coordinate direction.

[0109] like Figure 4 As shown in FIG6 , the coordinates of each division node can be determined in a preset coordinate system, and the coordinates of each division node are represented by X, Y and Z coordinates. The preset displacement loading direction can be an X coordinate direction, a Y coordinate direction and a Z coordinate direction.

[0110] The specific coordinate direction selected as the preset displacement loading direction can be given manually or determined by electronic equipment. If the preset displacement loading direction is determined by electronic equipment, it is necessary to ensure that the preset displacement loading direction determines a small deformation of the structure, or that the structure does not fold during deformation.

[0111] S232, using the coordinates of the division nodes in the preset coordinate direction and the coordinates of the target plane, determine the displacement loading size of each division node.

[0112] The electronic device can calculate the difference between the coordinates of the partition node in the preset coordinate direction and the coordinates of the target plane to determine the displacement loading size. For example, if the preset coordinate direction is the Z coordinate direction, then the displacement loading size of the i-th partition node can be expressed as DZ i Where D is the distance between the target plane and the origin of the preset coordinate system in the Z coordinate direction, Z i is the Z coordinate of the i-th partition node in the preset coordinate system.

[0113] Furthermore, the value of D can be any value. For the sake of calculation simplicity, D is generally taken as 0. Through subsequent expansion processing, all the partition nodes are moved to the same plane Z=D.

[0114] S24, determining the expansion result of the target space geometry according to the displacement loading size of each division node, so as to move each division node to a target plane corresponding to a preset displacement loading direction.

[0115] For details, please see Figure 1 S14 of the illustrated embodiment will not be described in detail here.

[0116] The spatial geometry unfolding method provided in this embodiment uses the preset coordinate direction as the preset displacement loading direction, and can directly use the coordinate size of the division node in the preset coordinate direction and the coordinates of the target plane to determine the displacement loading size of each division node, thereby reducing the data processing amount and making the unfolded shape of the target spatial geometry more reasonable.

[0117] In this embodiment, a spatial geometric expansion method is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 7 is a flow chart of a spatial geometry expansion method according to an embodiment of the present invention. Figure 7 As shown, the process includes the following steps:

[0118] S31, obtaining the target space geometry.

[0119] For details, please see Figure 2 S21 of the illustrated embodiment will not be described in detail here.

[0120] S32, meshing the target space geometric body in a preset coordinate system, and determining the meshing nodes of the target space geometric body and the coordinates of each meshing node.

[0121] For details, please see Figure 2 S22 of the illustrated embodiment will not be described in detail here.

[0122] S33, based on the coordinates of each division node and the preset displacement loading direction, the displacement loading magnitude of each division node is obtained.

[0123] For details, please see Figure 2 S23 of the illustrated embodiment will not be described in detail here.

[0124] S34, determining the expansion result of the target space geometry according to the displacement loading conditions of each division node, so as to move each division node to a target plane corresponding to a preset displacement loading direction.

[0125] The displacement loading conditions include displacement loading magnitude and displacement loading direction.

[0126] Specifically, the above S34 includes the following steps:

[0127] S341, determining a constraint node from each partition node.

[0128] The constraint nodes are two division nodes whose coordinates do not overlap and whose distance between the coordinates is greater than a preset value. The constraint nodes may be manually determined or obtained by dividing the coordinates of each division node by an electronic device. The number of constraint nodes selected may be 2, or more, etc., and may be set accordingly according to actual conditions.

[0129] S342, setting constraints in two directions different from the preset displacement loading direction for the constraint node to obtain constraint conditions.

[0130] As described above, the preset displacement loading direction is a coordinate direction in the preset coordinate system, such as the Z direction. Accordingly, constraints in the X direction and the Y direction can be set for the constraint node to obtain the constraint condition.

[0131] In this embodiment, two constraint nodes are taken as an example, namely a first constraint node and a second constraint node. Specifically, the above S342 may include the following steps:

[0132] (1) A first constraint condition is set for the first constraint node, wherein the first constraint condition is that the displacement in two coordinate directions perpendicular to the preset coordinate direction is zero.

[0133] (2) Setting a second constraint condition for the second constraint node, wherein the second constraint condition is that the displacement in a coordinate direction perpendicular to the preset coordinate direction is zero, so as to obtain the constraint condition.

[0134] For example, Figure 8 As shown, Figure 8 Shows the corresponding Figure 4 Schematic diagram of the first constraint condition of the mid-space surface. Select the partition node A and the partition node B as constraint nodes, wherein the displacement of the partition node A in the X and Y coordinate directions is set to zero; and the displacement of the partition node B in the Y coordinate direction is set to zero.

[0135] like Fig. 9 As shown, Fig. 9 Shows the corresponding Figure 6 Schematic diagram of the second constraint condition of the medium variable thickness geometric body. Select the division node A and the division node B as the constraint nodes, wherein the displacement of the division node A in the X and Y coordinate directions is set to zero; and the displacement of the division node B in the Y coordinate direction is set to zero.

[0136] S343, based on the constraint conditions and the displacement loading conditions of each division node, determine the expansion result of the target space geometry to move each division node to the target plane corresponding to the preset displacement loading direction.

[0137] After determining the constraint conditions and the displacement loading conditions of each division node on the target plane, the electronic device can use the finite element analysis method to expand and calculate the target space combination, so as to move each division node to the target plane corresponding to the preset displacement loading direction.

[0138] Specifically, the above S343 includes the following steps:

[0139] (1) Obtain the material properties of the target spatial geometry.

[0140] The electronic device defines the material properties of the target space geometry according to the actual situation. The material properties of the target space geometry can be defined as isotropic materials or anisotropic materials, and the size of the material parameters is given according to the actual situation.

[0141] For example, the electronic device may provide a material property input interface, so that the user can input corresponding material properties and the like on the input interface.

[0142] (2) performing finite element solution according to material properties, constraint conditions, and displacement loading conditions of each division node to move each division node to a target plane corresponding to the preset displacement loading direction.

[0143] Electronic devices use geometric nonlinear finite element solution methods to solve the problem in parts, specifically by solving equilibrium equations to solve the displacement and deformation of the target space geometry under external forces or constraints. Finite element solution can be achieved through existing software or by writing code. There is no limitation on the finite element solution method.

[0144] For simple structures, one load step is sufficient to complete the calculation. For complex structures, multiple load steps are required to solve the calculation, so that all the partition nodes are moved to the target plane. Fig.10 Shows Figure 3 The unfolding result of the space surface shown is Fig.11 Shows Figure 5 The unfolding result of the variable thickness geometry shown.

[0145] The spatial geometric body unfolding method provided in this embodiment applies constraints in two directions different from the preset displacement loading direction to the constraint nodes, so that the structure does not have rigid body displacement, that is, the main purpose of constraining the other two directions is to prevent the object from lateral movement, otherwise, the object can move freely as a whole in the other two directions, and the displacement can be infinite; the constraint is used to ensure that the object does not have rigid body displacement and the volume after unfolding remains basically unchanged.

[0146] As a specific implementation of this embodiment, when the target space geometric body is a space surface, for example Figure 3 The spatial surface shown, the spatial geometric expansion method may include the following steps:

[0147] 1) Establish a preset body coordinate system so that any point on the surface can be expressed as z=f(x, y); any point (x, y) in the projection area of ​​the surface on the xoy plane corresponds to a unique point on the surface.

[0148] 2) Perform finite element meshing on the spatial surface, such as Figure 4 As shown, triangular or quadrilateral meshes can be used for division;

[0149] 3) Define loading nodes and select all nodes as loading nodes;

[0150] 4) Define constraint nodes, such as Figure 8 As shown, partition node A and partition node B are selected as constraint nodes.

[0151] 5) Apply displacement, select the division node, and apply displacement loading to the division node. The loading direction is the Z coordinate direction, and the loading size is equal to -Z i (Z i is the Z coordinate of the i-th partition node in the coordinate system);

[0152] 6) Apply constraints and select constraint nodes to constrain so that the displacement of point A in the X and Y directions is zero, and the displacement of point B in the Y direction is zero.

[0153] 7) Define the material properties, define the spatial surface as an isotropic material, take the elastic modulus as 100 GPa, and take the Poisson's ratio as 0.3.

[0154] 8) Expand the calculation and use the geometric nonlinear finite element solution method to solve it, and finally move all the loading nodes to the same plane Z = 0. The expansion result is as follows Fig.10 shown.

[0155] As another specific implementation of this embodiment, when the target space geometric body is a variable thickness geometric body, for example Figure 5 The spatial geometric body shown, the spatial geometric expansion method may include the following steps:

[0156] 1) Establish a preset coordinate system so that any point on the mid-surface of the variable thickness geometric body can be expressed as z=f(x, y); any point (x, y) on the mid-surface in the projection area of ​​the xoy plane corresponds to a unique point on the mid-surface.

[0157] 2) Perform finite element meshing on variable thickness geometry, such as Figure 6 As shown, hexahedral or pentahedral meshes can be used for division, and the variable thickness geometry is divided into 4 equal parts in the thickness direction;

[0158] 3) Define loading nodes and extract all nodes on the surface of the variable thickness geometric body as partition nodes;

[0159] 4) Define constraint nodes, such as Fig. 9 As shown, the division node A and the division node B on the mid-surface of the variable thickness geometric body are selected as constraint nodes;

[0160] 5) Apply displacement, select the division node, and apply displacement loading to the division node. The loading direction is Z direction, and the loading size is equal to -Z i (zi is the Z coordinate of the i-th loading node in the coordinate system);

[0161] 6) Apply constraints and select constraint nodes to constrain so that the displacement of point A in the X and Y directions is zero, and the displacement of point B in the Y direction is zero.

[0162] 7) Define material properties, define the variable thickness geometry as an isotropic material, take the elastic modulus as 100 GPa, and take the Poisson's ratio as 0.3.

[0163] 8) Expand the calculation and use the geometric nonlinear finite element solution method to solve it, and finally move all the loading nodes to the same plane Z = 0. The expansion result is as follows Fig.11shown.

[0164] In some optional implementations of this embodiment, the above S32 may also include the following steps:

[0165] (1) Determine whether there is a unique point corresponding to any point in the two-dimensional plane of the preset coordinate system in the target space geometry.

[0166] The electronic device maps the target space geometry to a two-dimensional plane of a preset coordinate system, and analyzes the mapping points on the two-dimensional plane to determine whether there is a unique point corresponding to any mapping point in the target space geometry.

[0167] (2) When any point in the two-dimensional plane of the preset coordinate system corresponds to at least two points in the target space geometric body, the target space geometric body is partially unfolded in sequence until the target space geometric body is fully unfolded.

[0168] For the target space geometric body, when any point in the two-dimensional plane of the preset coordinate system corresponds to at least two points in the target space geometric body, it means that the target space geometric body has stacked points in the two-dimensional plane. For the expansion of this type of target space geometric body, generally, the part of the target space geometric body with the stacked points to be set is fixed first, and the other part is expanded using the spatial geometry expansion method described in the embodiment of the present invention; through continuous loop processing, until the target space geometric body is fully expanded.

[0169] When any point in the two-dimensional plane of the preset coordinate system corresponds to at least two points in the target space geometry, it means that there is an overlap of mapping points. By unfolding part of the target space geometry in turn, it can be ensured that the unfolding result is closer to the actual situation.

[0170] In this embodiment, a spatial geometry development device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0171] This embodiment provides a spatial geometric expansion device, such as Fig.12 As shown, including:

[0172] An acquisition module 41 is used to acquire a target space geometry;

[0173] A division module 42 is used to perform grid division on the target space geometric body in a preset coordinate system, and determine the division nodes of the target space geometric body and the coordinates of each division node;

[0174] A determination module 43, configured to obtain the displacement loading magnitude of each division node based on the coordinates of each division node and a preset displacement loading direction;

[0175] The expansion module 44 is used to determine the expansion result of the target space geometry according to the displacement loading conditions of each division node, so as to move each division node to the target plane corresponding to the preset displacement loading direction, and the displacement loading conditions include the displacement loading size and the preset displacement loading direction.

[0176] The spatial geometric body unfolding device provided in this embodiment obtains the displacement loading size of each division node by utilizing the coordinates of each division node and the preset displacement loading direction, so as to unfold the target spatial geometric body, that is, the shape unfolding is achieved by applying node displacement to each division node, so that the deformation calculation process converges quickly, the unfolding calculation process is equivalent to the simulation of the process, the unfolding result is closer to the actual situation and has certain physical meaning, the volume after unfolding is basically unchanged, and the shape is more reasonable.

[0177] The spatial geometry unfolding device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0178] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.

[0179] The embodiment of the present invention also provides an electronic device having the above Fig.12 The spatial geometry unfolding device shown.

[0180] See also Fig.13 , Fig.13 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Fig.13As shown, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, a memory 54, and at least one communication bus 52. The communication bus 52 is used to realize the connection and communication between these components. The communication interface 53 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a wireless interface. The memory 54 may be a high-speed RAM memory (Random Access Memory) or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 54 may optionally be at least one storage device located away from the aforementioned processor 51. The processor 51 may be combined with Fig.12 In the described device, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 to execute any of the above method steps.

[0181] The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 52 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0182] Among them, the memory 54 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 54 may also include a combination of the above types of memory.

[0183] The processor 51 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.

[0184] The processor 51 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0185] Optionally, the memory 54 is also used to store program instructions. The processor 51 can call the program instructions to implement the present application Figure 1 , 2 And the spatial geometry unfolding method shown in 7 embodiments.

[0186] The embodiment of the present invention further provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the spatial geometric body expansion method in any of the above method embodiments. The storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memory.

[0187] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A spatial geometric expansion method, characterized in that: include: Get the target space geometry; Meshing the target space geometric body in a preset coordinate system, and determining the division nodes of the target space geometric body and the coordinates of each division node; Based on the coordinates of each division node and the preset displacement loading direction, the displacement loading magnitude of each division node is obtained; Determine the expansion result of the target space geometric body according to the displacement loading conditions of each division node, so as to move each division node to a target plane corresponding to the preset displacement loading direction, wherein the displacement loading conditions include the displacement loading magnitude and the preset displacement loading direction; The step of determining the expansion result of the target space geometric body according to the displacement loading conditions of each division node on the target plane to move each division node to the target plane corresponding to the preset displacement loading direction includes: Determine a constraint node from each of the partition nodes; Setting constraints in two directions different from the preset displacement loading direction on the constraint node to obtain constraint conditions; Obtaining material properties of the target spatial geometric body; According to the material properties, the constraint conditions and the displacement loading conditions of each division node, a finite element solution is performed to move each division node to a target plane corresponding to the preset displacement loading direction.

2. The method according to claim 1, characterized in that The obtaining of the displacement loading magnitude of each division node based on the coordinates of each division node and the preset displacement loading direction includes: Acquire the preset displacement loading direction, where the preset displacement loading direction is a preset coordinate direction; The displacement loading magnitude of each of the division nodes is determined by using the coordinates of the division nodes in the preset coordinate direction and the coordinates of the target plane.

3. The method according to claim 1, characterized in that The constraint nodes are two division nodes whose coordinates do not overlap and whose distance between the coordinates is greater than a preset value, and the preset displacement loading direction is a preset coordinate direction, wherein the constraint in two directions different from the preset displacement loading direction is set on the constraint nodes to obtain constraint conditions, including: Setting a first constraint condition for the first constraint node, wherein the first constraint condition is that the displacement in two coordinate directions perpendicular to the preset coordinate direction is zero; A second constraint condition is set for the second constraint node, where the second constraint condition is that the displacement in a coordinate direction perpendicular to the preset coordinate direction is zero, so as to obtain the constraint condition.

4. The method according to any one of claims 1 to 3, characterized in that When the target space geometric body is a space curved surface, the grid division of the target space geometric body in a preset coordinate system and the determination of the division nodes of the target space geometric body and the coordinates of each division node include: Dividing the target space geometry into two-dimensional grids in a preset coordinate system; All the two-dimensional grids are determined as division nodes of the target space geometric body to obtain the coordinates of each division node.

5. The method according to any one of claims 1 to 3, characterized in that: When the target space geometric body is a variable thickness geometric body, the grid division of the target space geometric body in a preset coordinate system and determination of the division nodes of the target space geometric body and the coordinates of each division node include: Dividing the target space geometry into three-dimensional grids in a preset coordinate system; The three-dimensional grids that meet the preset conditions in the three-dimensional grids are determined as the division nodes of the target space geometric body to obtain the coordinates of each division node.

6. The method according to claim 1, characterized in that The step of meshing the target space geometric body in a preset coordinate system and determining the meshing nodes of the target space geometric body and the coordinates of each meshing node also includes: Determine whether there is a unique point corresponding to any point in the two-dimensional plane of the preset coordinate system in the target space geometric body; When there are at least two points corresponding to any point in the two-dimensional plane of the preset coordinate system in the target space geometric body, the target space geometric body is partially unfolded in sequence until the target space geometric body is fully unfolded.

7. A spatial geometric development device, characterized in that: include: An acquisition module is used to acquire the target space geometry; A division module, used for performing grid division on the target space geometric body in a preset coordinate system, and determining the division nodes of the target space geometric body and the coordinates of each division node; A determination module, configured to obtain the displacement loading magnitude of each division node based on the coordinates of each division node and a preset displacement loading direction; An expansion module, used to determine the expansion result of the target space geometric body according to the displacement loading conditions of each division node, so as to move each division node to a target plane corresponding to the preset displacement loading direction, wherein the displacement loading conditions include the displacement loading magnitude and the preset displacement loading direction; The step of determining the expansion result of the target space geometric body according to the displacement loading conditions of each division node on the target plane to move each division node to the target plane corresponding to the preset displacement loading direction includes: Determine a constraint node from each of the partition nodes; Setting constraints in two directions different from the preset displacement loading direction on the constraint node to obtain constraint conditions; Obtaining material properties of the target spatial geometric body; According to the material properties, the constraint conditions and the displacement loading conditions of each division node, a finite element solution is performed to move each division node to a target plane corresponding to the preset displacement loading direction.

8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the spatial geometry expansion method described in any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the spatial geometry expansion method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Three-dimensional integral wall panel expanding and modeling method

    CN102842147A

  • Finite element analyzing method for inflatable unfolding fabric working process

    CN103544347A

  • Display method and device of spatial dimension marks

    CN107451235A

  • Self-adaptive method for approximately unfolding a three-dimensional curved surface into a plane

    CN108986020A

  • Method and system for mesh-free analysis of general three-dimensional shell structures

    US20060103648A1