Methods, media, and systems for generating wall design sections based on Ansys
By calculating the cross-sectional spacing and elevation of the shell element set in Ansys, the wall design cross-section of the core island civil structure is automatically generated, solving the problems of unreasonable and inefficient manual definition and achieving efficient and accurate design coverage.
Patent Information
- Application Number
- CN202411394463.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-10-08
AI Technical Summary
In the design of nuclear island civil structures, existing technologies may lead to unreasonable wall design sections due to the possibility of manual definition, difficulty in covering all areas, low efficiency, and susceptibility to errors, and they cannot meet the requirements of the engineering design schedule.
By using Ansys-based methods, the cross-sectional spacing and elevation of shell element sets are calculated, automatically generating wall design cross-sections to ensure coverage of all areas and improve efficiency.
It enables efficient and accurate generation of wall design sections, reduces the impact of human factors, and meets the design schedule requirements of the nuclear island civil engineering structure.
Smart Images

Figure CN119358085B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of nuclear island civil engineering structure design, specifically to a method, medium, and system for generating wall design sections based on Ansys. Background Technology
[0002] The civil engineering structure of the nuclear island is usually analyzed 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-physics coupling such as structure, fluid, heat conduction, and electromagnetic field. It provides powerful modeling and simulation tools and can be used for design optimization, performance evaluation and virtual prototype testing.
[0003] The wall components of the nuclear island civil structure are simulated using shell elements based on Ansys, and the output is the internal force of the shell elements. However, the design code requires the wall components to be designed for in-plane shear resistance based on the horizontal design section. This requires defining the horizontal design section of the wall (hereinafter referred to as the wall design section) and integrating and summing the in-plane shear forces of the shell elements along the wall design section to obtain the required in-plane shear force of the wall design section. To meet process requirements, the nuclear island civil structure walls have numerous and irregularly distributed openings, resulting in a large number of wall design sections that need to be defined and their distribution is irregular. At the same time, to meet the safety requirements of the nuclear island civil structure, it is necessary to conduct in-plane shear capacity assessments of all areas of the nuclear island civil structure walls. This also requires that the defined wall design sections cover all areas of the nuclear island civil structure walls, meaning that each shell element must have a wall design section passing through it, which brings certain difficulties to the definition of the wall design sections.
[0004] The current method of selecting certain controllable parts based on design experience and manually defining the wall design sections has several drawbacks. First, the selected parts may be unreasonable and cannot cover all areas of the nuclear island civil structure. Second, manually defining the wall design sections is inefficient, error-prone, and difficult to meet the design schedule requirements of the nuclear island civil structure project. Summary of the Invention
[0005] To address the aforementioned issues, this invention provides a method, medium, and system for generating wall design sections based on Ansys.
[0006] The first aspect of this invention discloses a method for generating wall design sections based on Ansys, comprising:
[0007] Based on the first set of shell elements and multiple sets of second shell elements, the cross-sectional spacing corresponding to each set of second shell elements is calculated. The first set of shell elements is the set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second set of shell elements is the set of all shell elements corresponding to one wall.
[0008] For each set of the second shell units:
[0009] Based on the corresponding cross-sectional spacing, multiple cross-sectional elevations are calculated;
[0010] For each cross-sectional elevation, a plurality of shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation are calculated, and these shell elements are used as the third shell element set corresponding to the cross-sectional elevation.
[0011] Multiple wall design sections are generated based on all the third shell unit sets corresponding to the second shell unit 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 multiple second shell element sets includes:
[0013] Calculate the general section spacing based on the first shell element set;
[0014] Based on the general cross-sectional spacing and each set of second shell elements, the cross-sectional spacing corresponding to each set of second shell elements is calculated.
[0015] Furthermore, the step of calculating the general cross-sectional spacing based on the first shell element set includes:
[0016] Calculate the element height difference of all shell elements in the first shell element set along the z-axis in the Ansys system's three-dimensional coordinate system;
[0017] The minimum unit height difference is obtained by filtering from all the said unit height differences;
[0018] Calculate the general section spacing based on the minimum unit height difference.
[0019] Furthermore, the step of calculating the general section spacing based on the minimum unit height difference includes:
[0020] Multiply the minimum unit height difference by a preset spacing ratio to obtain the general cross-sectional spacing.
[0021] Furthermore, the step of calculating the cross-sectional spacing corresponding to each second shell element set based on the general cross-sectional spacing and each second shell element set includes:
[0022] Calculate the wall height difference in the z-axis direction of the wall corresponding to each second shell element set in the Ansys system three-dimensional coordinate system;
[0023] Based on the wall height difference and the general cross-sectional spacing, calculate the number of elevations for each second shell unit set;
[0024] The cross-sectional spacing of each second shell unit set is obtained by dividing the wall height difference of each second shell unit set by the corresponding elevation number.
[0025] Furthermore, the step of calculating the wall height difference in the z-axis direction of the Ansys system's three-dimensional coordinate system corresponding to each second shell element set includes: for each second shell element set:
[0026] Iterate through the heights of all nodes of all shell elements in the z-axis direction of the Ansys system's three-dimensional coordinate system, filter 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 height difference of the wall corresponding to the second shell unit set in the z-axis direction of the Ansys system three-dimensional coordinate system is calculated based on the preprocessed first height and the preprocessed second height.
[0028] Furthermore, the step of calculating the number of elevations for each of the second shell unit sets based on the wall height difference and the general cross-sectional spacing includes:
[0029] Calculate the first according to the following formula. Number of elevations of the second shell unit set :
[0030] ;
[0031] in, This represents the rounding down operation. Representing the The first height of the second set of shell units, Representing the The second height of the second set of shell units, Represents the first reserved length. This represents the second reserved length. This represents the general cross-sectional spacing.
[0032] Furthermore, the step of calculating, for each cross-sectional elevation, multiple shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, and using these as the third shell element set corresponding to the cross-sectional elevation, includes:
[0033] Traverse all the shell elements in the second shell element set, obtain the maximum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the maximum height of the shell element, and obtain the minimum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the minimum height of the shell element.
[0034] For each cross-sectional elevation, select the shell elements in the corresponding second shell element set whose maximum height is not less than the cross-sectional elevation and whose minimum height is not greater than the cross-sectional elevation, and use them as the third shell element set corresponding to that cross-sectional elevation.
[0035] Furthermore, the step of generating multiple wall design sections based on all the third shell element sets corresponding to the second shell element set includes:
[0036] For each cross-sectional elevation corresponding to the second set of shell elements, calculate the two intersection points between all shell elements in the third set of shell elements corresponding to the cross-sectional elevation and the imaginary horizontal plane corresponding to the cross-sectional elevation;
[0037] Based on the Ansys system's three-dimensional coordinate system, all the shell elements in the third shell element set are sorted according to the positions of their corresponding intersection points to obtain the sorted third shell element set corresponding to the cross-sectional elevation.
[0038] Based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set, the sorted third shell unit set is divided into several fourth shell unit sets;
[0039] A wall design section is determined based on the intersection of all the shell elements in each of the fourth shell element sets.
[0040] Furthermore, the step of calculating the two intersection points between all shell elements in the third shell element set corresponding to the second shell element set and the imaginary horizontal plane corresponding to the cross-sectional elevation for each cross-sectional elevation includes:
[0041] For each cross-sectional elevation corresponding to the second set of shell elements, the edge where the shell element intersects the imaginary horizontal plane corresponding to the cross-sectional elevation is determined according to the coordinates of each node of each shell element in the third set of shell elements corresponding to the cross-sectional elevation in the three-dimensional coordinate system of the system, and is taken as the intersection edge of the shell element.
[0042] Based on the intersecting edges, the two intersection points between the shell element and the imaginary horizontal plane are calculated using linear interpolation.
[0043] Furthermore, the step of sorting all the shell elements in the third shell element set according to the positions of their corresponding intersection points based on the Ansys system's three-dimensional coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation includes:
[0044] The coordinates of the two intersection points of all the shell units in the third shell unit set are converted from the Ansys system three-dimensional coordinate system to the local coordinate system. The local coordinate system is a coordinate system pre-constructed for each wall. The two intersection points differ in only one coordinate axis value in the local coordinate system.
[0045] For each of the two intersection points of the shell unit in the third shell unit set, compare their coordinates in the local coordinate system, and take the intersection point with smaller coordinates as the first intersection point of the shell unit, and take the intersection point with larger coordinates as the second intersection point of the shell unit;
[0046] All the shell elements in the third shell element set are sorted according to the coordinates of their corresponding first intersection points in the local coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation.
[0047] Furthermore, the step of dividing the sorted third shell unit set into several fourth shell unit sets based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set includes:
[0048] Traverse all the shell elements in the sorted third shell element set, and in the local coordinate system, determine the coordinates of the intersection points corresponding to all two adjacent shell elements:
[0049] If any intersection point of any shell unit does not have the same coordinates as any intersection point of another shell unit, then a dividing point is set in the middle of the two adjacent shell units, and the sorted third shell unit set is divided into at least two fourth shell unit sets according to the dividing point.
[0050] Otherwise, the third shell unit set is taken as its corresponding fourth shell unit set.
[0051] Furthermore, the step of determining a wall design section based on the intersection of all the shell elements in each of the fourth shell element sets includes:
[0052] For each set of fourth shell elements, all the intersections of all the shell elements therein are taken as the intersection set, and the position of a wall design section is determined according to the intersection set, wherein the wall design section does not exceed the intersection set;
[0053] The thickness of the wall design section is determined using the thickness parameters of each shell element recorded in Ansys.
[0054] A second aspect of this invention discloses a wall design section generation system based on Ansys, comprising:
[0055] The first calculation unit is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and multiple second shell element sets. The first shell element set is a set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second shell element set is a set of all shell elements corresponding to one wall.
[0056] The second calculation unit is used to calculate multiple cross-sectional elevations corresponding to each second shell unit based on the cross-sectional spacing corresponding to each second shell unit;
[0057] The third calculation unit is used to calculate, for each cross-sectional elevation of each second shell unit, a plurality of shell units in the set of second shell units that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, and to serve as the third shell unit set corresponding to the cross-sectional elevation;
[0058] The generation unit is used to generate multiple wall design sections based on the set of all the third shell units corresponding to each second shell unit.
[0059] A third aspect of the present invention discloses a storage medium storing a computer program, characterized in that, when executed by a processor, the computer program implements the steps of the method for generating wall design sections based on Ansys as disclosed in any of the first aspects of the present invention.
[0060] The method of this invention automates the generation of wall design sections by using a pre-generated set of shell elements from Ansys and calculated section spacing. Compared to existing methods based on design experience and manual definition, this method is more efficient and accurate. By using the calculated section elevation and the set of shell elements intersecting the hypothetical horizontal plane, all areas of the nuclear island civil structure can be covered, avoiding the possibility of inappropriate location selection. 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 project, and reduces the impact of human factors in the design process. Attached Figure Description
[0061] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0062] Figure 1 This is a schematic diagram of a quadrilateral shell unit disclosed in an embodiment of the present invention;
[0063] Figure 2 This is a schematic diagram of the wall design cross-section disclosed in an embodiment of the present invention;
[0064] Figure 3 This is a flowchart illustrating a method for generating wall design sections based on Ansys, as disclosed in an embodiment of the present invention.
[0065] Figure 4 This is a schematic diagram of the cross-sectional elevation of the wall and its corresponding wall design cross-section disclosed in the embodiments of the present invention;
[0066] Figure 5 This is a schematic diagram showing the intersection of the imaginary horizontal plane corresponding to the cross-sectional elevation disclosed in the embodiment of the present invention and the shell elements of the second shell element set;
[0067] Figure 6 This is a schematic diagram showing the intersection of the imaginary horizontal plane corresponding to the cross-sectional elevation disclosed in the embodiment of the present invention with a shell element.
[0068] Figure 7 This is a schematic diagram showing the relationship between the wall design section and the shell unit intersection point corresponding to the cross-sectional elevation disclosed in the embodiments of the present invention;
[0069] Figure 8 This is a structural diagram of a wall design section generation system based on Ansys disclosed in an embodiment of the present invention. Detailed Implementation
[0070] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0071] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, or product comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or units.
[0072] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0073] In addressing the problems of existing nuclear island civil structure design methods that rely on design experience to manually select key control points and then define wall design sections, which can lead to issues such as the possibility of selecting unreasonable sections, difficulty in covering all areas of the nuclear island civil structure, low efficiency, and susceptibility to errors, this invention solves the shortcomings of existing methods. While ensuring the accuracy and completeness of wall design section definitions, it greatly improves design efficiency to meet engineering design schedule requirements and reduces the labor costs for designers.
[0074] Before explaining the specific steps of the method provided by this invention, some technical terms used in this invention are explained as follows:
[0075] Ansys is a widely used finite element analysis software in engineering fields, used for simulation analysis of multiphysics coupling such as structures, fluids, heat conduction, and electromagnetic fields. Ansys provides powerful modeling and simulation tools that can be used for design optimization, performance evaluation, and virtual prototyping.
[0076] Shell element: A type of finite element used to simulate the bending and shearing behavior of walls in two dimensions. Shell elements can be quadrilateral or triangular. Figure 1 A quadrilateral shell element is shown, with four nodes I, J, K, and L, and four edges IJ, JK, KL, and IL. When it is a triangular element, nodes K and L coincide. The internal force per unit length parallel to the shell element plane that causes shear deformation in the shell element output is the in-plane shear force, i.e. Figure 1 In .
[0077] Ansys' system three-dimensional coordinate system: the z-axis is the direction opposite to the direction of gravity, the x-axis is one side of the building in the horizontal plane, and the y-axis is the direction perpendicular to the x-axis in the horizontal plane. The origin is not limited. In the embodiment of the present invention, the endpoint of one side of the building in the horizontal plane is taken as the origin.
[0078] Local Coordinate System: Each set of second shell elements has a corresponding local coordinate system. The opposite direction of gravity is used as the x-axis or y-axis of the local coordinate system. The plane containing any shell element in the set is used as the xy-plane, and the direction perpendicular to the gravity direction in the xy-plane is used as the y-axis or x-axis of the local coordinate system. Once the x-axis or y-axis of the local coordinate system is determined, the z-axis is determined according to the right-hand rule. The origin of the local coordinate system is not limited. In the inventor's embodiment, the node of any shell element in the set is used as the origin, and the opposite direction of gravity is used as the y-axis of the local coordinate system.
[0079] Wall design section: A section spanning several shell elements and parallel to the x-axis of the local coordinate system, used for in-plane shear design of the wall, such as... Figure 2 As shown.
[0080] The following detailed steps of the method provided by the present invention are explained in conjunction with specific embodiments. In this embodiment, all shell units are exemplified by quadrilateral shell units. The principle of triangular shell units is the same as that of quadrilateral shell units. Based on the explanation of this embodiment, those skilled in the art can deduce the processing method for triangular shell units.
[0081] Please see Figure 3 As shown, Figure 3 This is a flowchart illustrating a method for generating wall design sections based on Ansys, as disclosed in an embodiment of the present invention. Figure 3 As shown, the method for generating wall design sections based on Ansys can include the following operations:
[0082] S301. Based on the first shell element set and multiple second shell element sets, calculate the cross-sectional spacing corresponding to each second shell element set. The first shell element set is a set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second shell element set is a set of all shell elements corresponding to one wall.
[0083] In an optional embodiment, all shell units belonging to the same wall in the first shell unit set are assigned the same wall number, and the wall numbers of the shell units corresponding to each wall are different. 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 multiple second shell element sets includes:
[0085] Calculate the general section spacing based on the first shell element set;
[0086] Based on the general cross-sectional spacing and each set of second shell elements, the cross-sectional spacing corresponding to each set of second shell elements is calculated.
[0087] As can be seen, this optional embodiment improves the accuracy and efficiency of section generation by calculating the universal section spacing and more accurately determining the section spacing corresponding to each set of second shell elements.
[0088] In a further optional embodiment, the step of calculating the general section spacing based on the first set of shell elements includes:
[0089] Calculate the element height difference of all shell elements in the first shell element set along the z-axis in the Ansys system's three-dimensional coordinate system;
[0090] The minimum unit height difference is obtained by filtering from all the said unit height differences;
[0091] Calculate the general section spacing based on the minimum unit height difference.
[0092] For example, please refer to Table 1, which shows all the shell elements in the second shell element set corresponding to the i-th wall. - The coordinates of the corresponding node in the Ansys system's three-dimensional coordinate system.
[0093] Table 1 shows the coordinates of shell element nodes in the Ansys system's three-dimensional coordinate system.
[0094]
[0095] For shell units Unit height difference for:
[0096] ;
[0097] in, Representing shell units respectively The z-axis coordinates of nodes I, J, K, and L in the Ansys system's 3D coordinate system. This indicates calculation using absolute values; shell element. The four nodes are as follows Figure 1 As shown.
[0098] Iterate through the element height differences of all shell elements in the first shell element set to obtain the minimum element height difference. ;
[0099] Based on the minimum unit height difference Calculate the general cross-sectional spacing.
[0100] As can be seen, this optional embodiment calculates the universal section spacing by calculating the element height difference of all shell elements in the z-axis direction in Ansys, which can better adapt to various different wall designs and improve the versatility and applicability of the method.
[0101] In a further optional embodiment, the step of calculating the general section spacing based on the minimum unit height difference includes:
[0102] Multiply the minimum unit height difference by a preset spacing ratio to obtain the general cross-sectional spacing.
[0103] Then the general cross-sectional spacing for:
[0104] ;
[0105] in, In this embodiment, the spacing ratio is used as an example. The value is 0.8.
[0106] As can be seen, this optional embodiment calculates the general cross-sectional spacing by multiplying the minimum unit height difference by a preset spacing ratio, allowing for more flexible adjustment of the cross-sectional spacing to adapt to different design requirements.
[0107] In a further optional embodiment, the step of calculating the cross-sectional spacing corresponding to each second shell element set based on the general cross-sectional spacing and each second shell element set includes:
[0108] Calculate the wall height difference in the z-axis direction of each second shell element set in the Ansys system's three-dimensional coordinate system;
[0109] Based on the wall height difference and the general cross-sectional spacing, calculate the number of elevations for each second shell unit set;
[0110] The cross-sectional spacing of each second shell unit set is obtained by dividing the wall height difference of each second shell unit set by the corresponding elevation number.
[0111] As can be seen, this optional embodiment calculates the wall height difference of each second shell element set in the z-axis direction of the Ansys system's three-dimensional coordinate system, and calculates the number of elevations of each second shell element set based on the wall height difference and the general section spacing. This allows for a more accurate determination of the section spacing of each second shell element set, thereby improving the accuracy and efficiency of section generation.
[0112] In a further optional embodiment, the step of calculating the wall height difference in the z-axis direction of the Ansys system's three-dimensional coordinate system corresponding to each of the second shell element sets includes: for each of the second shell element sets:
[0113] Iterate through the heights of all nodes of all shell elements in the z-axis direction of the Ansys system's three-dimensional coordinate system, filter 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 height difference of the wall corresponding to the second shell unit set in the z-axis direction of the Ansys system three-dimensional coordinate system is calculated based on the preprocessed first height and the preprocessed second height.
[0115] For example, the wall height difference of the second shell element set corresponding to the i-th wall is calculated as follows: traverse the z-axis coordinates of all nodes of the shell elements in all second shell element sets in the Ansys system's three-dimensional coordinate system, select the maximum value as the first height, and select the minimum value as the second height.
[0116] As can be seen, this optional embodiment can more accurately calculate the wall height difference by traversing and filtering the height of all nodes of each shell element in the z-axis direction of the Ansys system's 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 for each of the second shell unit sets based on the wall height difference and the general cross-sectional spacing includes:
[0118] Calculate the first according to the following formula. Number of elevations of the second shell unit set :
[0119] ;
[0120] in, This represents the rounding down operation. Representing the The first height of the second set of shell units, Representing the The second height of the second set of shell units, Represents the first reserved length. This represents the second reserved length. This represents the general cross-sectional spacing.
[0121] In this optional embodiment, the first reserved length and the second reserved length may be equal or unequal. In this embodiment, both the first reserved length and the second reserved length are 0.5.
[0122] In this optional embodiment, the first Cross-sectional spacing of the second shell unit set for:
[0123] .
[0124] As can be seen, this optional embodiment prevents the wall design section from being generated at the top or bottom of the wall by using the first reserved length and the second reserved length, making the design layout of the wall design section more reasonable.
[0125] S302. For each set of the second shell elements, multiple cross-sectional elevations are calculated based on the corresponding cross-sectional spacing.
[0126] In an optional embodiment, the second height of the wall plus the second reserved length is used as the lowest cross-sectional elevation. :
[0127] ;
[0128] The elevations of the other sections of the wall, from lowest to highest, are as follows: , ,…, ,like Figure 4 As shown, each wall design section corresponds to a section elevation.
[0129] S303. For each cross-sectional elevation, calculate the multiple shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, and use them as the third shell element set corresponding to the cross-sectional elevation.
[0130] In an optional embodiment, the step of calculating, for each cross-sectional elevation, a plurality of 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:
[0131] Traverse all the shell elements in the second shell element set, obtain the maximum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the maximum height of the shell element, and obtain the minimum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the minimum height of the shell element.
[0132] For each cross-sectional elevation, select the shell elements in the corresponding second shell element set whose maximum height is not less than the cross-sectional elevation and whose minimum height is not greater than the cross-sectional elevation, and use them as the third shell element set corresponding to that cross-sectional elevation.
[0133] For example: For shell units Its maximum unit height for:
[0134] ;
[0135] Its minimum unit height for:
[0136] ;
[0137] For the elevation of the j-th section of the i-th wall The corresponding set of third shell elements all satisfy:
[0138] .
[0139] S304. Generate multiple wall design sections based on all the third shell unit sets corresponding to the second shell unit set.
[0140] In an optional embodiment, the step of generating multiple wall design sections based on all the third shell element sets corresponding to the second shell element set includes:
[0141] For each cross-sectional elevation corresponding to the second set of shell elements, calculate the two intersection points between all shell elements in the third set of shell elements corresponding to the cross-sectional elevation and the imaginary horizontal plane corresponding to the cross-sectional elevation;
[0142] Based on the Ansys system's three-dimensional coordinate system, all the shell elements in the third shell element set are sorted according to the positions of their corresponding intersection points to obtain the sorted third shell element set corresponding to the cross-sectional elevation.
[0143] Based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set, the sorted third shell unit set is divided into several fourth shell unit sets;
[0144] A wall design section is determined based on the intersection of all the shell elements in each of the fourth shell element sets.
[0145] like Figure 5 As shown, 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 Ansys system's three-dimensional coordinate system.
[0146] In an optional embodiment, the step of calculating, for each cross-sectional elevation corresponding to the second set of shell elements, the two intersection points between all shell elements in the third set of shell elements corresponding to that cross-sectional elevation and the imaginary horizontal plane corresponding to that cross-sectional elevation include:
[0147] For each cross-sectional elevation corresponding to the second set of shell elements, the edge where the shell element intersects the imaginary horizontal plane corresponding to the cross-sectional elevation is determined according to the coordinates of each node of each shell element in the third set of shell elements corresponding to the cross-sectional elevation in the three-dimensional coordinate system of the system, and is taken as the intersection edge of the shell element.
[0148] Based on the intersecting edges, the two intersection points between the shell element and the imaginary horizontal plane are calculated using linear interpolation.
[0149] For example: regarding the cross-sectional elevation and shell unit An edge IJ of a shell element is defined when the following conditions are met simultaneously. The side IJ and the section elevation The corresponding imaginary horizontal planes intersect:
[0150] ;
[0151] ;
[0152] like Figure 6 As shown, the cross-section elevation Example of the hypothetical horizontal plane intersecting with a shell element in the third shell element set. It intersects with the edge lines IL and JK. The coordinates of intersection point 1 can be calculated by linear interpolation using the coordinates of node I and node L of the shell element in the Ansys system's three-dimensional coordinate system. The coordinates of intersection point 2 can be calculated by linear interpolation using the coordinates of node J and node K of the shell element in the Ansys system's 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 their corresponding intersection points based on the Ansys system's three-dimensional coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation includes:
[0154] The coordinates of the two intersection points of all the shell units in the third shell unit set are converted from the Ansys system three-dimensional coordinate system to the local coordinate system. The local coordinate system is a coordinate system pre-constructed for each wall. The two intersection points differ in only one coordinate axis value in the local coordinate system.
[0155] For each of the two intersection points of the shell unit in the third shell unit set, compare their coordinates in the local coordinate system, and take the intersection point with smaller coordinates as the first intersection point of the shell unit, and take the intersection point with larger coordinates as the second intersection point of the shell unit;
[0156] All the shell elements in the third shell element set are sorted according to the coordinates of their corresponding first intersection points in the local coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation.
[0157] Based on the design method of local coordinate system, those skilled in the art can understand that all intersection points of all shell elements in the third shell element set differ only in the x-axis coordinate in the local coordinate system.
[0158] In this optional embodiment, all the shell units in the third shell unit set are sorted according to the coordinates of their corresponding first intersection points 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 unit set into several fourth shell unit sets according to the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set includes:
[0160] Traverse all the shell elements in the sorted third shell element set, and in the local coordinate system, determine the coordinates of the intersection points corresponding to all two adjacent shell elements:
[0161] If any intersection point of any shell unit does not have the same coordinates as any intersection point of another shell unit, then a dividing point is set in the middle of the two adjacent shell units, and the sorted third shell unit set is divided into at least two fourth shell unit sets according to the dividing point.
[0162] Otherwise, the third shell unit set is taken as its corresponding fourth shell unit set.
[0163] In this optional embodiment, if the coordinates of the four intersection points of any two adjacent shell units in the sorted third shell unit set are all different, it indicates that there is an opening between the two adjacent shell units. Therefore, a dividing point is set between these two shell units to represent the opening, and the third shell unit set is divided into several fourth shell unit sets based on this dividing point. Finally, the number of fourth shell unit sets in a third shell unit set is the number of its dividing points plus one.
[0164] In an optional embodiment, the step of determining a wall design section based on the intersection of all the shell elements in each of the fourth shell element sets includes:
[0165] For each set of fourth shell elements, all the intersections of all the shell elements therein are taken as the intersection set, and the position of a wall design section is determined according to the intersection set, wherein the wall design section does not exceed the intersection 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 cross-section elevation After the corresponding imaginary horizontal plane intersects with all shell elements in the third shell element set, since there is only one opening, this third shell element set corresponds to two fourth shell element sets. The intersection points of all shell elements in each fourth shell element set form a wall design section. Based on the section elevation... The height of the wall design section in the Ansys system's three-dimensional coordinate system can be determined; the length of the wall design section can be determined based on the coordinates of the intersection points of all shell elements in the fourth shell element set.
[0168] like Figure 8 As shown, this invention provides a wall design section generation system based on Ansys, comprising:
[0169] The first calculation unit 801 is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and multiple second shell element sets. The first shell element set is a set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second shell element set is a set of all shell elements corresponding to one wall.
[0170] The second calculation unit 802 is used to calculate multiple cross-sectional elevations corresponding to each second shell unit based on the cross-sectional spacing corresponding to each second shell unit;
[0171] The third calculation unit 803 is used to calculate, for each cross-sectional elevation of each second shell unit, a plurality of shell units in the set of second shell units that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, and to serve as the third shell unit set corresponding to the cross-sectional elevation;
[0172] The generation unit 804 is used to generate multiple wall design sections based on the set of all the third shell units corresponding to each second shell unit.
[0173] Specific limitations regarding the Ansys-based wall design section generation system can be found in the above description of the limitations on the Ansys-based wall design section generation method, and will not be repeated here. Each module in the aforementioned Ansys-based wall design section generation system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware format within or independently of the processor in an electronic device, or stored in software format in the memory of the electronic device, allowing the processor to call the corresponding operations of each module.
[0174] It should be noted that, in order to highlight the innovative aspects of this invention, this embodiment does not include modules that are not closely related to solving the technical problems proposed by this invention, but this does not mean that there are no other modules in this embodiment.
[0175] In one embodiment, the present invention provides a storage medium storing a computer program, which, when executed by a processor, can also perform the steps in the above-described method for generating wall design sections based on Ansys.
[0176] In summary, this invention discloses a method, medium, and system for generating wall design sections based on Ansys. During the generation of wall design sections, the process is automated by using a pre-generated set of shell elements based on Ansys and calculated section spacing. Compared to existing methods based on design experience and manual definition, this invention is highly efficient and accurate. By using the calculated section elevation and the set of shell elements intersecting the hypothetical horizontal plane, all areas of the nuclear island civil structure can be covered, avoiding the possibility of inappropriate location selection. This method of automatically generating wall design sections improves design efficiency, reduces the possibility of errors, meets the design schedule requirements of nuclear island civil structure engineering, and reduces the impact of human factors in the design process. Therefore, this invention effectively overcomes the various shortcomings of existing technologies and has high industrial application value.
[0177] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can 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 those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A method for generating wall design sections based on Ansys, characterized in that, The method includes: Based on the first set of shell elements and multiple sets of second shell elements, the cross-sectional spacing corresponding to each set of second shell elements is calculated. The first set of shell elements is the set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second set of shell elements is the set of all shell elements corresponding to one wall. For each set of the second shell units: Based on the corresponding cross-sectional spacing, multiple cross-sectional elevations are calculated; For each cross-sectional elevation, the multiple shell elements in the second shell element set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation are calculated and used as the third shell element set corresponding to the cross-sectional elevation. The steps include: Traverse all the shell elements in the second shell element set, obtain the maximum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the maximum height of the shell element, and obtain the minimum height of all nodes of each shell element in the z-axis direction of the Ansys system three-dimensional coordinate system as the minimum height of the shell element. For each cross-sectional elevation, select all shell elements in the corresponding second shell element set whose maximum height is not less than the cross-sectional elevation and whose minimum height is not greater than the cross-sectional elevation, and use them as the third shell element set corresponding to that cross-sectional elevation; Based on all the third shell element sets corresponding to the second shell element set, multiple wall design sections are generated, and the steps include: For each cross-sectional elevation corresponding to the second set of shell elements, calculate the two intersection points between all shell elements in the third set of shell elements corresponding to the cross-sectional elevation and the imaginary horizontal plane corresponding to the cross-sectional elevation; Based on the Ansys system's three-dimensional coordinate system, all the shell elements in the third shell element set are sorted according to the positions of their corresponding intersection points to obtain the sorted third shell element set corresponding to the cross-sectional elevation. Based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set, the sorted third shell unit set is divided into several fourth shell unit sets; A wall design section is determined based on the intersection of all the shell elements in each of the fourth shell element sets.
2. The method for generating wall design sections 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 multiple second shell element sets includes: Calculate the general section spacing based on the first shell element set; Based on the general cross-sectional spacing and each set of second shell elements, the cross-sectional spacing corresponding to each set of second shell elements is calculated.
3. The method for generating wall design sections based on Ansys according to claim 2, characterized in that, The step of calculating the general cross-sectional spacing based on the first shell element set includes: Calculate the element height difference of all shell elements in the first shell element set along the z-axis in the Ansys system's three-dimensional coordinate system; The minimum unit height difference is obtained by filtering from all the said unit height differences; Calculate the general section spacing based on the minimum unit height difference.
4. The method for generating wall design sections based on Ansys according to claim 3, characterized in that, The step of calculating the general section spacing based on the minimum unit height difference includes: Multiply the minimum unit height difference by a preset spacing ratio to obtain the general cross-sectional spacing.
5. The method for generating wall design sections based on Ansys according to claim 2, characterized in that, The step of calculating the cross-sectional spacing corresponding to each second shell element set based on the general cross-sectional spacing and each second shell element set includes: Calculate the wall height difference in the z-axis direction of each second shell element set in the Ansys system's three-dimensional coordinate system; Based on the wall height difference and the general section spacing, calculate the number of elevations for each second shell unit set; The cross-sectional spacing of each of the second shell unit sets is obtained by dividing the wall height difference of each set by the corresponding elevation number.
6. The method for generating wall design sections based on Ansys according to claim 5, characterized in that, The steps for calculating the wall height difference in the z-axis direction of the Ansys system's three-dimensional coordinate system corresponding to each second shell element set include: For each second shell element set: Iterate through the heights of all nodes of all shell elements in the z-axis direction of the Ansys system's three-dimensional coordinate system, filter 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 height difference of the wall corresponding to the second shell unit set in the z-axis direction of the Ansys system three-dimensional coordinate system is calculated based on the preprocessed first height and the preprocessed second height.
7. The method for generating wall design sections based on Ansys according to claim 6, characterized in that, The step of calculating the number of elevations for each set of second shell elements based on the wall height difference and the general cross-sectional spacing includes: Calculate the first according to the following formula. Number of elevations of the second shell unit set : ; in, This represents the rounding down operation. Representing the The first height of the second set of shell units, Representing the The second height of the second set of shell units, Represents the first reserved length. This represents the second reserved length. This represents the general cross-sectional spacing.
8. The method for generating wall design sections based on Ansys according to claim 1, characterized in that, The step of calculating, for each cross-sectional elevation corresponding to the second set of shell elements, the two intersection points between all shell elements in the third set of shell elements corresponding to the cross-sectional elevation and the imaginary horizontal plane corresponding to the cross-sectional elevation include: For each cross-sectional elevation corresponding to the second set of shell elements, the edge where the shell element intersects the imaginary horizontal plane corresponding to the cross-sectional elevation is determined according to the coordinates of each node of each shell element in the third set of shell elements corresponding to the cross-sectional elevation in the three-dimensional coordinate system of the system, and is taken as the intersection edge of the shell element. Based on the intersecting edges, the two intersection points between the shell element and the imaginary horizontal plane are calculated using linear interpolation.
9. The method for generating wall design sections based on Ansys according to claim 1, characterized in that, The steps of sorting all the shell elements in the third shell element set according to the positions of their corresponding intersection points in the Ansys-based system three-dimensional coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation include: The coordinates of the two intersection points of all the shell units in the third shell unit set are converted from the Ansys system three-dimensional coordinate system to the local coordinate system. The local coordinate system is a coordinate system pre-constructed for each wall. The two intersection points differ in only one coordinate axis value in the local coordinate system. For each of the two intersection points of the shell unit in the third shell unit set, compare their coordinates in the local coordinate system, and take the intersection point with smaller coordinates as the first intersection point of the shell unit, and take the intersection point with larger coordinates as the second intersection point of the shell unit; All the shell elements in the third shell element set are sorted according to the coordinates of their corresponding first intersection points in the local coordinate system to obtain the sorted third shell element set corresponding to the cross-sectional elevation.
10. A method for generating wall design sections based on Ansys according to claim 9, characterized in that, The step of dividing the sorted third shell unit set into several fourth shell unit sets based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set includes: Traverse all the shell elements in the sorted third shell element set, and in the local coordinate system, determine the coordinates of the intersection points corresponding to all two adjacent shell elements: If any intersection point of any shell unit does not have the same coordinates as any intersection point of another shell unit, then a dividing point is set in the middle of the two adjacent shell units, and the sorted third shell unit set is divided into at least two fourth shell unit sets according to the dividing point. Otherwise, the third shell unit set is taken as its corresponding fourth shell unit set.
11. The method for generating wall design sections based on Ansys according to claim 1, characterized in that, The step of determining a wall design section based on the intersection of all the shell elements in each of the fourth shell element sets includes: For each set of fourth shell elements, all the intersections of all the shell elements therein are taken as the intersection set, and the position of a wall design section is determined according to the intersection set, wherein the wall design section does not exceed the intersection set; The thickness of the wall design section is determined using the thickness parameters of each shell element recorded in Ansys.
12. A wall design section generation system based on Ansys, characterized in that, include: The first calculation unit is used to calculate the cross-sectional spacing corresponding to each of the second shell element sets based on the first shell element set and multiple second shell element sets. The first shell element set is a set of all shell elements corresponding to all the walls pre-generated by Ansys, and the second shell element set is a set of all shell elements corresponding to one wall. The second calculation unit is used to calculate multiple cross-sectional elevations corresponding to each second shell unit based on the cross-sectional spacing corresponding to each second shell unit; The third calculation unit is used to calculate, for each cross-sectional elevation of each second shell unit, a plurality of shell units in the second shell unit set that intersect with the imaginary horizontal plane corresponding to the cross-sectional elevation, as the third shell unit set corresponding to the cross-sectional elevation; wherein, it iterates through all shell units in the second shell unit set, obtains the maximum height of all nodes of each shell unit in the z-axis direction of the Ansys system three-dimensional coordinate system as the maximum height of the shell unit, and obtains the minimum height of all nodes of each shell unit in the z-axis direction of the Ansys system three-dimensional coordinate system as the minimum height of the shell unit; for each cross-sectional elevation, it selects all shell units in the corresponding second shell unit set whose maximum height is not less than the cross-sectional elevation and whose minimum height is not greater than the cross-sectional elevation, as the third shell unit set corresponding to the cross-sectional elevation; A generation unit is used to generate multiple wall design sections based on all sets of third shell units corresponding to each second shell unit; wherein, for each section elevation corresponding to the second shell unit set, two intersection points are calculated between all shell units in the third shell unit set corresponding to the section elevation and the imaginary horizontal plane corresponding to the section elevation; based on the Ansys system's three-dimensional coordinate system, all shell units in the third shell unit set are sorted according to the positions of their corresponding intersection points to obtain a sorted third shell unit set corresponding to the section elevation; based on the positional relationship between the intersection points of two adjacent shell units in the sorted third shell unit set, the sorted third shell unit set is divided into several fourth shell unit sets; and a wall design section is determined based on the intersection points of all shell units in each fourth shell unit set.
13. A storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method for generating wall design sections based on Ansys as described in any one of claims 1 to 11.
Citation Information
Patent Citations
A reinforcement design method for a reinforced concrete member with an arbitrary cross-section
CN108984869A