A method for parameterized three-dimensional design of a bank spillway

By using parametric design with CATIA software and skeleton component templates, the problem of repetitive work caused by adjustments to terrain and geological conditions in the design of riverside spillways was solved, enabling rapid design and multiple option selection, and improving design efficiency.

CN117574506BActive Publication Date: 2026-06-16NORTHWEST ENGINEERING CORPORATION LIMITED

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NORTHWEST ENGINEERING CORPORATION LIMITED
Filing Date
2023-11-28
Publication Date
2026-06-16

Smart Images

  • Figure CN117574506B_ABST
    Figure CN117574506B_ABST
Patent Text Reader

Abstract

The application discloses a kind of bank spillway parameterized three-dimensional design method, it is related to the field of hydraulic structure design of water conservancy and hydropower engineering, can solve and the existing two-dimensional design method is inefficient, and the quality is not easy to guarantee the problem of guaranteeing problem.This application is established by model architecture, architecture is by product and corresponding part template composition, by skeleton as the driving size of each product and part entity, and the control of relative position relationship of part file;Through enterprise local area network, find bank spillway in directory editor, and call in;According to the result of hydraulics calculation, modify parameter, adjust skeleton and excavation update complete bank spillway design;Reached the purpose of bank spillway rapid design, design result is more intuitive;Design result is associated by formula and rule, so that design process becomes dynamic adjustable.This application is used for water conservancy and hydropower engineering bank spillway three-dimensional design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of hydraulic structure design for water conservancy and hydropower projects, and specifically relates to a method for parametric three-dimensional design of bank spillways. Background Technology

[0002] With the continuous and in-depth application of BIM digital technology in the field of water conservancy and hydropower engineering construction, theoretical and technical support has been provided for the three-dimensional digital design of riverside spillways. More and more designers have initially acquired the ability of BIM design, which has also made it possible for the three-dimensional digital design of riverside spillways to become widespread.

[0003] The spillway is a flood discharge facility for a reservoir, a key structure for ensuring dam safety and maintaining ecological balance. Existing design methods are based on plan and section analysis. First, discharge calculations are performed using engineering specifications and manuals to obtain the width, height, and number of spillway gates. Then, the plan layout is determined based on these parameters. Next, the spillway structure's shape and slope are designed by cutting the terrain profile. Finally, other detailed designs, such as the spillway surface, gate pier shape, discharge channel, and energy dissipation design, are based on design specifications and engineering experience. However, in actual engineering projects, the overall layout and shape of the spillway are constantly adjusted due to discharge schemes and topographical and geological conditions. The existing design methods involve a large amount of repetitive work, resulting in low efficiency and difficulty in quickly selecting from multiple options. Summary of the Invention

[0004] This invention addresses the problem that existing design methods for spillway layout and shape are inefficient due to the need to adjust the overall layout and shape of spillways as the discharge scheme and topographical and geological conditions change frequently, resulting in a large amount of repetitive work and difficulty in quickly selecting from multiple options. This invention features a strong correlation between spillway layout and shape design and the relevant elements. By identifying these correlations and employing parameter- and graphically driven control methods, it can quickly complete the spillway layout and shape design, rapidly update existing designs, and perform quantity calculations, facilitating decision-making for the project layout design. This invention proposes a parametric three-dimensional design method for riverside spillways, which includes the following steps:

[0005] Step 1: Establish a shore spillway architecture model based on CATIA software, and create templates for the shore spillway components; the shore spillway architecture model includes products and components;

[0006] Step 2: Associate the products required for the riverside spillway with the corresponding component templates to form the target product file for the riverside spillway;

[0007] Step 3 involves using the parts in the CATIA software, importing templates, modifying parameters, adjusting the skeleton, adjusting the excavation, updating all target products, and obtaining the parameter design of the target shore spillway.

[0008] The spillway components include a frame, diversion channel section, control section, spillway section, energy dissipation section, excavation, auxiliary steel structure, precast components, dam crest components, gatehouse, and anchor cables.

[0009] Among them, the skeleton is a control part file that drives the size and relative positional relationship of each product entity;

[0010] The modeling method for the corresponding parts of the spillway product is to divide them into different parts, use skeleton elements to locate the sketch, and create boss geometry based on the skeleton elements as the bounding range; Boolean operations are performed between different parts to form their respective solids;

[0011] Boolean operations are performed as follows:

[0012] Boolean addition operation: C = A ∪ B, that is, C is formed by combining A and B.

[0013] Boolean intersection operation: C = A ∩ B, that is, C is the intersection of A and B.

[0014] Boolean intersection operation: C = A / B, that is, C is the remaining part of A after deducting the intersection part of A and B.

[0015] Preferably, the skeleton component template is the product component corresponding to the shore spillway skeleton established using control elements, and the shore spillway skeleton component template is established separately.

[0016] The control elements include the spillway's control elevation, station number, and flow curve; the control elements can control the overall shape and dimensions of the spillway.

[0017] The parameters in the spillway skeleton components and their relationship to the solids and surfaces in each component template are set using a formula; the formula is defined as follows:

[0018] y=∑x n a n

[0019] In the formula: y is the result to be calculated, x n For parameters of the control element, a n These are the coefficients of the control element parameters.

[0020] Preferably, the association between the various component templates of the shore spillway framework and the product templates of different parts is established according to the control and driving method of the shore spillway, and the product is associated with the framework corresponding to the spillway station number and elevation control line to obtain the target product file of the shore spillway.

