Ansys-based wall design section generation method, medium and system
Based on ANSYS -based methods to calculate the section distance and generate the cross -section of the wall design, the problem of low efficiency and incomplete coverage of artificial definitions is solved, and an efficient and accurate wall design section generation is realized.
Patent Information
- Application Number
- CN202411394463.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-08
AI Technical Summary
In the civil structure design of nuclear islands, manual definition of wall design sections has problems such as low efficiency, error-prone and inability to cover all areas.
Through the Ansys-based method, the section spacing of each shell unit set is calculated and multiple wall design sections are generated to ensure that each section covers all areas of the nuclear island civil structure.
The process of automated the design of the wall design of the wall is realized, the design efficiency is improved, the possibility of errors is reduced, and the needs of the design progress of the nuclear island civil construction engineering engineering engineering.
Smart Images

Figure CN119358085A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of nuclear island civil structure design, and in particular to a method, medium and system for generating a wall design section based on Ansys. Background Art
[0002] The civil structures of the nuclear island are usually subjected to mechanical analysis using the finite element software Ansys. Ansys is a finite element analysis software widely used in the engineering field. It is used for simulation analysis of multi-physical field coupling such as structure, fluid, heat conduction, electromagnetic field, etc. It provides powerful modeling and simulation tools that can be used for design optimization, performance evaluation and virtual prototype testing.
[0003] The wall components of the nuclear island civil structure based on Ansys are simulated using shell elements, which output the internal forces of the shell elements. However, the design specifications require that the wall components be designed for in-plane shear resistance based on the horizontal design section. This requires defining the horizontal design section of the wall (the wall design section below) and integrating and summing the in-plane shear force of the shell elements along the wall design section to obtain the in-plane shear force of the wall design section required for the design. However, the walls of the nuclear island civil structure have many and irregularly distributed openings to meet the process requirements, which results in many and irregularly distributed wall design sections that need to be defined; at the same time, in order to meet the safety requirements of the nuclear island civil structure, it is necessary to evaluate the in-plane shear resistance of all areas of the nuclear island civil structure wall, which also requires that the defined wall design section must cover all areas of the nuclear island civil structure wall, that is, each shell element must have a wall design section passing through it, which brings certain difficulties to the definition of the wall design section.
[0004] The existing method of screening out some controlling parts in the design based on design experience and manually defining the wall design section, on the one hand, has unreasonable possibilities in the selected parts and cannot cover all areas of the nuclear island civil structure, on the other hand, the method of manually defining the wall design section is inefficient and prone to errors, which makes it difficult to meet the design progress requirements of the nuclear island civil structure engineering. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a method, medium and system for generating a wall design section based on Ansys.
[0006] The first aspect of the present invention discloses a method for generating a wall design section based on Ansys, comprising:
[0007] Based on a first shell element set and a plurality of second shell element sets, calculating the cross-sectional spacing corresponding to each of the second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one of the walls;
[0008] For each of the second shell element sets:
[0009] Based on the corresponding section spacing, multiple section elevations are calculated;
[0010] For each of the cross-sectional elevations, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation are calculated as a third shell element set corresponding to the cross-sectional elevation;
[0011] A plurality of wall design sections are generated according to all the third shell element sets corresponding to the second shell element set.
[0012] Furthermore, the step of calculating the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and the plurality of second shell element sets includes:
[0013] Based on the first set of shell elements, calculate the general section spacing;
[0014] Based on the general section spacing and each second shell element set, the section spacing corresponding to each second shell element set is calculated.
[0015] Furthermore, the step of calculating the general section spacing based on the first shell element set includes:
[0016] Calculating the element height difference of all the shell elements in the first shell element set in the z-axis direction of the system three-dimensional coordinate system of Ansys;
[0017] Filtering all the unit height differences to obtain the minimum unit height difference;
[0018] The common section spacing is calculated based on the minimum unit height difference.
[0019] Furthermore, the step of calculating the general section spacing according to the minimum unit height difference includes:
[0020] The minimum unit height difference is multiplied by a preset spacing ratio to obtain a universal section spacing.
[0021] Furthermore, the step of calculating the section spacing corresponding to each second shell element set based on the general section spacing and each second shell element set includes:
[0022] Calculate the wall height difference of the wall corresponding to each of the second shell unit sets in the z-axis direction of the system three-dimensional coordinate system of Ansys;
[0023] Calculating the number of elevations of each of the second shell unit sets based on the wall height difference and the universal section spacing;
[0024] The cross-sectional spacing of each set of second shell elements is obtained by dividing the wall height difference of each set of second shell elements by the corresponding number of elevations.
[0025] Further, the step of calculating the wall height difference corresponding to each of the second shell element sets in the z-axis direction of the system three-dimensional coordinate system of Ansys includes: for each of the second shell element sets:
[0026] Traversing the heights of all nodes of all shell elements in the z-axis direction of the Ansys system three-dimensional coordinate system, screening out the maximum height as the first height, and the minimum height as the second height;
[0027] The first height and the second height are preprocessed, and the wall height difference of the wall corresponding to the second shell unit set in the z-axis direction of the system three-dimensional coordinate system of Ansys is calculated based on the preprocessed first height and the preprocessed second height.
[0028] Furthermore, the step of calculating the number of elevations of each set of second shell elements based on the wall height difference and the universal section spacing includes:
[0029] The number of elevations n of the second shell element set i is calculated according to the following formula: i :
[0030]
[0031] in, Represents the rounding down operation, Z imax represents the first height of the i-th set of the second shell elements, Z imin represents the second height of the i-th set of the second shell elements, buff t Represents the first reserved length, buff b represents the second reserved length, and Δz represents the general cross-section spacing.
[0032] Furthermore, for each of the cross-sectional elevations, the step of calculating a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation as the third shell element set corresponding to the cross-sectional elevation includes:
[0033] Traversing all the shell elements in the second shell element set, obtaining the maximum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element maximum height of the shell element, and obtaining the minimum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element minimum height of the shell element;
[0034] For each section elevation, all shell elements in the corresponding second shell element set whose maximum unit height is not less than the section elevation and whose minimum unit height is not greater than the section elevation are selected as the third shell element set corresponding to the section elevation.
[0035] Furthermore, the step of generating a plurality of wall design sections according to all the third shell element sets corresponding to the second shell element set includes:
[0036] For each of the cross-sectional elevations corresponding to the second shell element set, calculate two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation;
[0037] Based on the system three-dimensional coordinate system of Ansys, all the shell elements in the third shell element set are sorted according to the positions of the corresponding intersection points to obtain the sorted third shell element set corresponding to the section elevation;
[0038] Dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set;
[0039] A wall design section is determined according to the intersection points of all the shell elements in each of the fourth shell element sets.
[0040] Furthermore, for each of the cross-sectional elevations corresponding to the second shell element set, the step of calculating two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation comprises:
[0041] For each of the cross-sectional elevations corresponding to the second shell element set, according to the coordinates of each node of each of the shell elements in the third shell element set corresponding to the cross-sectional elevation in the system three-dimensional coordinate system, determine the edge where the shell element intersects with the imaginary horizontal plane corresponding to the cross-sectional elevation as the intersection edge of the shell element;
[0042] Based on the intersection edge, two intersection points where the shell element intersects the imaginary horizontal plane are calculated respectively according to a linear interpolation method.
[0043] Furthermore, the step of sorting all the shell elements in the third shell element set according to the positions of the corresponding intersection points based on the system three-dimensional coordinate system of Ansys to obtain the sorted third shell element set corresponding to the section elevation includes:
[0044] The coordinates of the two intersection points of all the shell elements in the third shell element set are converted from the system three-dimensional coordinate system of Ansys to coordinates in a local coordinate system, wherein the local coordinate system is a coordinate system pre-constructed for each wall, and the values of only one coordinate axis of the two intersection points in the local coordinate system are different;
[0045] For each of the two intersection points of the shell element in the third shell element set, compare their coordinates in the local coordinate system, take the intersection point with the smaller coordinate as the first intersection point of the shell element, and take the intersection point with the larger coordinate as the second intersection point of the shell element;
[0046] All the shell elements in the third shell element set are sorted according to the coordinates of the first intersection points corresponding to them in the local coordinate system to obtain a sorted third shell element set corresponding to the section elevation.
[0047] Furthermore, the step of dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set comprises:
[0048] Traverse all the shell elements in the sorted third shell element set, and determine the coordinates of the intersection points corresponding to all two adjacent shell elements in the local coordinate system:
[0049] If any intersection point of any of the shell elements does not have the same coordinates as any intersection point of another shell element, a split point is set between the two adjacent shell elements, and the sorted third shell element set is divided into at least two fourth shell element sets according to the split point;
[0050] Otherwise, the third shell element set is taken as its corresponding fourth shell element set.
[0051] Furthermore, the step of determining a wall design section according to the intersection points of all the shell elements in each of the fourth shell element sets includes:
[0052] For each of the fourth shell element sets, all the intersection points of all the shell elements therein are taken as an intersection point set, and the position of a wall design section is determined according to the intersection point set, and the wall design section does not exceed the intersection point set;
[0053] The thickness of the wall design section is determined using the thickness parameters of each shell element recorded in Ansys.
[0054] The second aspect of the present invention discloses a system for generating a wall design section based on Ansys, comprising:
[0055] A first calculation unit is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on a first shell element set and a plurality of second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one of the walls;
[0056] A second calculation unit, configured to calculate a plurality of cross-sectional elevations corresponding to each second shell element based on the cross-sectional spacing corresponding to the second shell element;
[0057] A third calculation unit is used for calculating, for each of the cross-sectional elevations of each of the second shell elements, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, as a third shell element set corresponding to the cross-sectional elevation;
[0058] A generating unit is used to generate a plurality of wall design sections according to a set of all the third shell elements corresponding to each of the second shell elements.
[0059] The third aspect of the present invention discloses a storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the steps of the method for generating a wall design section based on Ansys as described in any one of the items disclosed in the first aspect of the present invention are implemented.
[0060] In the process of generating the wall design section, the method of the present invention realizes the process of automatically generating the wall design section by using the shell unit set pre-generated based on Ansys and the calculated section spacing. Compared with the existing method based on design experience and manual definition, the method of the present invention is efficient and accurate. The shell unit set that intersects the calculated section elevation and the imaginary horizontal plane can cover all areas of the nuclear island civil structure, avoiding the possibility of unreasonable selection of parts. This method of automatically generating wall design sections improves design efficiency, reduces the possibility of errors, meets the design schedule requirements of the nuclear island civil structure engineering, and reduces the influence of human factors in the design process. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0062] Figure 1 is a schematic diagram of a quadrilateral shell unit disclosed in an embodiment of the present invention;
[0063] Figure 2 is a schematic diagram of a wall design cross section disclosed in an embodiment of the present invention;
[0064] Figure 3 It is a flow chart of a method for generating a wall design section based on Ansys disclosed in an embodiment of the present invention;
[0065] Figure 4 It is a schematic diagram of the cross-sectional elevation of a wall and its corresponding wall design cross-sectional elevation disclosed in an embodiment of the present invention;
[0066] Figure 5 It is a schematic diagram of the intersection of an imaginary horizontal plane corresponding to the cross-section elevation disclosed in an embodiment of the present invention and the shell elements of the second shell element set;
[0067] Figure 6 It is a schematic diagram of the intersection of an imaginary horizontal plane corresponding to the cross-section elevation disclosed in an embodiment of the present invention and a shell unit;.
[0068] Figure 7 It is a schematic diagram of the relationship between the wall design section and the intersection point of the shell unit corresponding to the section elevation disclosed in the embodiment of the present invention;
[0069] Figure 8 It is a structural diagram of a system for generating a wall design section based on Ansys disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0070] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0071] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, or product end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0072] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0073] In view of the problems in the existing nuclear island civil structure design that the controlling parts in the design are manually screened out based on design experience and then the wall design section is "manually" defined, there is a possibility of unreasonable selected parts, it is difficult to cover all areas of the nuclear island civil structure, and the efficiency is low and prone to errors. The present invention solves the shortcomings of the existing practice. Under the premise of ensuring that the definition of the wall design section is accurate and complete, the design efficiency is greatly improved to meet the requirements of the engineering design schedule and reduce the manpower cost of designers.
[0074] Before explaining the specific steps of the method provided by the present invention, some professional terms used in the present invention are explained as follows:
[0075] Ansys: A finite element analysis software widely used in the engineering field, used for simulation analysis of multi-physics coupling such as structure, fluid, heat conduction, electromagnetic field, etc. Ansys provides powerful modeling and simulation tools that can be used for design optimization, performance evaluation and virtual prototype testing.
[0076] Shell element: A finite element type used to simulate the bending and shear behavior of walls. Shell elements can be quadrilateral or triangular. Figure 1 A quadrilateral shell element is shown, which has four nodes I, J, K, and L, and four edges IJ, JK, KL, and IL. When it is a triangular element, the K and L nodes coincide. The unit length internal force parallel to the plane of the shell element that causes shear deformation in the output internal force of the shell element is the shear force in the plane of the shell element, that is, Figure 1 N xy .
[0077] The three-dimensional coordinate system of Ansys: the z-axis is opposite to the direction of gravity, one side of the building in the horizontal plane is the x-axis, and the direction perpendicular to the x-axis in the horizontal plane is the y-axis. The origin is not limited. In the embodiment of the inventor, the end point of one side of the building in the horizontal plane is used as the origin.
[0078] Local coordinate system: Each second shell unit set has a corresponding local coordinate system, with the opposite direction of the gravity direction as the x-axis or y-axis of the local coordinate system, the plane where any shell unit in the second shell unit set is located as the xy plane, and the direction perpendicular to the gravity direction in the xy plane as the y-axis or x-axis of the local coordinate system. When the x-axis or y-axis of the local coordinate system is determined, the z-axis of the local coordinate system is determined according to the right-hand rule. The origin of the local coordinate system is not limited. In the embodiment of the inventor, the node of any shell unit in the second shell unit set is used as the origin, and the opposite direction of the gravity direction is used as the y-axis of the local coordinate system.
[0079] Wall design section: A section across several shell elements and parallel to the x-axis of the local coordinate system used for shear design in the wall plane, such as Figure 2 shown.
[0080] The following is an explanation of the detailed steps of the method provided by the present invention in conjunction with a specific embodiment. In this embodiment, all shell elements are exemplified by quadrilateral shell elements. The principle of triangular shell elements is the same as that of quadrilateral shell elements. Based on the explanation of this embodiment, those skilled in the art can deduce a processing method for triangular shell elements.
[0081] See also Figure 3 As shown, Figure 3 FIG. 1 is a flow chart of a method for generating a wall design section based on Ansys disclosed in an embodiment of the present invention. Figure 3 As shown, the method for generating the wall design section based on Ansys may include the following operations:
[0082] S301, based on a first shell element set and a plurality of second shell element sets, calculating a cross-sectional spacing corresponding to each of the second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one wall;
[0083] In an optional embodiment, the shell units belonging to the same wall among all the shell units in the first shell unit set are assigned the same wall number, the shell units corresponding to each wall have different wall numbers, and the second shell unit set is a set of shell units with the same wall number.
[0084] In an optional embodiment, the step of calculating the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and the plurality of second shell element sets comprises:
[0085] Based on the first set of shell elements, calculate the general section spacing;
[0086] Based on the general section spacing and each second shell element set, the section spacing corresponding to each second shell element set is calculated.
[0087] It can be seen that this optional embodiment more accurately determines the section spacing corresponding to each second shell element set by calculating the general section spacing, thereby improving the accuracy and efficiency of section generation.
[0088] In a further optional embodiment, the step of calculating the general section spacing based on the first shell element set includes:
[0089] Calculating the element height difference of all the shell elements in the first shell element set in the z-axis direction of the system three-dimensional coordinate system of Ansys;
[0090] Filtering all the unit height differences to obtain the minimum unit height difference;
[0091] The common section spacing is calculated based on the minimum unit height difference.
[0092] For example: Please refer to Table 1, which shows all the shell elements E in the second shell element set corresponding to the i-th wall. i,1 -E i,m The coordinates of the corresponding nodes in the Ansys system three-dimensional coordinate system.
[0093] Table 1 Coordinates of shell element nodes in the 3D coordinate system of Ansys
[0094]
[0095] For shell elements E i,j The unit height difference Δ ij for:
[0096] Δ ij =max(|E i_j_J_z -E i_j_I_z |,|E i,j_K_z -E i,j_J_z ||,|E i,j_L_z -E i,j_K_z |,|E i,j_L_z -E i,j_I_z |);
[0097] Among them, E i,j_I_z , E i,j_J_z , E i,j_K_z , E i,j_L_z Represents the shell element E i,j The coordinate values of the I node, J node, K node, and L node on the z axis of the 3D coordinate system of Ansys. || indicates the absolute value calculation. The shell element E i,j The four nodes are Figure 1 shown.
[0098] Traverse the unit height differences of all shell elements in the first shell element set and obtain the minimum unit height difference d i ;
[0099] According to the minimum unit height difference d i , calculate the common section spacing.
[0100] It can be seen that this optional embodiment calculates the universal section spacing by calculating the unit height difference of all shell units in the z-axis direction in Ansys, which can better adapt to various wall designs and improve the versatility and applicability of the method.
[0101] In a further optional embodiment, the step of calculating the universal cross-section spacing according to the minimum unit height difference includes:
[0102] The minimum unit height difference is multiplied by a preset spacing ratio to obtain a universal section spacing.
[0103] Then the general section spacing Δz is:
[0104] Δz=α×d i ,0<α<1;
[0105] Wherein, α is the spacing ratio, and in this embodiment, the value of α is 0.8.
[0106] It can be seen that this optional embodiment calculates the common cross-sectional spacing by multiplying the minimum unit height difference by the preset spacing ratio, and adjusts the cross-sectional spacing more flexibly to adapt to different design requirements.
[0107] In a further optional embodiment, the step of calculating the section spacing corresponding to each second shell element set based on the general section spacing and each second shell element set comprises:
[0108] Calculate the wall height difference of the wall corresponding to each of the second shell unit sets in the z-axis direction of the system three-dimensional coordinate system of Ansys;
[0109] Calculating the number of elevations of each of the second shell unit sets based on the wall height difference and the universal section spacing;
[0110] The cross-sectional spacing of each set of second shell elements is obtained by dividing the wall height difference of each set of second shell elements by the corresponding number of elevations.
[0111] It can be seen that this optional embodiment calculates the wall height difference corresponding to each second shell unit set in the z-axis direction of the Ansys system three-dimensional coordinate system, and calculates the number of elevations of each second shell unit set based on the wall height difference and the general section spacing. In this way, the section spacing of each second shell unit set can be determined more accurately, thereby improving the accuracy and efficiency of section generation.
[0112] In a further optional embodiment, the step of calculating the wall height difference of the wall corresponding to each of the second shell element sets in the z-axis direction of the Ansys system three-dimensional coordinate system includes: for each of the second shell element sets:
[0113] Traversing the heights of all nodes of all shell elements in the z-axis direction of the Ansys system three-dimensional coordinate system, screening out the maximum height as the first height, and the minimum height as the second height;
[0114] The first height and the second height are preprocessed, and the wall height difference of the wall corresponding to the second shell unit set in the z-axis direction of the system three-dimensional coordinate system of Ansys is calculated based on the preprocessed first height and the preprocessed second height.
[0115] For example, the calculation method of the wall height difference of the second shell unit set corresponding to the i-th wall is: traverse the coordinates of all nodes of the shell elements in all the second shell unit sets on the z-axis of the Ansys system three-dimensional coordinate system, select the maximum value as the first height, and select the minimum value as the second height.
[0116] It can be seen that this optional embodiment can more accurately calculate the wall height difference by traversing and screening the heights of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system, thereby improving the calculation accuracy of the cross-sectional spacing.
[0117] In a further optional embodiment, the step of calculating the number of elevations of each set of second shell elements based on the wall height difference and the universal section spacing includes:
[0118] The number of elevations n of the second shell element set i is calculated according to the following formula: i :
[0119]
[0120] in, Represents the rounding down operation, Z imax represents the first height of the i-th set of the second shell elements, Z imin represents the second height of the i-th set of the second shell elements, bufft Represents the first reserved length, buff b represents the second reserved length, and Δz represents the general cross-section spacing.
[0121] In this optional embodiment, the first reserved length and the second reserved length may be equal or unequal. In this embodiment, the first reserved length and the second reserved length are both 0.5.
[0122] In this optional embodiment, the cross-sectional spacing Δd of the i-th set of the second shell elements is i for:
[0123] Δd i =(Z imax -Z imin -buff t -buff b ) / n i .
[0124] It can be seen that this optional embodiment prevents the wall design section from being generated at the top or bottom of the wall through the first reserved length and the second reserved length, so that the design layout of the wall design section is more reasonable.
[0125] S302, for each set of the second shell elements, based on the corresponding cross-sectional spacing, calculate a plurality of cross-sectional elevations;
[0126] In an optional embodiment, the second height of the wall plus the second reserved length is taken as the lowest section elevation H1:
[0127] H1=Z imin +buff b ;
[0128] Then the elevations of the other sections of the wall from low to high are: H2 = H1 + Δd i ,H3=H1+2×Δd i , …, like Figure 4 As shown, each wall design section corresponds to a section elevation.
[0129] S303, for each of the cross-sectional elevations, calculate and obtain a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, as a third shell element set corresponding to the cross-sectional elevation;
[0130] In an optional embodiment, the step of calculating, for each of the cross-sectional elevations, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation as the third shell element set corresponding to the cross-sectional elevation comprises:
[0131] Traversing all the shell elements in the second shell element set, obtaining the maximum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element maximum height of the shell element, and obtaining the minimum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element minimum height of the shell element;
[0132] For each section elevation, all shell elements in the corresponding second shell element set whose maximum unit height is not less than the section elevation and whose minimum unit height is not greater than the section elevation are selected as the third shell element set corresponding to the section elevation.
[0133] Example: For shell element E i,j , the maximum height of its unit is max i,j_z for:
[0134] max i,j_z =max(E i,j_I_z , E i,j_J_z , E i,j_K_z , E i,j_L_z );
[0135] The minimum height of its unit min i,j_z for:
[0136] min i,j_z =min(E i,j_I_z ,E i,j_J_z , E i,j_K_z , E i,j_L_z );
[0137] For the j-th section elevation H of the i-th wall i,j , and the corresponding third shell element sets all satisfy:
[0138] min i,j_z ≤H i,j ≤max i,j_z .
[0139] S304: Generate multiple wall design sections according to all the third shell element sets corresponding to the second shell element set.
[0140] In an optional embodiment, the step of generating a plurality of wall design sections according to all the third shell element sets corresponding to the second shell element set includes:
[0141] For each of the cross-sectional elevations corresponding to the second shell element set, calculate two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation;
[0142] Based on the system three-dimensional coordinate system of Ansys, all the shell elements in the third shell element set are sorted according to the positions of the corresponding intersection points to obtain the sorted third shell element set corresponding to the section elevation;
[0143] Dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set;
[0144] A wall design section is determined according to the intersection points of all the shell elements in each of the fourth shell element sets.
[0145] like Figure 5 As shown in the figure, the imaginary horizontal plane corresponding to the section elevation is a virtual plane parallel to the horizontal plane, and its height is the same as the section elevation in the 3D coordinate system of Ansys.
[0146] In an optional embodiment, for each of the cross-sectional elevations corresponding to the second shell element set, the step of calculating two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation comprises:
[0147] For each of the cross-sectional elevations corresponding to the second shell element set, according to the coordinates of each node of each of the shell elements in the third shell element set corresponding to the cross-sectional elevation in the system three-dimensional coordinate system, determine the edge where the shell element intersects with the imaginary horizontal plane corresponding to the cross-sectional elevation as the intersection edge of the shell element;
[0148] Based on the intersection edge, two intersection points where the shell element intersects the imaginary horizontal plane are calculated respectively according to a linear interpolation method.
[0149] Example: For section elevation H i,j and shell element E i,j When the following conditions are met at the same time, the shell element E i,j The side IJ and the section elevation H i,j The corresponding imaginary horizontal planes intersect:
[0150]
[0151] min(E i,j_I_z , E i,j_J_z )≠max(E i,j_I_z , E i,j_J_z );
[0152] like Figure 6 As shown, the section elevation H i,jAn example of the intersection of the corresponding imaginary horizontal plane and a shell element in the third shell element set, which intersects with the edges IL and JK. The coordinates of the intersection point 1 can be calculated by linear interpolation based on the coordinate values of the nodes I and L of the shell element in the Ansys system three-dimensional coordinate system; the coordinates of the intersection point 2 can be calculated by linear interpolation based on the coordinate values of the nodes J and K of the element in the Ansys system three-dimensional coordinate system.
[0153] In an optional embodiment, the step of sorting all the shell elements in the third shell element set according to the positions of the corresponding intersection points based on the Ansys system three-dimensional coordinate system to obtain the sorted third shell element set corresponding to the section elevation includes:
[0154] The coordinates of the two intersection points of all the shell elements in the third shell element set are converted from the system three-dimensional coordinate system of Ansys to coordinates in a local coordinate system, wherein the local coordinate system is a coordinate system pre-constructed for each wall, and the values of only one coordinate axis of the two intersection points in the local coordinate system are different;
[0155] For each of the two intersection points of the shell element in the third shell element set, compare their coordinates in the local coordinate system, take the intersection point with the smaller coordinate as the first intersection point of the shell element, and take the intersection point with the larger coordinate as the second intersection point of the shell element;
[0156] All the shell elements in the third shell element set are sorted according to the coordinates of the first intersection points corresponding to them in the local coordinate system to obtain a sorted third shell element set corresponding to the section elevation.
[0157] Based on the design of the local coordinate system, those skilled in the art can understand that all intersection points of all the shell elements in the third shell element set have only different x-axis coordinates in the local coordinate system.
[0158] In this optional embodiment, all the shell elements in the third shell element set are sorted according to the coordinates of their corresponding first intersection coordinates in the local coordinate system, which can be either ascending or descending order.
[0159] In an optional embodiment, the step of dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set comprises:
[0160] Traverse all the shell elements in the sorted third shell element set, and determine the coordinates of the intersection points corresponding to all two adjacent shell elements in the local coordinate system:
[0161] If any intersection point of any of the shell elements does not have the same coordinates as any intersection point of another shell element, a split point is set between the two adjacent shell elements, and the sorted third shell element set is divided into at least two fourth shell element sets according to the split point;
[0162] Otherwise, the third shell element set is taken as its corresponding fourth shell element set.
[0163] In this optional embodiment, the coordinates of the four intersection points of two adjacent shell elements in the sorted third shell element set are all different, indicating that there is a hole between the two adjacent shell elements, and a split point is set between the two shell elements to represent the hole, and the third shell element set is divided into a plurality of fourth shell element sets based on the split point. Finally, the number of fourth shell element sets in a third shell element set is the number of its split points plus one.
[0164] In an optional embodiment, the step of determining a wall design section according to the intersection points of all the shell elements in each of the fourth shell element sets comprises:
[0165] For each of the fourth shell element sets, all the intersection points of all the shell elements therein are taken as an intersection point set, and the position of a wall design section is determined according to the intersection point set, and the wall design section does not exceed the intersection point set;
[0166] The thickness of the wall design section is determined using the thickness parameters of each shell element recorded in Ansys.
[0167] like Figure 7 As shown, the section elevation H i,j After the corresponding imaginary horizontal plane intersects with all shell elements in the third shell element set, since there is only one opening, the third shell element set corresponds to two fourth shell element sets, and the intersection of all shell elements in each fourth shell element set constitutes a wall design section. i,j The height of the wall design section in the 3D coordinate system of Ansys can be determined; the length of the wall design section can be determined based on the intersection coordinates of all shell elements in the fourth shell element set.
[0168] like Figure 8 As shown, the present invention provides a system for generating a wall design section based on Ansys, comprising:
[0169] A first calculation unit 801 is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on a first shell element set and a plurality of second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one wall;
[0170] A second calculation unit 802 is used to calculate a plurality of cross-sectional elevations corresponding to each second shell element based on the cross-sectional spacing corresponding to the second shell element;
[0171] The third calculation unit 803 is used for calculating, for each of the cross-sectional elevations of each of the second shell elements, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, as a third shell element set corresponding to the cross-sectional elevation;
[0172] The generating unit 804 is used to generate a plurality of wall design sections according to a set of all the third shell elements corresponding to each of the second shell elements.
[0173] For the specific definition of the generation system of the wall design section based on Ansys, please refer to the definition of the generation method of the wall design section based on Ansys above, which will not be repeated here. Each module in the above-mentioned generation system of the wall design section based on Ansys can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in hardware format, or can be stored in the memory of the electronic device in software format, so that the processor can call the corresponding operations of each of the above modules.
[0174] It should be noted that, in order to highlight the innovative part of the present invention, the present embodiment does not introduce modules that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other modules in the present embodiment.
[0175] In one embodiment, the present invention provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the above-mentioned method for generating a wall design section based on Ansys can also be implemented.
[0176] In summary, the present invention discloses a method, medium and system for generating wall design sections based on Ansys. In the process of generating the wall design sections, the process of automatically generating the wall design sections is realized by using a set of shell units pre-generated based on Ansys and the calculated section spacing. Compared with the existing methods based on design experience and manual definition, the method of the present invention is efficient and accurate. The set of shell units that intersect the calculated section elevation and the imaginary horizontal plane can cover all areas of the nuclear island civil engineering structure, avoiding the possibility of unreasonable selection of parts. This method of automatically generating wall design sections improves design efficiency, reduces the possibility of errors, meets the design progress requirements of the nuclear island civil engineering structure engineering, and reduces the influence of human factors in the design process. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0177] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for generating a wall design section based on Ansys, characterized in that: The method comprises: Based on a first shell element set and a plurality of second shell element sets, calculating the cross-sectional spacing corresponding to each of the second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one of the walls; For each of the second shell element sets: Based on the corresponding section spacing, multiple section elevations are calculated; For each of the cross-sectional elevations, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation are calculated as a third shell element set corresponding to the cross-sectional elevation; A plurality of wall design sections are generated according to all the third shell element sets corresponding to the second shell element set.
2. The method for generating a wall design section based on Ansys according to claim 1, characterized in that: The step of calculating the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and the plurality of second shell element sets comprises: Based on the first set of shell elements, calculate the general section spacing; Based on the general section spacing and each second shell element set, the section spacing corresponding to each second shell element set is calculated.
3. The method for generating a wall design section based on Ansys according to claim 2, characterized in that: The step of calculating the general section spacing based on the first shell element set comprises: Calculating the element height difference of all the shell elements in the first shell element set in the z-axis direction of the system three-dimensional coordinate system of Ansys; Filtering all the unit height differences to obtain the minimum unit height difference; The common section spacing is calculated based on the minimum unit height difference.
4. The method for generating a wall design section based on Ansys according to claim 3, characterized in that: The step of calculating the general section spacing according to the minimum unit height difference comprises: The minimum unit height difference is multiplied by a preset spacing ratio to obtain a universal section spacing.
5. The method for generating a wall design section based on Ansys according to claim 2, characterized in that: The step of calculating the section spacing corresponding to each of the second shell element sets based on the general section spacing and each of the second shell element sets comprises: Calculate the wall height difference of the wall corresponding to each of the second shell unit sets in the z-axis direction of the system three-dimensional coordinate system of Ansys; Calculating the number of elevations of each of the second shell unit sets based on the wall height difference and the universal section spacing; The cross-sectional spacing of each set of second shell elements is obtained by dividing the wall height difference of each set of second shell elements by the corresponding number of elevations.
6. The method for generating a wall design section based on Ansys according to claim 5, characterized in that: The step of calculating the wall height difference of the wall corresponding to each of the second shell element sets in the z-axis direction of the system three-dimensional coordinate system of Ansys includes: for each of the second shell element sets: Traversing the heights of all nodes of all shell elements in the z-axis direction of the Ansys system three-dimensional coordinate system, screening out the maximum height as the first height, and the minimum height as the second height; The first height and the second height are preprocessed, and the wall height difference of the wall corresponding to the second shell unit set in the z-axis direction of the system three-dimensional coordinate system of Ansys is calculated based on the preprocessed first height and the preprocessed second height.
7. The method for generating a wall design section based on Ansys according to claim 6, characterized in that: The step of calculating the number of elevations of each set of second shell elements based on the wall height difference and the universal section spacing comprises: The number of elevations n of the second shell element set i is calculated according to the following formula: i : in, Represents the rounding down operation, Z imax represents the first height of the i-th set of the second shell elements, Z imin represents the second height of the i-th set of the second shell elements, bufft t Represents the first reserved length, buff b represents the second reserved length, and Δz represents the general cross-section spacing.
8. The method for generating a wall design section based on Ansys according to claim 1, characterized in that: The step of calculating, for each of the cross-sectional elevations, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation as the third shell element set corresponding to the cross-sectional elevation comprises: Traversing all the shell elements in the second shell element set, obtaining the maximum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element maximum height of the shell element, and obtaining the minimum height of all nodes of each shell element in the z-axis direction of the system three-dimensional coordinate system of Ansys as the element minimum height of the shell element; For each section elevation, all shell elements in the corresponding second shell element set whose maximum unit height is not less than the section elevation and whose minimum unit height is not greater than the section elevation are selected as the third shell element set corresponding to the section elevation.
9. The method for generating a wall design section based on Ansys according to claim 1, characterized in that: The step of generating a plurality of wall design sections according to all the third shell element sets corresponding to the second shell element set comprises: For each of the cross-sectional elevations corresponding to the second shell element set, calculate two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation; Based on the system three-dimensional coordinate system of Ansys, all the shell elements in the third shell element set are sorted according to the positions of the corresponding intersection points to obtain the sorted third shell element set corresponding to the section elevation; Dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set; A wall design section is determined according to the intersection points of all the shell elements in each of the fourth shell element sets.
10. The method for generating a wall design section based on Ansys according to claim 9, characterized in that: The step of calculating, for each of the cross-sectional elevations corresponding to the second shell element set, two intersection points where all the shell elements in the third shell element set corresponding to the cross-sectional elevation intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation comprises: For each of the cross-sectional elevations corresponding to the second shell element set, according to the coordinates of each node of each of the shell elements in the third shell element set corresponding to the cross-sectional elevation in the system three-dimensional coordinate system, determine the edge where the shell element intersects with the imaginary horizontal plane corresponding to the cross-sectional elevation as the intersection edge of the shell element; Based on the intersection edge, two intersection points where the shell element intersects the imaginary horizontal plane are calculated respectively according to a linear interpolation method.
11. The method for generating a wall design section based on Ansys according to claim 9, characterized in that: The step of sorting all the shell elements in the third shell element set according to the positions of the corresponding intersection points based on the Ansys system three-dimensional coordinate system to obtain the sorted third shell element set corresponding to the section elevation comprises: The coordinates of the two intersection points of all the shell elements in the third shell element set are converted from the system three-dimensional coordinate system of Ansys to coordinates in a local coordinate system, wherein the local coordinate system is a coordinate system pre-constructed for each wall, and the values of only one coordinate axis of the two intersection points in the local coordinate system are different; For each of the two intersection points of the shell element in the third shell element set, compare their coordinates in the local coordinate system, take the intersection point with the smaller coordinate as the first intersection point of the shell element, and take the intersection point with the larger coordinate as the second intersection point of the shell element; All the shell elements in the third shell element set are sorted according to the coordinates of the first intersection points corresponding to them in the local coordinate system to obtain a sorted third shell element set corresponding to the section elevation.
12. The method for generating a wall design section based on Ansys according to claim 11, characterized in that: The step of dividing the sorted third shell element set into a plurality of fourth shell element sets according to the positional relationship between the intersection points of two adjacent shell elements in the sorted third shell element set comprises: Traverse all the shell elements in the sorted third shell element set, and determine the coordinates of the intersection points corresponding to all two adjacent shell elements in the local coordinate system: If any intersection point of any of the shell elements does not have the same coordinates as any intersection point of another shell element, a split point is set between the two adjacent shell elements, and the sorted third shell element set is divided into at least two fourth shell element sets according to the split point; Otherwise, the third shell element set is taken as its corresponding fourth shell element set.
13. The method for generating a wall design section based on Ansys according to claim 9, characterized in that: The step of determining a wall design section according to the intersection points of all the shell elements in each of the fourth shell element sets comprises: For each of the fourth shell element sets, all the intersection points of all the shell elements therein are taken as an intersection point set, and the position of a wall design section is determined according to the intersection point set, and the wall design section does not exceed the intersection point set; The thickness of the wall design section is determined using the thickness parameters of each shell element recorded in Ansys.
14. A system for generating wall design sections based on Ansys, characterized in that: include: A first calculation unit is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on a first shell element set and a plurality of second shell element sets, wherein the first shell element set is a set of all shell elements corresponding to all the walls pre-generated based on Ansys, and the second shell element set is a set of all shell elements corresponding to one of the walls; A second calculation unit, configured to calculate a plurality of cross-sectional elevations corresponding to each second shell element based on the cross-sectional spacing corresponding to the second shell element; A third calculation unit is used for calculating, for each of the cross-sectional elevations of each of the second shell elements, a plurality of the shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, as a third shell element set corresponding to the cross-sectional elevation; A generating unit is used to generate a plurality of wall design sections according to a set of all the third shell elements corresponding to each of the second shell elements.
15. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for generating a wall design section based on Ansys as claimed in any one of claims 1 to 13 are implemented.
Citation Information
Patent Citations
A reinforcement design method for a reinforced concrete member with an arbitrary cross-section
CN108984869A