Method for Efficient Modeling and Structural Calculation of Concrete Beams Based on Dynamo
By combining Dynamo and CAD drawings, automatically modeling and writing structural calculation logic, the problem of low design efficiency of concrete structural beams is solved, and efficient and accurate load capacity calculation is achieved.
Patent Information
- Application Number
- CN202311511511.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2043-11-14
AI Technical Summary
In the prior art, the bearing capacity of concrete structural beams is complicated to calculate, low design efficiency, prone to errors, and has a high dependence on technicians and software.
Dynamo and CAD drawings are used to automatically model and write structural calculation logic through Dynamo program to simplify the three-dimensional modeling process of concrete beams and realize bearing capacity calculation.
It improves the modeling efficiency of concrete beams and the accuracy of structural calculations, simplifies the design process, reduces manpower and material consumption, and reduces the error rate.
Smart Images

Figure CN117521211B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engineering design, and particularly to a method for efficiently modeling and structurally calculating concrete beams based on Dynamo. Background Art
[0002] At the present stage, the bearing capacity calculation of concrete structural beams relies on technicians to perform manual calculations or batch processing calculations after modeling in secondary development software. This has high requirements for the level of technicians and the applicable scope of the software. The overall design process is complicated and the design efficiency is low. It not only consumes a large amount of time, manpower and material resources, but also has design pain points such as being prone to errors.
[0003] In current engineering design, using the BIM system for 3D design has become the mainstream mode. The Dynamo software is an open-source visual programming plug-in attached to the Autodesk Revit software, which provides a new way to process geometric information in Revit and is integrated as a built-in visual programming tool in Revit, which can assist in quickly realizing parametric design, data management, and performance analysis. Therefore, the present invention proposes a method for efficiently modeling and structurally calculating concrete beams based on Dynamo. Summary of the Invention
[0004] The purpose of the present invention is to provide a method for efficiently modeling and structurally calculating concrete beams based on Dynamo. By combining CAD drawings with the Dynamo program, a 3D model of a concrete beam is simply and quickly established, and structural design logic and calculation rules are written based on the Dynamo program to realize the calculation of the bearing capacity, thereby simplifying the design process and improving the modeling efficiency and the accuracy of structural calculation.
[0005] To achieve the above purpose, the present invention adopts a method for efficiently modeling and structurally calculating concrete beams based on Dynamo, including the following steps:
[0006] S1. Automatically model the concrete structural beam based on Dynamo, specifically:
[0007] S11. Process the CAD drawing, retain the beam edge line layer and the beam annotation layer, and import the drawing into the elevation plane where the component is located in Revit;
[0008] S12. Run the program to obtain the concrete beam in CAD, input the content according to the prompt, and export and save the Excel file path of the concrete beam;
[0009] S13. Batch create concrete beams, manually add the corresponding cross-sectional dimensions in the generated Excel file, and save it as a new file;
[0010] S14. Run the batch concrete beam creation program: Select the concrete beams to be created and the Excel file, import the Excel file with cross-section type dimensions, and enter the component cross-section types according to the table generated in Revit.
[0011] S2. Run the concrete structure beam modeling program to perform structure beam modeling.
[0012] S3. Calculate the bearing capacity of structural components: Calculate the shear bearing capacity and flexural bearing capacity of the concrete structure beam.
[0013] Preferably, the process flow of the concrete structure beam modeling program is as follows:
[0014] 1) Use the Select Model Elements node to select the CAD drawing.
[0015] 2) Use the CAD.CurvesFromCADLayers node and the CADTextData.FromLayers node to filter the beam edge lines and beam layer data in the CAD drawing respectively.
[0016] 3) Use the Curve.PointAtParameter node and the Geometry.DistanceTo node to calculate the midpoint distance of the beam edge lines.
[0017] 4) Use the List.Sort node to sort the beam edge line distances from smallest to largest, filter out the minimum distance, and combine the two closest beam edge lines pairwise.
[0018] 5) Use the Vector.ByTwoPoints node and the Geometry.Translate node to draw the center line of the combined beam edge lines and use it as the position line for subsequent creation of the structure beam model.
[0019] 6) Combine the CADTextData.TextValue node and the CADTextData.OriginPoint node to obtain the insertion point of the beam name text and match it with the beam center line.
[0020] 7) Use the Geometry.ClosestTo node to match the beam name insertion point and the beam center line by the closest feature method.
[0021] 8) Match the beam name with the beam family type in Revit through the FamilyType.Name node.
[0022] 9) Finally, using the StructuralFraming.BeamByCurve node, corresponding structural beam types are automatically created in Revit based on the beam centerline and beam family types.
[0023] Preferably, in step S3, the calculation program flow for the shear bearing capacity of the concrete beam is as follows:
[0024] S301. Add shared parameters to the structural beam family category in Revit. The parameter fields are: concrete strength grade, stirrup steel grade, stirrup diameter, number of stirrup limbs, stirrup spacing, and shear bearing capacity.
[0025] S302. Run the Dynamo program, batch import the calculation parameters in Excel, select all the structural beam models that need to be calculated and obtain their calculation parameters, and create a data parameter dictionary for the concrete strength grade and steel grade.
[0026] S303. Use the Code Block node to calculate the section control condition Vu1 and the bearing capacity control condition Vu2, and select the maximum value Vu from Vu1 and Vu2 through the List.MaximumItem node.
[0027] S304. Calculate the shear bearing capacity, assign it to the corresponding structural beam models respectively through the Element.SetParameterByName node, and then export the calculation data to an Excel file.
[0028] Preferably, in step S303,
[0029] The formula for writing the section control condition Vu1 is:
[0030] When hw / b ≤ 4, Vu1 = 0.25 * βc * fc * b * h0
[0031] When hw / b ≥ 6, Vu1 = 0.2 * βc * fc * b * h0
[0032] When 4 < hw / b < 6, Vu1 is determined by linear interpolation
[0033] N = 0.25 - ((a0 - 4) / (6 - 4)) * (0.25 - 0.2)
[0034] Vu1 = N * βc * fc * b * h0;
[0035] The formula for writing the bearing capacity control condition Vu2 is
[0036] ρsv = Asv / (b * s)
[0037] When ρsv < 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0;
[0038] When ρsv ≥ 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0 + fyv * Asv * h0 / s.
[0039] Preferably, in step S3, the calculation program flow of the flexural bearing capacity of the concrete beam is as follows:
[0040] S311. Add shared parameters to the structural beam family category in Revit, and the parameter fields are: concrete strength grade, longitudinal reinforcement grade, number of tension steel bars, diameter of tension steel bars, number of compression steel bars, diameter of compression steel bars, bending moment bearing capacity, tension steel bar reinforcement ratio, and whether it is over-reinforced;
[0041] S312. Run the Dynamo program, batch import the calculation parameters in Excel, select all the structural beam models to be calculated and obtain their calculation parameters, and create a data parameter dictionary for the concrete strength grade and reinforcement grade;
[0042] S313. Use the Code Block node to calculate the cross-sectional area of the tension steel bars and tension steel bars respectively by writing the formula Asl = n * Pi * dst * dst / 4, and automatically select the calculation parameters α1 and β1 according to the concrete strength grade;
[0043] S314. Through the Code Block node, judge the over-reinforced state, calculate the flexural bearing capacity and the tension steel bar reinforcement ratio ρs = Asl / Ac;
[0044] S315. Through the Element.SetParameterByName node, assign the flexural bearing capacity, over-reinforced state and tension steel bar reinforcement ratio to the corresponding structural beam models respectively, and then export the calculation data to an Excel file.
[0045] Preferably, in step S313, the writing formula of the basic calculation parameters is:
[0046] ξb = β1 / (1 + fy / (0.0033 * Es));
[0047] Calculate the compression zone height x, and judge the size of x and 2as' through the operation node, where as' is the distance from the compression steel bar to the compression edge;
[0048] x = (fy * Asl - fy * Asy) / (α1 * fc * b).
[0049] Preferably, in step S314, three cases are considered for the calculation of the flexural bearing capacity:
[0050] Case 1: When x < 2as', it is not over-reinforced, and the flexural bearing capacity is:
[0051] Mu = fy * Asl * (h0 - as') / γ0;
[0052] Case 2: When ξb * h0 ≥ x ≥ 2as', it is not over-reinforced, and the flexural bearing capacity is:
[0053] Mu = α1 * fc * b * x * (h0 - 0.5 * x) + fy * Asy * (h0 - as')
[0054] Case 3: When x > ξb * h0, it is over-reinforced. Assume x = ξb for calculation, and the flexural bearing capacity is:
[0055] Mu = α1 * fc * b * h0 * h0 * ξb * (1 - 0.5 * ξb) + fy * Asy * (h0 - ca).
[0056] Therefore, by adopting the above method for efficient modeling and structural calculation of concrete beams based on Dynamo, the beneficial effects achieved are:
[0057] By combining CAD drawings with the Dynamo program, the present invention can simply and quickly establish a three-dimensional model of a concrete beam; and based on the Dynamo program, structural, design logic, and calculation rules are written to achieve bearing capacity calculation; the design process is simplified, the structural form can be directly reflected, model structure data can be accurately and quickly extracted, and the modeling efficiency and the accuracy of structural calculation are improved.
[0058] Next, through the drawings and embodiments, the technical solutions of the present invention will be further described in detail. Description of the Drawings
[0059] Figure 1 is the flow chart for rapid modeling and structural calculation of the concrete beam of the present invention;
[0060] Figure 2 is the flow chart for modeling the structural beam of the present invention;
[0061] Figure 3 is the flow chart for calculating the flexural bearing capacity and shear bearing capacity of the structural beam of the present invention. Detailed Embodiments
[0062] The technical solutions of the present invention will be further described below through the drawings and embodiments.
[0063] Unless otherwise defined, the technical terms or scientific terms used in the present invention shall have the ordinary meanings as understood by those of ordinary skill in the field to which the present invention pertains. The "first", "second" and similar terms used in the present invention do not denote any order, quantity or importance, but are only used to distinguish different components. The terms such as "comprise" or "include" mean that the elements or objects appearing before this word cover the elements or objects listed after this word and their equivalents, without excluding other elements or objects. The terms "arrange", "install", "connect" shall be understood in a broad sense. For example, it may be a fixed connection, a detachable connection or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements. The "upper", "lower", "left", "right", etc. are only used to represent the relative position relationship. When the absolute position of the object being described changes, the relative position relationship may also change accordingly.
[0064] Embodiment
[0065] Such as Figures 1-3 The present invention provides a method for efficient modeling and structural calculation of concrete beams based on Dynamo, including the following steps:
[0066] 1. Create the required plan views for the structural specialty in Revit.
[0067] 2. (Step S1) Automatically model the concrete structural beams based on Dynamo, specifically:
[0068] S11. Process the CAD drawings, retain the "beam edge line" layer and the "beam annotation" layer, and import the drawings into the elevation plane where the components are located in Revit;
[0069] S12. Run the "Obtain Concrete Beams in CAD" program, input the content according to the prompts, and export and save the Excel file path of the concrete beams;
[0070] S13. Batch-create the concrete beams, manually add the corresponding cross-section dimensions in the generated Excel file, and save it as a new file;
[0071] S14. Run the "Batch Create Concrete Beams" program: Select the concrete beams to be created and the previously created Excel file, import the Excel file of the cross-section type dimensions, and enter the component cross-section types according to the table generated in Revit.
[0072] 3. (Step S2) Run the concrete structural beam modeling program to perform the structural beam modeling, and its program flow is as follows:
[0073] 1) First, use the SelectModel Elements node to select the CAD drawing;
[0074] 2) Use the CAD.CurvesFromCADLayers node and the CADTextData.FromLayers node to filter the beam edge lines and beam layer data in the CAD drawing respectively;
[0075] 3) Use the Curve.PointAtParameter node and the Geometry.DistanceTo node to calculate the midpoint distance of the beam edge lines;
[0076] 4) Use the List.Sort node to sort the beam edge line distances from smallest to largest, filter out the minimum distance, and combine the two closest beam edge lines pairwise;
[0077] 5) Use the Vector.ByTwoPoints node and the Geometry.Translate node to draw the center line of the above combined beam edge lines and use it as the position line for subsequent creation of the structural beam model;
[0078] 6) Combine the CADTextData.TextValue node and the CADTextData.OriginPoint node to obtain the text insertion point of the above beam name and match it with the beam center line;
[0079] 7) Use the Geometry.ClosestTo node to match the beam name insertion point and the beam center line by the feature with the closest distance;
[0080] 8) Match the beam name with the beam family type in Revit through the FamilyType.Name node;
[0081] 9) Finally, use the StructuralFraming.BeamByCurve node to automatically create the corresponding structural beam type in Revit through the beam center line and the beam family type.
[0082] IV. (Step S3) Calculation of the bearing capacity of structural members.
[0083] (1) The calculation program flow for the shear bearing capacity of a concrete structural beam is as follows:
[0084] S301. Add shared parameters to the structural beam family category in Revit. The parameter fields are: concrete strength grade, stirrup steel grade, stirrup diameter (mm), number of stirrup limbs, stirrup spacing, shear bearing capacity (kN);
[0085] S302. Run the Dynamo program, batch import the calculation parameters in Excel, select all the structural beam models that need to be calculated and obtain their calculation parameters, and create a data parameter dictionary for the concrete strength grade and steel bar grade, including parameters such as fc, ft, Ec, fy, Es;
[0086] S303. Use the Code Block node to calculate the section control condition Vu1 and the bearing capacity control condition Vu2, and select the maximum value Vu from Vu1 and Vu2 through the List.MaximumItem node;
[0087] The formula for writing the section control condition Vu1 is:
[0088] When hw / b ≤ 4, Vu1 = 0.25 * βc * fc * b * h0
[0089] When hw / b ≥ 6, Vu1 = 0.2 * βc * fc * b * h0
[0090] When 4 < hw / b < 6, determine Vu1 by linear interpolation
[0091] N = 0.25 - ((a0 - 4) / (6 - 4)) * (0.25 - 0.2)
[0092] Vu1 = N * βc * fc * b * h0;
[0093] The formula for writing the bearing capacity control condition Vu2 is
[0094] ρsv = Asv / (b * s)
[0095] When ρsv < 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0;
[0096] When ρsv ≥ 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0 + fyv * Asv * h0 / s.
[0097] S304. Calculate the shear bearing capacity, and through the Element.SetParameterByName node, assign it to the corresponding structural beam model respectively, and then export the calculation data to an Excel file.
[0098] (2) The calculation program flow of the flexural bearing capacity of the concrete structural beam is as follows:
[0099] S311. Add shared parameters to the structural beam family category in Revit. The parameter fields are: concrete strength grade, longitudinal bar grade, number of tension bars, diameter of tension bars in mm, number of compression bars, diameter of compression bars in mm, flexural bearing capacity in kN·m, tension bar reinforcement ratio in %, whether it is over-reinforced;
[0100] S312. Run the Dynamo program, batch import the calculation parameters in Excel, select all the structural beam models that need to be calculated and obtain their calculation parameters, and create a data parameter dictionary for concrete strength grades and steel bar grades, including parameters such as fc, ft, Ec, fy, Es;
[0101] S313. Use the Code Block node to calculate the cross-sectional areas of the tension steel bars and the tension steel bars respectively by writing the formula Asl = n * Pi * dst * dst / 4, and automatically select the calculation parameters α1 and β1 according to the concrete strength grade;
[0102] The writing formula for the basic calculation parameters is:
[0103] ξb = β1 / (1 + fy / (0.0033 * Es));
[0104] Calculate the compression zone height x, and judge the size relationship between x and 2as' through the operation node, where as' is the distance from the compression steel bar to the compression edge;
[0105] x = (fy * Asl - fy * Asy) / (α1 * fc * b).
[0106] S314. Through the Code Block node, judge the over-reinforced state, calculate the flexural bearing capacity and the tension steel bar reinforcement ratio ρs = Asl / Ac;
[0107] The calculation of the flexural bearing capacity considers three cases:
[0108] Case 1: When x < 2as', it is not over-reinforced, and the flexural bearing capacity is:
[0109] Mu = fy * Asl * (h0 - as') / γ0;
[0110] Case 2: When ξb * h0 ≥ x ≥ 2as', it is not over-reinforced, and the flexural bearing capacity is:
[0111] Mu = α1 * fc * b * x * (h0 - 0.5 * x) + fy * Asy * (h0 - as')
[0112] Case 3: When x > ξb * h0, it is over-reinforced. Assume x = ξb for calculation, and the flexural bearing capacity is:
[0113] Mu = α1 * fc * b * h0 * h0 * ξb * (1 - 0.5 * ξb) + fy * Asy * (h0 - ca).
[0114] S315. Through the Element.SetParameterByName node, assign the flexural bearing capacity, over-reinforced state, and tension reinforcement ratio to the corresponding structural beam model respectively, and then export the calculation data to an Excel file.
[0115] V. Display program nodes.
[0116] Therefore, the present invention adopts the above method for efficient concrete beam modeling and structural calculation based on Dynamo. By combining CAD drawings with the Dynamo program, a three-dimensional model of the concrete beam is established simply and quickly, and the structural design logic and calculation rules are written based on the Dynamo program to realize the calculation of the bearing capacity, thereby simplifying the design process and improving the modeling efficiency and the accuracy of structural calculation.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that they can still modify or equivalently replace the technical solutions of the present invention, and these modifications or equivalent replacements cannot make the modified technical solutions deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for efficient modeling and structural calculation of concrete beams based on Dynamo, characterized in that, It includes the following steps: S1. Automatically model the concrete structure beam based on Dynamo, specifically: S11. Process the CAD drawing, retain the beam edge line layer and the beam annotation layer, and import the drawing into the elevation plane where the components are located in Revit; S12. Run the program to obtain the concrete beam in CAD, input the content according to the prompt, and export and save the Excel file path of the concrete beam; S13. Batch-create the concrete beam, manually add the corresponding cross-section dimensions in the generated Excel file, and save it as a new file; S14. Run the batch-create concrete beam program: Select the concrete beam to be created and the Excel file, import the Excel file of the cross-section type dimensions, and enter the component cross-section type according to the table generated in Revit; S2. Run the concrete structure beam modeling program to perform the structure beam modeling; S3. Calculate the bearing capacity of the structural components: Calculate the shear bearing capacity and the flexural bearing capacity of the concrete structure beam; The program flow for calculating the shear bearing capacity of the concrete beam is as follows: S301. Add shared parameters to the structural beam family category in Revit, and the parameter fields are: concrete strength grade, stirrup steel grade, stirrup diameter, stirrup number of limbs, stirrup spacing, shear bearing capacity; S302. Run the Dynamo program, batch-import the calculation parameters in Excel, select all the structural beam models that need to be calculated and obtain their calculation parameters, and create a data parameter dictionary of the concrete strength grade and the steel grade; S303. Use the Code Block node to calculate the section control condition Vu1 and the bearing capacity control condition Vu2, and select the maximum value Vu from Vu1 and Vu2 through the List.MaximumItem node; S304. Calculate the shear bearing capacity, and through the Element.SetParameterByName node, assign it to the corresponding structural beam model respectively, and then export the calculation data to the Excel file; The program flow for calculating the flexural bearing capacity of the concrete beam is as follows: S311. Add shared parameters to the structural beam family category in Revit, and the parameter fields are: concrete strength grade, longitudinal steel grade, number of tension steel bars, diameter of tension steel bars, number of compression steel bars, diameter of compression steel bars, bending moment bearing capacity, tension steel bar reinforcement ratio, whether it is over-reinforced; S312. Run the Dynamo program, batch-import the calculation parameters in Excel, select all the structural beam models that need to be calculated and obtain their calculation parameters, and create a data parameter dictionary of the concrete strength grade and the steel grade; S313. Use the Code Block node to calculate the tension steel bars and the cross-sectional area of the tension steel bars respectively by writing the formula Asl = n * Pi * dst * dst / 4, and automatically select the calculation parameters α1 and β1 according to the concrete strength grade; S314. Through the Code Block node, judge the over-reinforced state, calculate the flexural bearing capacity and the tension steel bar reinforcement ratio ρs = Asl / Ac; In S315, through the Element.SetParameterByName node, the flexural bearing capacity, over-reinforced state, and tension steel reinforcement ratio are respectively assigned to the corresponding structural beam model, and then the calculation data is exported to an Excel file.
2. The method for efficient modeling and structural calculation of concrete beams based on Dynamo according to claim 1, characterized in that: The modeling program flow of the concrete structural beam is as follows: 1) Use the Select Model Elements node to select the CAD drawing; 2) Use the CAD.CurvesFromCADLayers node and the CADTextData.FromLayers node to filter the beam edge lines and beam layer data in the CAD drawing respectively; 3) Use the Curve.PointAtParameter node and the Geometry.DistanceTo node to calculate the midpoint distance of the beam edge lines; 4) Use the List.Sort node to sort the beam edge line distances from small to large, filter out the minimum distance, and combine the two closest beam edge lines pairwise; 5) Use the Vector.ByTwoPoints node and the Geometry.Translate node to draw the center line of the combined beam edge lines above and use it as the position line for creating the subsequent structural beam model; 6) Combine the CADTextData.TextValue node and the CADTextData.OriginPoint node to obtain the insertion point of the beam name text above and match it with the beam center line; 7) Use the Geometry.ClosestTo node to match the beam name insertion point and the beam center line by the feature with the closest distance; 8) Match the beam name with the beam family type in Revit through the FamilyType.Name node; 9) Finally, use the StructuralFraming.BeamByCurve node to automatically create the corresponding structural beam type in Revit through the beam center line and the beam family type.
3. The method for efficient modeling and structural calculation of concrete beams based on Dynamo according to claim 2, characterized in that: In step S303, The formula for writing the section control condition Vu1 is: When hw / b ≤ 4, Vu1 = 0.25 * βc * fc * b * h0 When hw / b ≥ 6, Vu1 = 0.2 * βc * fc * b * h0 When 4 < hw / b < 6, Vu1 is determined by linear interpolation N = 0.25 - ((a0 - 4) / (6 - 4)) * (0.25 - 0.2) Vu1 = N * βc * fc * b * h0; The formula for writing the bearing capacity control condition Vu2 is ρsv = Asv / (b * s) When ρsv < 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0; When ρsv ≥ 0.24 * ft / fyv, Vu2 = αcv * ft * b * h0 + fyv * Asv * h0 / s.
4. The method for efficient modeling and structural calculation of concrete beams based on Dynamo according to claim 3, characterized in that: In step S313, the formula for writing the basic calculation parameters is: ξb = β1 / (1 + fy / (0.0033 * Es)); Calculate the height x of the compression zone, and judge the size relationship between x and 2as' through the calculation node, where as' is the distance from the compression steel bar to the compression edge; x = (fy * Asl - fy * Asy) / (α1 * fc * b).
5. The method for efficient modeling and structural calculation of concrete beams based on Dynamo according to claim 4, wherein: In step S314, three cases are considered for the calculation of the flexural bearing capacity: Case 1: When x < 2as', it is not over-reinforced, and the flexural bearing capacity is: Mu = fy * Asl * (h0 - as') / γ0; Case 2: When ξb * h0 ≥ x ≥ 2as', it is not over-reinforced, and the flexural bearing capacity is: Mu = α1 * fc * b * x * (h0 - 0.5 * x) + fy * Asy * (h0 - as'); Case 3: When x > ξb * h0, it is over-reinforced. Assume x = ξb for calculation, and the flexural bearing capacity is: Mu = α1 * fc * b * h0 * h0 * ξb * (1 - 0.5 * ξb) + fy * Asy * (h0 - ca).
Citation Information
Patent Citations
Method for rapidly converting CAD structure plane into three-dimensional model based on DYNAMO
CN116883609A