[0021] Preferably, the modified parameters are calculated using formulas provided in the hydraulic calculation manual to determine the number of holes, the net width of a single hole, and the weir crest elevation; wherein, the dam crest elevation is consistent with the target project, and the other parameters are commonly used default parameters;

[0022] The modified parameters include gate pier control parameters, overflow weir surface curve, arc gate slot parameters, flat gate slot parameters, hydraulic cylinder parameters, arc gate hinge parameters, grouting drainage gallery parameters, and dam crest parameters.

[0023] Preferably, adjusting the excavation refers to parametrically designing the spillway shape using the part templates in CATIA software according to design requirements, and adjusting the slope ratio parameters of the excavation face. The slope ratio values ​​are based on reference values ​​provided by the geological profession, and the slope ratio parameters are between 0.5 and 1.5.

[0024] Preferably, the vertices of the flow curve are automatically generated based on the changing pattern of the spillway framework on the bank, so as to drive the change of the excavation surface;

[0025] The steps for automatically generating the vertices of the flow curve are as follows:

[0026] Step 101 uses the software's own function to generate the curve starting point. The curve starting point is one of the two points at both ends of the curve. The point closest to the spillway control point is the starting point, and the starting point is named point A.

[0027] Step 102: Take any point B that is a minimum distance from point A on the curve. Connect point A and point B to form line 1. The part of line 1 that coincides with the curve is line segment 2. Line segment 2 has two endpoints, one of which coincides with point A. Take the non-coincident point as point B. Point B is the other vertex on the curve after point A.

[0028] Similarly, in step 103, the remaining vertices are found using this method to form the target excavation surface and publish it.

[0029] Preferably, the template is imported using the CATIA software's built-in catalog editor, where the part template is stored. When needed, it is retrieved by searching for it by name within the company's local area network using the catalog editor.

[0030] The adjustment of the skeleton is achieved by adjusting the flow curve in the skeleton, referring to the terrain curve, and using CATIA's sketch function to draw a planar polyline, so that the polyline is lower than the terrain curve in elevation and parallel to the terrain curve.

[0031] Preferably, the control segment component generates railings and control points for the gatehouse based on the boundary of the control segment component entity, enabling the invocation of railings, super copies of the gatehouse, or user feature templates;

[0032] Excavation, surface creation and application are published to the diversion channel, control section, discharge channel and energy dissipation parts to divide the entity and achieve automatic matching of the shape with the foundation surface;

[0033] The change in the chute section is achieved by generating two endpoints of a straight section of the chute bottom plate, and automatically calculating the direction of the chute slope based on the endpoints.

[0034] Preferably, updating all target products in step 3 refers to updating all target products by copying and calling the part templates corresponding to the spillway product files, and then controlling the parameter design of each part according to the skeleton, thereby completing the design of a similar building.

[0035] The skeleton control of various parts refers to the parameter design of the parts in the target product file of the shore spillway based on the dimensions designed by the skeleton of the shore spillway station number and elevation control line.

[0036] This invention proposes a parametric 3D design method for riverside spillways, solving the problems of repetitive work, low efficiency, and difficulty in quickly selecting from multiple options due to the need to adjust the overall layout and shape of spillways as the discharge scheme and topographical and geological conditions change. This invention establishes a model architecture composed of product and corresponding part templates, with a skeleton serving as the controlling part file that drives the size and relative positional relationships of each product and part entity. The method involves locating and importing the riverside spillway design within a directory editor via a local area network; modifying parameters based on hydraulic calculations; sketching the flow surface curve based on the topography; modifying the slope ratio parameters of the excavated slope surface based on geological recommendations; and updating the design using the CATIA software's update function. This achieves rapid design of riverside spillways and improves design efficiency. Attached Figure Description

[0037] Figure 1 This is a schematic diagram of a method for parametric three-dimensional design of a riverside spillway.

[0038] Figure 2 This is a schematic diagram of the product architecture of a parametric 3D design method model for riverside spillways.

[0039] Figure 3 This is a method for parametric 3D design of riverside spillways, including a product model and actual structural diagram.

[0040] Figure 4 This is a method for parametric 3D design of riverside spillways; 3D view of riverside spillways.

[0041] Figure 5 This is a method for parametric 3D design of riverside spillways; exploded view of riverside spillways.

[0042] Figure 6 This is a method for parametric three-dimensional design of riverside spillways. (See the cross-sectional view of the riverside spillway.) Detailed Implementation

[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention.

[0044] Example 1

[0045] This invention provides a method for parametric three-dimensional design of riverbank spillways, comprising the following steps:

[0046] Step 1: Establish a shore spillway architecture model based on CATIA software, and create templates for the shore spillway components; the shore spillway architecture model includes products and components;

[0047] Step 2: Associate the products required for the riverside spillway with the corresponding component templates to form the target product file for the riverside spillway;

[0048] Step 3 involves using the parts in the CATIA software, importing templates, modifying parameters, adjusting the skeleton, adjusting the excavation, updating all target products, and obtaining the parameter design of the target shore spillway.

[0049] Compared with the two-dimensional design of the spillway, the three-dimensional design results of this invention are more intuitive; by linking the design results with formulas and rules, the design process becomes dynamic and adjustable.

[0050] The spillway components include a frame, diversion channel section, control section, spillway section, energy dissipation section, excavation, auxiliary steel structure, precast components, dam crest components, gatehouse, and anchor cables.

[0051] Among them, the skeleton is a control part file that drives the size and relative positional relationship of each product entity;

[0052] The modeling method for the corresponding parts of the spillway product is to divide them into different parts, use skeleton elements to locate the sketch, and create boss geometry based on the skeleton elements as the bounding range; Boolean operations are performed between different parts to form their respective solids;

[0053] Boolean operations are performed as follows:

[0054] Boolean addition operation: C = A ∪ B, that is, C is formed by combining A and B.

[0055] Boolean intersection operation: C = A ∩ B, that is, C is the intersection of A and B.

[0056] Boolean intersection operation: C = A / B, that is, C is the remaining part of A after deducting the intersection part of A and B.

[0057] In one embodiment, the skeleton component template is the product component corresponding to the shore spillway skeleton established using control elements, and the shore spillway skeleton component template is established separately.

[0058] The control elements include the spillway's control elevation, station number, and flow curve; the control elements can control the overall shape and dimensions of the spillway.

[0059] The parameters in the spillway skeleton components and their relationship to the solids and surfaces in each component template are set using a formula; the formula is defined as follows:

[0060] y=∑x n a n

[0061] In the formula: y is the result to be calculated, x n For parameters of the control element, a n These are the coefficients of the control element parameters.

[0062] In one embodiment, the association of the various component templates of the shore spillway skeleton is achieved by establishing component templates for different parts and associating them with the product corresponding to the skeleton through the spillway station number and elevation control line, based on the control and driving method of the shore spillway, thereby obtaining the target product file of the shore spillway.

[0063] In one embodiment, the modified parameters are calculated using formulas provided in the hydraulic calculation manual to determine the number of holes, the net width of a single hole, and the weir crest elevation; wherein, the dam crest elevation is consistent with the target project, and the other parameters are commonly used default parameters;

[0064] The modified parameters include gate pier control parameters, overflow weir surface curve, arc gate slot parameters, flat gate slot parameters, hydraulic cylinder parameters, arc gate hinge parameters, grouting drainage gallery parameters, and dam crest parameters.

[0065] In one embodiment, adjusting the excavation refers to parametrically designing the spillway shape using the part template in CATIA software according to design requirements, and adjusting the slope ratio parameter of the excavation face. The slope ratio value is based on the reference value provided by the geological profession, and the slope ratio parameter is between 0.5 and 1.5.

[0066] Preferably, the vertices of the flow curve are automatically generated based on the changing pattern of the spillway framework on the bank, so as to drive the change of the excavation surface;

[0067] The steps for automatically generating the vertices of the flow curve are as follows:

[0068] Step 101 uses the software's own function to generate the curve starting point. The curve starting point is one of the two points at both ends of the curve. The point closest to the spillway control point is the starting point, and the starting point is named point A.

[0069] Step 102: Take any point B that is a minimum distance from point A on the curve. Connect point A and point B to form line 1. The part of line 1 that coincides with the curve is line segment 2. Line segment 2 has two endpoints, one of which coincides with point A. Take the non-coincident point as point B. Point B is the other vertex on the curve after point A.

[0070] Similarly, in step 103, the remaining vertices are found using this method to form the target excavation surface and publish it.

[0071] In one embodiment, template import is achieved by storing the part template in the catalog editor of the CATIA software. When needed, the template is retrieved by searching for it by name within the enterprise LAN using the catalog editor.

[0072] Adjusting the skeleton involves adjusting the flow curves within the skeleton, referencing the terrain curves, and using CATIA's sketching function to draw a planar polyline so that the polyline is lower than the terrain curve in elevation and parallel to it.

[0073] In one embodiment, the control segment component generates railings and control points for the start-up and shutdown room based on the boundary of the control segment component entity, enabling the invocation of railings, super copies of the start-up and shutdown room, or user feature templates.

[0074] Excavation, surface creation and application are published to the diversion channel, control section, discharge channel and energy dissipation parts to divide the entity and achieve automatic matching of the shape with the foundation surface;

[0075] The change in the chute section is achieved by generating two endpoints of a straight section of the chute bottom plate, and automatically calculating the direction of the chute slope based on the endpoints.

[0076] In one embodiment, updating all target products in step 3 refers to updating all target products by copying and calling the part templates corresponding to the spillway product files, and then designing the parameters of each part according to the skeleton control, thereby completing the design of a similar building.

[0077] The skeleton control of various parts refers to the parameter design of the parts in the target product file of the riverside spillway based on the dimensions designed according to the chainage and elevation control line skeleton of the spillway. A riverside spillway template is created and saved in the directory editor.

[0078] This invention proposes a parametric 3D design method for riverside spillways, solving the problems of repetitive work, low efficiency, and difficulty in quickly selecting from multiple options due to the need to adjust the overall layout and shape of spillways as the discharge scheme and topographical and geological conditions change. This invention establishes a model architecture composed of product and corresponding part templates, with a skeleton serving as the controlling part file that drives the size and relative positional relationships of each product and part entity. The method involves locating and importing the riverside spillway design via a directory editor on a local area network; modifying parameters based on hydraulic calculations; sketching the flow surface curve based on the topography; modifying the slope ratio parameters of the excavated slope surface based on geological recommendations; and updating the design using the CATIA software's update function. This achieves rapid design of riverside spillways and improves design efficiency.

[0079] Example 2

[0080] The technical solution of this invention is to use CATIA software to establish a digital design scheme for the spillway of a water conservancy and hydropower project, such as... Figure 1 As shown.

[0081] The basic design logic of this invention is to divide the spillway into different parts based on its structural characteristics. This division primarily utilizes the method for dividing water conservancy and hydropower projects into sub-projects, assigning different parts to different PARTs (CATIA software part files, which are files storing physical parts). Figure 2 As shown.

[0082] Parametric design of the spillway framework was achieved using generative shape design. The spillway's shape was parametrically designed using CATIA software's part design function, its curved surfaces were parametrically designed using generative shape design, and the auxiliary steel structures were parametrically designed using the steel structure design module. The actual structure of the model product is as follows: Figure 3 As shown, the point, line, and surface elements in the skeleton are referenced in the CATIA software using the publish / reference function, and are used as input elements for the shape and surface design of the spillway.

[0083] The knowledge engineering module is used to coordinate and manage parameters in a unified manner, including parameter input, calculation, and logical judgment.

[0084] The specific process is as follows: Establish the basic framework for the digital design of the riverside spillway, as follows: Figure 1 As shown.

[0085] I. Establishing the Model Architecture:

[0086] Create a CATIA product file (.CATProduct) on any local drive and open it. Using the menu / Insert -> New Product (or New Part), create the model architecture according to the above diagram and save it. The completed model architecture should look like this: Figure 1 This step involves inserting the product and parts; the product architecture diagram is shown in Figure 2. Figure 1 Modify the part number and instance name.

[0087] 1. Skeleton creation:

[0088] First, control parameters are established based on the characteristics of the spillway. These parameters include integer, length, and string parameters, and are categorized according to different locations. A control framework for the spillway's stationing and elevation is then established. Parameter names and classifications are shown in Table 1.

[0089] Table 1 Spillway Parameter Table

[0090]

[0091] The elements controlled by parameters include basic elements such as points, lines, and surfaces, as well as elements such as solid sketches. In addition to storing the above parameters, the skeleton part also includes a set of geometric shapes and geometric bodies. For details on the solid structure of the skeleton part, see [link to documentation]. Figure 4 As shown.

[0092] The spillway assembly framework is used for assembly with the overall project framework, for positioning the spillway on the actual terrain, and for driving the main outline. The horizontal, vertical, and elevation frameworks store surface elements, categorized by XYZ directions for the spillway's controlling elevation and planar stationing.

[0093] The overflow weir includes a set of geometric figures such as power curves and excavation positioning lines for the foundation surface. The power curve is actually the longitudinal curve of the spillway's flow surface. According to the spillway design code (SL253-2018), the type of overflow weir for the control section is selected (generally including three curve types: three circular arcs, double circular arcs, and ellipses). Three sketches are created for the overflow weir curve, and one is selected as the actual curve based on the parameters. The implementation method is as follows:

[0094]

[0095] The weir surface curve type is a string parameter, while the upstream weir head is a curve parameter. Different parameters result in different sketches. The spillway section sketch is manually drawn based on the actual terrain. This ultimately forms the spillway flow curve.

[0096] The excavation positioning line is linked to the flow curve via a sketch-based method. The excavation positioning line is the longitudinal curve of the foundation surface from the spillway diversion channel to the energy dissipation section, and is a crucial input for the foundation excavation surface and the slope initiation point. This achieves correlated control by having the flow curve control the foundation surface curve, which in turn controls the slope excavation surface.

[0097] The elements in the control point sketch geometry set are established as follows: The arch hinge point is controlled by parameters on the horizontal and vertical surfaces of the left pier of the spillway. It serves as the positioning point for corbels, etc. The second phase of the arch sill is a closed curve enclosed by the arch sill groove and the flow curve; this is used to establish the second phase of the arch sill concrete. The ladder position point is the ladder positioning point; the ladder position is calculated through parameter calculations. Then, the ladder model is assembled with this point to drive the ladder position. The cylinder center point, steel platform starting point, and steel platform endpoint are all point elements whose model positions are controlled by parameters or parameter calculations. The beam recess geometry set stores the recess sketches of the working bridge and traffic bridge piers in the spillway control section. All sketch sections are parameter-controlled and associated with the skeleton (the section edge or line endpoints coincide with the plane in the skeleton; changes in parameters cause changes in the plane, resulting in changes in the section edge).

[0098] The gate outline is a fully automated, driven sketch created based on gate parameters and work experience. The dimensions in the sketch are directly driven using a control method implemented in VB code within the CATIA Knowledge Engineering module (point, line, and surface elements are coupled together; a change in the spatial position of one element causes a change in the coupled elements). The driving code is as follows:

[0099]

[0100] The gantry crane track, flat gate slot, beam socket, central pier anchorage hole, side pier anchorage hole, and arched gate are all geometric shapes, implemented using CATIA commands such as sketch, boss, and multi-section solid, and are parameter-driven.

[0101] All control elements (longitudinal and transverse station numbers and elevations are control line elements) and geometries in the spillway skeleton components have been published. The purpose of this publication is to allow other components to reference them correctly and maintain a linked document with addresses ("Control Elements"—"Parent"—"Skeleton File").

[0102] In actual design, the spillway and terrain components should first be positioned appropriately using assembly design. (Observe the terrain, establish a coordinate system in the terrain file, and match the absolute axis in the spillway product file with the coordinate system in the terrain components, so that the degree of freedom of the spillway product file is 0.) After the position is fixed, the detailed design of the skeleton can be carried out.

[0103] 2. Diversion Canal Section

[0104] The only control parameter for the diversion channel section is its length. It consists of the diversion channel bottom plate and the diversion channel retaining wall. The bottom plate is composed of bosses and sections. The bosses are created based on the diversion channel length, and the bottom plate geometry is obtained by dividing it using the excavation face. Based on the diversion channel length parameter, a new plane is created by offsetting the spillway's 110+000 station plane from the manual. A sketch is created using the control section width, and the two sketches are connected using the multi-section solid command to obtain a solid. This solid is then divided by the excavation face to obtain the diversion channel solid. The diversion channel control skeleton comes from the spillway skeleton file and is driven by the parameters in the skeleton file. This driving mechanism is a built-in function of the software; the specific implementation details need to be supplemented, as there are multiple descriptions of the driving mechanism, and there should be some differences.

[0105] 3. Control Section

[0106] The control section is divided into multiple parts, primarily driven by external references (from the skeleton file), with some details controlled by parameters. The control section is divided into the following parts (geometry), with the geometric sets stored as intermediate process elements for creating the geometry. The spillway control section is decomposed. The control section is decomposed into the first-phase concrete of the gate pier and other second-phase concrete. The gate pier is divided into the following geometry (components), which are transformed into the final gate pier concrete shape through Boolean operations.

[0107] Boolean operations are performed as follows:

[0108] Boolean addition operation: C = A ∪ B, that is, C is formed by combining A and B.

[0109] Boolean intersection operation: C = A ∩ B, that is, C is the intersection of A and B.

[0110] Boolean intersection operation: C = A / B, that is, C is the remaining part of A after deducting the intersection part of A and B.

[0111] The base slab is constructed using an overflow surface and a closed excavation surface to form a solid structure.

[0112] The central pier is constructed by stretching the positioning sketch into a boss, and other central piers are formed using the gate parameter array.

[0113] The side piers are also constructed using the method of stretching bosses from positioning sketches, with some areas treated with grooves. The spillway has only two side piers, one on the left and one on the right.

[0114] The brackets are created by extruding bosses from a positioning sketch, with chamfered edges. Each hole in the control section has two brackets; one bracket is created using the symmetry of the hole's center elevation, and the other brackets are formed using a gate hole parameter array.

[0115] The geometry of the gate slot, beam recess, anchorage hole, second phase of hydraulic cylinder, pavement layer, dam crest cable trench, gatehouse, drainage gallery, gantry crane track, etc., is derived from other parts or geometry. Boolean subtraction is used to extract these elements from the gate pier shape.

[0116] The step is a user feature used on the inclined surface of the gate pier. It is created based on the starting vertex on the inclined surface and performs a Boolean operation with the gate pier.

[0117] The second phase of the corbel consists of different sections of concrete. The first phase of the corbel is modeled using a positioning sketch and extrusion of a boss. The second phase of the corbel is created by selecting and thickening the curved surface of the corbel. The same corbel modeling method is used for the arraying of other sections.

[0118] Anchorage holes, arched gates, and flat door slots are derived from the skeleton components. The hydraulic cylinders were created in phase two using a positioning sketch and extruded boss. Related results were then copied and generated for Boolean subtraction operations on the gate pier entity.

[0119] The above describes the modeling method for components in the spillway control section. The modeling method can be summarized as follows: The components are divided into different parts. Skeleton elements are used to locate the sketch, and geometric shapes such as bosses are created based on the skeleton elements as defined boundaries. Boolean operations are performed between different parts to form their respective solids, some of which originate from other parts. This method allows for inter-component operations between different parts, achieving a high degree of consistency.

[0120] 4. Drainage section

[0121] The spillway trough consists of a base plate, sidewalls, and a flow-delay section, driven by the flow curve, sidewall height parameters, and trough width parameters within the framework components. The aeration tanks on the trough forcibly introduce air into the high-speed flowing water to dissipate energy. The location of the aeration tanks is determined experimentally; given parameters in this model, their size and position are controlled. These parameters are set within the trough components.

[0122] The main body of the spillway is driven by the excavation foundation surface, overflow surface, and sidewall top curves. The overflow surface originates from the skeleton components, and the excavation foundation surface originates from the excavated components. The sidewall top curves are implemented using LOOP and the Knowledge Engineering Array. LOOP and the Knowledge Engineering Array are built-in CATIA automated modeling tools implemented with VB code.

[0123] The length of the overflow channel section is calculated by identifying the length of the overflow surface curve.

[0124] The overflow surface curve is curvea

[0125] The horizontal length of the spillway section is lena;

[0126] The spillway axis is oriented in the direction of directiona;

[0127] The extreme point of the overflow surface curve along the spillway axis is:

[0128] The function `extremum(curvea, directiona, true)` represents the maximum value of the element object `curvea` along the direction `directiona`. `true` indicates the maximum value, and `false` indicates the minimum value.

[0129] The horizontal distance between the maximum point of the overflow surface curve along the spillway axis and the downstream facade of the control section is the length of the spillway section. The curve at the top of the sidewall is obtained by offsetting the spillway water surface line by a safe distance, while the calculated spacing of the spillway water surface line is approximately 20m (a parameter already set and can be modified). Starting from the downstream facade of the control section, a point on the spillway water surface line is obtained by offsetting the overflow surface curve upwards by a certain value every 20m. This process is repeated a number of times (the number of times is the spillway section length / calculated spacing), thus forming multiple points.

[0130] The LOOP function is used to iterate through user features a corresponding number of times according to the calculation interval. Finally, a knowledge engineering array is used to connect multiple points sequentially into straight lines, and then the straight lines are merged into a curve. The code for the knowledge engineering array is as follows:

[0131] For while m <= int(length of spillway section / calculated spacing)

[0132] `pointa = pointlist(i)` # Select the first point from the point list as `pointa`.

[0133] `pointb = pointlist(i+1)` # Select the second point from the point list as `pointb`.

[0134] Line 1 = line(pointa, pointb)

[0135] #line is the line command, which connects two points, poina and pointb, in different sets.

[0136] Join = Join (Join, Line 1)

[0137] #Use the join command to join all lines together.

[0138] The above code can be used to generate the curve at the top of the wall.

[0139] The above process yields the actual venting channel, while the aeration channel is established separately. Finally, Boolean addition and subtraction operations are performed between the aeration channel and the venting channel. The aeration channel consists of an aeration channel and its surrounding structure. The aeration channel is a flow channel with slotted holes in the venting channel, and it is an additional structure attached to the venting channel. The former is subtracted from the venting channel, while the latter is added to it. Positioning points are obtained by intersecting the flow surface curve and the top curve of the sidewall with the station number (the positioning plane of the aeration channel). Connecting these three points yields a "U"-shaped curve. Sweeping along the "U"-shaped curve yields the aeration channel. A chamfering command is used to chamfer the turning parts, forming the aeration flow path.

[0140] The outer shape is due to the insufficient thickness of the venting channel where it is cut out, necessitating local thickening. This is achieved by utilizing the "U"-shaped curve of the air-entraining channel and offsetting the channel dimensions with thickness. There may be one or more air-entraining channels on the venting channel, but their shapes are consistent, though their sizes may differ. The position and size of the air-entraining channels are controlled by positioning station numbers and hole size parameters. Two air-entraining channels already exist in the model; their shapes can be controlled by the number parameter. When the number is 1, one of the air-entraining channel geometries is deactivated and becomes non-existent. In actual design, if there are no air-entraining channels, both geometries can be directly deleted. The template offers good flexibility.

[0141] 5. Energy dissipation section

[0142] The energy dissipation section of a spillway on the bank is generally a stilling basin. In its design, it typically consists of a slope protection structure or concrete at the bottom of the excavation pit, formed using the excavated surface, and may include components such as stilling piers in some areas. Its shape is relatively simple, but its design is highly unpredictable. This component is included primarily for practical design purposes, filling a gap in the spillway's shape design. There is no solid design within the component; only external elements are placed inside, allowing for direct reference of these elements during subsequent detailed design.

[0143] 6. Excavation

[0144] Unlike the above component designs, the excavation surface is composed of curved surfaces and primarily utilizes CATIA's generative shape design module and knowledge engineering module. The excavation surface is decomposed into geometric sets such as the bottom surface, energy dissipation section, drainage section, control and diversion channel section, and surface processing. The positional control parameters of the curved surfaces are derived from the skeleton components.

[0145] The bottom surface is the foundation surface for the spillway, and the excavation line for the bottom slab is already included in the frame components. The excavation surface of the bottom slab is obtained by horizontally sweeping along the excavation line.

[0146] The energy dissipation section, spillway section, control section, and diversion channel section are the slope excavation sections for the spillway. Curve vertices on the bottom slab excavation line are generated using a curve vertex template (user feature). The side slope templates (user feature) on the slope are used to create the excavated slopes in segments. Finally, the slope surface is trimmed to form the final excavated slope.

[0147] Side slopes on inclines are developed using user-defined features, with input conditions being any two points and a horizontal plane. The slope design is automatically performed based on the horizontal and vertical positional relationship between the two points and the parameter values. It is the most important basic template for excavated curved surfaces.

[0148] Based on the vertices formed by the excavation floor line, side slopes are established sequentially in sections. The energy dissipation section requires two user features, two surfaces are trimmed, and then the trimming is processed using a join command. The spillway section has three user features and requires two trimming operations. The control and diversion channel section uses one user feature (as per instruction manual 16), utilizing the cross-sectional curve attached to the user feature, sweeping along the spillway center curve, and then joining it with the user feature to form the diversion and control channel surfaces. Finally, the surfaces established for each section are trimmed using a trim command to form the final excavation face.

[0149] The excavated surfaces on both sides of the spillway before terrain processing are basically symmetrical, and the modeling methods for the excavation faces on the left and right sides are basically the same. In actual design, one side is adjacent to the dam, and the excavation is relatively simple. The other side may also have a high slope, and it is necessary to adjust the parameters and surface combination methods according to the actual situation to form the excavation surface required by the design.

[0150] The final spillway excavation surface is completed by trimming the left and right side excavation faces and the bottom slab excavation face. In actual design, the location of the spillway is already fixed, and the topographic and geological model of the surrounding terrain is already clear. The topographic and geological model should be used as a reference when establishing the excavation surface.

[0151] 7. Ancillary steel structures

[0152] The auxiliary steel structure includes the following components:

[0153] Steel Ladders: The traffic flow from the corbel surface to the arched door hinge arm is entirely parameter-controlled. It consists of ladders and a cage. Each ladder is a swept volume along a "U-shaped curve." The number of ladders is calculated based on their height and spacing, and then arrayed sequentially. The cage is constructed of cylindrical steel reinforcement. The ring reinforcement is created in the same way as the ladders during modeling. The ring reinforcement is arrayed in the Z-direction. This yields the remaining ladders. The ring reinforcement of the cage is created using the same method as the ladders. The Z-direction extreme values ​​of the cage's ring reinforcement include both maximum and minimum values, and planes are generated from these extreme values. Vertical reinforcement is created using sketches, with its beginning and end defined by planes generated from the extreme values.

[0154] Steel Platform: The steel rest platform consists of steel channel steel inserted into the gate pier, pedestrian steel panels, angle steel supporting the panels, and railings. The steel panels, channel steel, and angle steel are designed using a structural design module and linked to the framework mesh. The entire steel platform is assembled with the spillway framework, and its position is driven by assembly points on the framework.

[0155] 8. Precast components

[0156] The prefabricated components include the working bridge and cover plate on the spillway. These are two separate parts.

[0157] The working bridge is generated based on the position and parameters provided by the framework. This includes the working bridge main girder and cable trench beams. The main girder is a UDF geometric entity, obtained through the working bridge axis and the planes on both sides of the gate opening. Parameters control the entity's height, web, flanges, and positional eccentricity. Only parameters need to be modified during use. The cable trench is driven by the cable trench cross-sectional dimensions, and its position is driven in the same way as the main girder.

[0158] The concrete cover plate is a geometric solid. By recognizing the edge lines of the orifice, a cover plate that matches the orifice is automatically generated, reducing the redundant process of manually drawing sketches and improving the modeling speed of the cover plate.

[0159] 9. Dam crest structure

[0160] The dam crest structure includes components such as railings and cable trenches.

[0161] Guardrails must be installed along the perimeter of the spillway to ensure personnel safety. The upstream side is the reservoir area, and sometimes concrete guardrails are required for protection and water retention. Concrete guardrails are modeled using an envelope model; only parameters and conditions need to be input and modified. The guardrail input conditions include two points, which automatically generate the guardrail's central column, similar to the modeling method for metal guardrails, only the shape differs. Parameters included in the guardrail features control its shape.

[0162] The cable trench is a cut-out solid; that is, after creating the inner mold of the cable trench, corresponding grooves are cut out on the gate pier to form the cable trench. The cross-section of the cable trench is basically consistent, and it is modeled by sweeping solid modeling. The pavement layer is a cast-in-place thin concrete slab on the working bridge, which is an integral structure. The pavement layer is modeled by extruding solid modeling from sketches, and the grooves are processed from the sketch of the flat gate opening to form the final solid of the pavement layer.

[0163] 10. Gate opening and closing machine room

[0164] The gate hoist room is constructed of a concrete frame structure and brick walls. It is typically a single-story frame structure containing a roof slab, beams, and columns. The entire system is driven by a grid system; as the grid changes, the columns, beams, and slabs change accordingly. The floor height is controlled by local parameters. The cross-sectional dimensions of beams, columns, and slabs are controlled by their own parameters, with default parameters being commonly used. The number and position of beams and columns are automatically controlled by the horizontal and vertical axes of the grid. It is fully automated; users only need to modify the grid position, floor height, and the cross-sectional dimensions of beams, columns, and slabs.

[0165] The brick wall of the gate hoist room is the outer wall of the gate hoist room. The outer wall is fully realized by the axis grid in the frame structure. The height of the brick wall is controlled by the floor height. This part only needs to modify the brick wall thickness and the position and size parameters of the door opening.

[0166] 11. Anchor cable

[0167] Anchor cables are a key structural element of the control section. Their arrangement relies on the number of anchor cables and is placed on the corbel surface of the control section. The arrangement rules are as follows:

[0168] n=1

[0169] width=0.6m

[0170] For while n<=numbera

[0171] x = width * MOD(n, row)

[0172] y = width * INT(n / row)

[0173] POINT(x,y)

[0174] Where `width` is the anchor cable spacing, `row` is the maximum number of rows (calculated by dividing the corbel width by the anchor cable spacing), `MOD` is a function that returns the remainder, `INT` is a function that returns an integer, and `POINT` is a function that generates points in the 3D model.

[0175] The generated points are stretched along a specific direction to form the anchor cable profile.

[0176] Exploded views of various product components after the preliminary design of the riverside spillway is completed, as shown below. Figure 5 As shown in the cross-sectional view Figure 6 As shown.

[0177] II. Template Import

[0178] The part templates can be stored in the catalog editor using the CATIA software's built-in catalog editor. When needed, they can be retrieved by searching for them by name within the company's local area network using the catalog editor.

[0179] III. Modifying Parameters

[0180] The prerequisite for the three-dimensional design of the spillway is the initial hydraulic calculation, which uses formulas provided in the "Hydraulic Calculation Handbook" to calculate the "number of orifices," "net width per orifice," and "weir crest elevation." The dam crest elevation is consistent with the project itself and does not need to be calculated. The remaining parameters are commonly used default parameters and do not need to be modified.

[0181] IV. Adjusting the skeleton

[0182] Adjust the flow curve in the skeleton, and using CATIA's sketch function, draw a planar polyline, referencing the terrain curve. Make the polyline lower than the terrain curve in elevation, and essentially parallel to it.

[0183] V. Adjustment of Excavation

[0184] Adjusting the excavation involves adjusting the slope ratio parameters of the excavation face. The slope ratio is a crucial parameter determining the safety of slope excavation. The numerical value of the slope ratio is based on reference values ​​provided by geological professionals, generally between 0.5 and 1.5.

[0185] VI. Update all products related to the spillway structure.

[0186] After completing the above five steps, use the update function built into the CATIA software to update with one click and complete the preliminary design of the riverside spillway.

[0187] This invention proposes a parametric 3D design method for riverside spillways, solving the problems of repetitive work, low efficiency, and difficulty in quickly selecting from multiple options due to the need to adjust the overall layout and shape of spillways as the discharge scheme and topographical and geological conditions change. This invention establishes a model architecture composed of product and corresponding part templates, with a skeleton serving as the controlling part file that drives the size and relative positional relationships of each product and part entity. The method involves locating and importing the riverside spillway design via a directory editor on a local area network; modifying parameters based on hydraulic calculations; sketching the flow surface curve based on the topography; modifying the slope ratio parameters of the excavated slope surface based on geological recommendations; and updating the design using the CATIA software's update function. This achieves rapid design of riverside spillways and improves design efficiency.

Claims

1. A method for parametric three-dimensional design of a riverside spillway, characterized in that, The method includes the following steps: Step 1: Establish a shore spillway architecture model based on CATIA software, and create shore spillway component templates; the shore spillway architecture model includes products and components; The template for the spillway components includes a frame, a diversion channel section, a control section, a spillway section, an energy dissipation section, excavation, ancillary steel structures, precast components, dam crest components, a gatehouse, and anchor cables. Among them, the skeleton is a control part file that drives the size and relative positional relationship of each product entity; The modeling method for the corresponding parts of the spillway product is divided into different parts. The sketch is located using skeleton elements, and the boss geometry is established based on the skeleton elements as the bounding range. Boolean operations are performed between different parts to form their respective solids. Boolean operations are performed as follows: Boolean addition operation: C = A ∪ B, that is, C is formed by combining A and B; Boolean intersection operation: C = A ∩ B, that is, C is the intersection of A and B; Boolean intersection operation: C = A / B, that is, C is the remaining part of A after deducting the intersection part of A and B; Step 2: Associate the products required for the riverside spillway with the corresponding component templates to form the target product file for the riverside spillway; The skeleton component template is the product component corresponding to the shore spillway skeleton created using control elements. Separate shore spillway skeleton component templates are created. The control elements include the spillway's control elevation, station number, and flow curve; the control elements can control the overall shape and dimensions of the spillway. The parameters in the spillway skeleton components and their relationship to the solids and surfaces in each component template are set using a formula; the formula is defined as follows: y=∑x n to n In the formula: y is the result to be calculated, x n For parameters of the control element, a n The coefficients of the control element parameters; Step 3: When using the software, based on the parts in CATIA, import templates, modify parameters, adjust the skeleton, adjust the excavation, update all target products, and obtain the parameter design of the target shore spillway.

2. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The connection between the shore spillway framework and the templates of each component of the shore spillway framework is established according to the control and driving method of the shore spillway. The templates of different parts are associated with the products corresponding to the framework of the spillway station number and elevation control line to obtain the target product file of the shore spillway.

3. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The modified parameters are calculated using formulas provided in the hydraulic calculation manual to determine the number of holes, the net width of a single hole, and the weir crest elevation; the dam crest elevation is consistent with the target project, and the other parameters are commonly used default parameters. The modified parameters include gate pier control parameters, overflow weir surface curve, arc gate slot parameters, flat gate slot parameters, hydraulic cylinder parameters, arc gate hinge parameters, grouting drainage gallery parameters, and dam crest parameters.

4. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The aforementioned adjustment excavation refers to the parametric design of the spillway shape using the part templates in CATIA software according to design requirements, and the adjustment of the slope ratio parameters of the excavation face. The slope ratio values ​​are based on reference values ​​provided by the geological professionals, and the slope ratio parameters are between 0.5 and 1.

5.

5. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The vertices of the flow curve are automatically generated based on the changing patterns of the spillway framework on the bank, so as to drive the changes in the excavation surface. The steps of the method for automatically generating the vertices of the flow curve are as follows: Step 101 uses the software's own function to generate the curve starting point. The curve starting point is one of the two points at both ends of the curve. The point closest to the spillway control point is the starting point, and the starting point is named point A. Step 102: Take any point B that is a minimum distance from point A on the curve. Connect point A and point B to form line 1. The part of line 1 that coincides with the curve is line segment 2. Line segment 2 has two endpoints, one of which coincides with point A. Take the non-coincident point as point B. Point B is the other vertex on the curve after point A. Similarly, in step 103, the remaining vertices are found using this method to form the target excavation surface and publish it.

6. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The template is imported by storing the part template in the catalog editor of the CATIA software; when it is retrieved, it is searched by name within the enterprise LAN through the catalog editor. The adjustment of the skeleton is achieved by adjusting the flow curve in the skeleton, referring to the terrain curve, and using CATIA's sketch function to draw a planar polyline, so that the polyline is lower than the terrain curve in elevation and parallel to the terrain curve.

7. The method for parametric three-dimensional design of a riverside spillway according to claim 1, characterized in that, The control segment component generates railings and control points for the start / stop machine room based on the boundary of the control segment component entity, enabling the calling of railings, super copies of the start / stop machine room, or user feature templates; The excavation involves creating and applying curved surfaces to the diversion channel, control section, drainage channel, and energy dissipation components to segment the entity and achieve automatic matching between the shape and the foundation surface. The change in the drainage channel section is achieved by generating two endpoints of a straight section of the drainage channel bottom plate, and automatically calculating the direction of the drainage channel slope based on the endpoints.

8. A method for parametric three-dimensional design of a riverside spillway according to any one of claims 1-7, characterized in that, The update of all target products in step 3 refers to updating all target products by copying and calling the part templates corresponding to the product files of the shore spillway, and then designing the parameters of each part according to the skeleton control. The skeleton control of each part refers to the parameter design of the parts in the target product file of the spillway based on the dimensions designed by the skeleton of the shore spillway station number and elevation control line.