Beam model simulation method and device, electronic equipment and computer readable storage medium
By segmenting and matching the properties of the beam model according to preset rules after geometric changes occur, the problem of not being able to simulate the dynamic changes of beam load in real time in traditional beam model simulation is solved, and higher accuracy beam load calculation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PERA
- Filing Date
- 2023-10-13
- Publication Date
- 2026-05-19
AI Technical Summary
Traditional beam model simulation methods cannot simulate the dynamic changes of beam load in real time during beam collisions, affecting the accuracy of the model.
After the beam model undergoes geometric changes, it is divided into sub-beams according to preset segmentation rules, and each sub-beam is matched as an Euler beam or Timoshenko beam according to preset matching rules. The beam load is calculated in real time, and the properties of each sub-beam are automatically selected and updated.
It improves the accuracy of beam model simulation and enables more accurate simulation of beam load calculations.
Smart Images

Figure CN117407955B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of finite element simulation technology, and in particular to beam model simulation methods, devices, electronic equipment, and computer-readable storage media. Background Technology
[0002] Traditional structural analysis typically uses a single-segment beam model to simplify calculations when calculating beam loads. Specifically, traditional beam models are mainly divided into Euler beams and Timoshenko beams. The Euler beam model assumes that bending deformation is the primary factor, while shear deformation is negligible. The Timoshenko beam model, on the other hand, considers the influence of shear force and can more accurately simulate beam behavior.
[0003] However, in some application scenarios, the beam model structure will change and form multiple segments. In particular, when the beam model collides, since the two models mentioned above are based on the assumption of a single beam segment, they cannot simulate the dynamic changes of beam load in real time, which affects the accuracy of the model.
[0004] Therefore, we urgently need a simulation method that can divide the beam model into multiple segments in real time and automatically select the beam properties of each segment, so as to more accurately simulate the calculation of beam loads. Summary of the Invention
[0005] To address or partially address the problems existing in related technologies, this application provides a beam model simulation method, apparatus, electronic device, and computer-readable storage medium. This method enables the beam model to be automatically segmented in real-time calculations after geometric changes occur, and automatically selects and updates the properties of each sub-beam segment, thereby more accurately simulating beam load calculations and improving the accuracy of the simulation process.
[0006] The first aspect of this application provides a beam model simulation method, applied to the calculation of beam loads during a collision, including:
[0007] Obtain the target beam model to be processed;
[0008] The target beam model is divided into at least one sub-beam according to the preset segmentation rules, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to the preset matching rules. The beam load of all sub-beams is calculated.
[0009] Based on the beam loads of all sub-beams, obtain the beam load data of the target beam model.
[0010] In some implementations, the step of dividing the target beam model into at least one sub-beam according to a preset segmentation rule, and matching each sub-beam as an Euler beam or a Timoshenko beam according to a preset matching rule, and calculating the beam load of all sub-beams, includes:
[0011] Within a preset detection time, the target beam model is subjected to multiple beam load calculations according to a preset time step. In each beam load calculation, the target beam model is divided into at least one sub-beam according to a preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule. The beam load of all sub-beams is then calculated.
[0012] The step of obtaining the beam load data of the target beam model based on the beam loads of all sub-beams includes:
[0013] The beam load data of the target beam model is obtained by calculating the beam loads of all sub-beams through multiple beam load calculations on the target beam model.
[0014] In some implementations, dividing the target beam model into at least one sub-beam according to a preset segmentation rule includes:
[0015] Based on the detection that the first model parameter of the target beam model reaches the preset segmentation threshold, the target beam model is divided into at least one sub-beam according to the preset segmentation rules.
[0016] In some implementations, the first model parameter is the deviation value of the beam element vector pointing;
[0017] If the deviation of the beam element vector between two adjacent beam elements in the target beam model reaches a preset segmentation threshold, the target beam model is divided into two sub-beams using the node between the two adjacent beam elements as the dividing point.
[0018] In some implementations, matching each sub-beam segment as an Euler beam or a Timushenko beam according to a preset matching rule includes:
[0019] Detect all sub-beams. If the second model parameter of the current sub-beam reaches the preset beam type threshold, match the beam attribute of the current sub-beam to an Euler beam.
[0020] If the second model parameter of the current segment beam is not found to meet the preset beam type threshold, the beam attribute of the current segment beam will be matched as a Timoshenko beam.
[0021] In some implementations, the method further includes:
[0022] When the beam attribute of the current segment beam is matched as a Timoshenko beam, a preset shear coefficient is matched according to the cross-sectional type of the current segment beam.
[0023] In some implementations, the method further includes:
[0024] The beam load data of the target beam model is stored in the database so that the beam loads of all sub-beams corresponding to the current time step can be queried according to the time step.
[0025] A second aspect of this application provides a beam model simulation device for calculating beam loads during a collision process, including:
[0026] The acquisition module is used to acquire the target beam model to be processed;
[0027] The calculation module is used to divide the target beam model into at least one sub-beam according to a preset segmentation rule, and match each sub-beam as an Euler beam or a Timoshenko beam according to a preset matching rule, and calculate the beam load of all sub-beams.
[0028] The output module is used to obtain the beam load data of the target beam model based on the beam loads of all sub-beams.
[0029] A third aspect of this application provides an electronic device, comprising:
[0030] Processor; and
[0031] A memory that stores executable code, which, when executed by the processor, causes the processor to perform the method described above.
[0032] A fourth aspect of this application provides a computer-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described above.
[0033] The technical solution provided in this application may include the following beneficial effects:
[0034] The technical solution of this application, after obtaining the beam model to be processed, divides the target beam model into at least one sub-beam according to a preset segmentation rule, and matches each sub-beam as an Euler beam or a Timoshenko beam according to a preset matching rule. This enables the beam model to be automatically segmented in real-time calculation after geometric changes occur during the simulation process, and the properties of each sub-beam to be automatically selected and updated, thereby simulating the beam load calculation of the beam model more accurately and improving the accuracy of the simulation process.
[0035] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0036] The above and other objects, features and advantages of this application will become more apparent from the more detailed description of exemplary embodiments thereof in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments thereof.
[0037] Figure 1 This is a schematic flowchart illustrating the beam model simulation method in an embodiment of this application;
[0038] Figure 2 This is another schematic flowchart illustrating the beam model simulation method shown in the embodiments of this application;
[0039] Figure 3 This is another schematic flowchart illustrating the beam model simulation method shown in the embodiments of this application;
[0040] Figure 4 This is a schematic diagram of the beam model simulation device shown in the embodiments of this application;
[0041] Figure 5 This is another structural schematic diagram of the beam model simulation device shown in the embodiments of this application;
[0042] Figure 6 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. Detailed Implementation
[0043] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While embodiments of this application are shown in the drawings, it should be understood that this application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make this application more thorough and complete, and to fully convey the scope of this application to those skilled in the art.
[0044] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0045] It should be understood that although the terms "first," "second," "third," etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0046] In related technologies, single-segment beam models are usually used to simplify calculations. Traditional beam models are mainly divided into Euler beams and Timoshenko beams. The beam model structure will change and form multiple segments. In particular, when the beam model is involved in a collision, the above two models are based on the assumption of a single-segment beam for simulation, which cannot simulate the dynamic changes of beam load in real time, thus affecting the accuracy of the model.
[0047] The Euler beam model is a physical model describing the bending motion of a long, narrow object. Based on the plane section assumption, bending is the primary deformation, and the effect of shear deformation is ignored in practical applications. The Euler beam model primarily assumes that the object is slender and rigid, capable of bending freely in a plane. Its geometry is typically simplified to one dimension. In the Euler beam model, all lateral displacements are caused by bending, adhering to the plane section assumption.
[0048] The Timoshenko beam model describes a physical model that considers shear deformation. Specifically, the displacement and rotation angle of the Timoshenko beam are independently interpolated, rather than obtained from the derivative of the displacement. The Timoshenko beam primarily considers shear deformation, and the displacement and rotation angle are independently interpolated, not obtained from the derivative of the displacement.
[0049] To address the aforementioned issues, this application provides a beam model simulation method that can automatically segment the beam model during real-time calculations after geometric changes occur, and automatically select and update the properties of each sub-beam segment, thereby more accurately simulating beam load calculations and improving the accuracy of the simulation process.
[0050] The technical solutions of the embodiments of this application are described in detail below with reference to the accompanying drawings.
[0051] Figure 1 This is a schematic flowchart illustrating the beam model simulation method in an embodiment of this application.
[0052] See Figure 1 The beam model simulation method of this application is applied to the calculation of beam loads during collisions, including:
[0053] S110, Obtain the target beam model to be processed.
[0054] The target beam model to be processed can be a single beam model used in the collision simulation. During the collision simulation, the target beam model will bend due to the force at the collision point.
[0055] It should be understood that the target beam model can be a one-dimensional model or a three-dimensional model, or it can be a model based on data obtained through measurement in an actual engineering project.
[0056] In some implementations, the target beam model may bend at least once during the collision simulation, thus dividing the target beam model into at least two straight beam segments. For example, the target beam model may undergo two collisions, thereby dividing it into three straight beam segments.
[0057] S120: Divide the target beam model into at least one sub-beam according to the preset segmentation rules, and match each sub-beam as an Euler beam or a Timoshenko beam according to the preset matching rules, and calculate the beam load of all sub-beams.
[0058] According to the preset segmentation rules, the target beam model is divided into at least one sub-beam. That is, when the target beam model does not collide, it can be used as a sub-beam in subsequent calculations of this method. When the target beam model experiences at least one collision, it can be divided into at least two sub-beams.
[0059] It should be understood that each segment of the beam after division can be regarded as an independent mechanical model with its own mechanical properties, such as elastic modulus, Poisson's ratio, and density. It should also be noted that each segment of the beam in this application is a straight beam.
[0060] After obtaining the target beam model, which has at least one sub-beam, each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule. That is, the beam properties of each sub-beam are matched to either an Euler beam or a Timoshenko beam. After matching all sub-beams, the beam load of each sub-beam is calculated.
[0061] In some implementations, the target beam model can be calculated multiple times within a preset detection time according to a preset time step. During each beam load calculation, the target beam model is divided into at least one sub-beam according to a preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule. The beam load of all sub-beams is then calculated. It can be understood that step S120 can be a real-time and repeatedly calculated operation, thus enabling real-time segmentation of the target beam model and real-time calculation of beam loads.
[0062] In some implementations, the target beam model may be divided into at least one sub-beam according to a preset segmentation rule based on the detection that the first model parameter of the target beam model has reached a preset segmentation threshold.
[0063] In some implementations, all sub-beams may be detected. If the second model parameter of the current sub-beam reaches a preset beam type threshold, the beam attribute of the current sub-beam may be matched as an Euler beam. If the second model parameter of the current sub-beam does not reach the preset beam type threshold, the beam attribute of the current sub-beam may be matched as a Timoshenko beam.
[0064] S130: Obtain beam load data for the target beam model based on the beam loads of all sub-beams.
[0065] After obtaining the beam loads of all sub-beams, the beam loads of all the sub-beams obtained above are output as beam load data of the target beam model, thereby obtaining the beam load data of the target beam model.
[0066] In some implementations, step S120 can be a real-time and repeatedly calculated process. That is, by repeatedly performing step S120, the beam loads of all sub-beams corresponding to the multiple calculation processes can be obtained. Thus, step S130 can obtain the beam load data of the target beam model based on the beam loads of all sub-beams at various sub-times obtained from multiple beam load calculations on the target beam model. It can be understood that step S130 can organize and record the beam loads of all sub-beams in the aforementioned multiple calculation processes, thereby obtaining the beam load data of the target beam model corresponding to the aforementioned multiple calculation processes. This allows for querying the beam loads of all sub-beams corresponding to different times or different calculation processes using the beam load data of the target beam model.
[0067] In this embodiment, the technical solution of this application, after obtaining the beam model to be processed, divides the target beam model into at least one sub-beam according to a preset segmentation rule, and matches each sub-beam as an Euler beam or a Timoshenko beam according to a preset matching rule. This enables the beam model to be automatically segmented in real-time calculation after geometric changes occur during the simulation process, and the properties of each sub-beam to be automatically selected and updated, thereby simulating the beam load calculation of the beam model more accurately and improving the accuracy of the simulation process.
[0068] Figure 2 This is another schematic diagram of the beam model simulation method shown in the embodiments of this application.
[0069] See Figure 2 The beam model simulation method of this application is applied to the calculation of beam loads during collisions, including:
[0070] S210, Obtain the target beam model to be processed.
[0071] The target beam model to be processed can be a single beam model used in the collision simulation. During the collision simulation, the target beam model will bend due to the force at the collision point.
[0072] S220, within a preset detection time, the target beam model is subjected to multiple beam load calculations according to a preset time step. During each beam load calculation, the target beam model is divided into at least one sub-beam according to a preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule, and the beam load of all sub-beams is calculated.
[0073] The preset detection time can be the same as the time of the collision simulation process in which the target beam model participates. In this way, by performing multiple beam load calculations on the target beam model within the preset detection time, and in each beam load calculation process, the target beam model is divided into segments, the corresponding beam attributes (beam types) of each segment are matched, and the beam loads of all sub-beams are calculated, thereby realizing real-time segmentation of the target beam model, matching of sub-beam attributes (beam types), and calculation of beam loads during the collision process.
[0074] Figure 3 This is another schematic diagram of the beam model simulation method shown in the embodiments of this application.
[0075] See also Figure 3 Specifically, each beam load calculation for the target beam model may include:
[0076] S221, adaptive time stepping.
[0077] S222, divide the target beam model into segments.
[0078] S223, match the corresponding beam attributes for each segment of the divided beam.
[0079] S224, calculate the beam load.
[0080] It should be understood that the process of dividing the target beam model into segments and matching each segment into an Euler beam or a Timoshenko beam is performed automatically.
[0081] Specifically, the process of segmenting the target beam model can include the following steps:
[0082] S2221, based on the detection that the first model parameter of the target beam model has reached the preset segmentation threshold, the target beam model is divided into at least one sub-beam according to the preset segmentation rules.
[0083] Set a preset segmentation threshold, detect whether the first model parameter of the target beam model reaches the preset segmentation threshold, thereby determining whether the target beam model needs to be segmented, and divide the target beam model into at least one sub-beam according to the preset division rules.
[0084] It is understandable that when the first model parameter in the target beam model does not reach the preset segmentation threshold, it means that the target beam model does not need to be divided into multiple segments. Instead, the target beam model is divided into a sub-beam, meaning that the target beam model itself is a complete sub-beam.
[0085] The first model parameter can be the deviation value of the beam element vector direction.
[0086] Beam models are generally composed of beam elements, which can be two-dimensional or three-dimensional structures. In other words, beam elements are generally the smallest structural units that make up a beam model. In this application, beam elements can refer to three-dimensional beam elements. Each beam element has inherent properties; as a three-dimensional structure, a beam element has a vector pointing direction. The deviation of a beam element's vector pointing direction can be understood as the deviation between the vector pointing directions of two adjacent beam elements. For example, given two adjacent beam elements A and B, the difference between the vector pointing directions of beam element A and beam element B is the deviation of beam element A's vector pointing direction relative to beam element B.
[0087] Furthermore, the process of segmenting the target beam model can include the following steps:
[0088] S22211, based on the detection that the deviation value of the beam element vector pointing between two adjacent beam elements in the target beam model reaches the preset segmentation threshold, the target beam model is divided into two sub-beams using the node between the two adjacent beam elements as the dividing point.
[0089] When the deviation between the vector directions of two adjacent beam elements in the target beam model exceeds a preset segmentation threshold, the corresponding sub-beam is considered to have bent and needs to be divided into two connected sub-beams. It is important to note that both re-divided sub-beams are straight beams.
[0090] In practical applications, beam models are typically composed of a large number of beam elements. This means that, given the specific application, the beam model is generally quite long, and the number of beam elements comprising the target beam model is also large. Therefore, the target beam model can be bent into multiple segments. Within each segment, the deviation of the beam element vector pointing between two adjacent beam elements must be less than a preset segmentation threshold. In this way, multiple connected beam elements can be considered to be within the same segment. It can be understood that the beam element vector pointing between two adjacent sub-segments will also be different.
[0091] After segmentation, each independent sub-beam can be used as an independent beam model for beam load calculation.
[0092] In some implementations, when the target beam model bends, the resulting arc portion at the bend is smaller than the arc portion of the target beam model at the bend, and can be replaced by point connections. Replacing the arc portion with point connections reduces the computational complexity during simulation and is applicable to various complex beam models. This significantly improves simulation efficiency while maintaining accuracy. For example, by extending lines from the ends of the sub-beams at both ends of the arc portion to obtain intersection points, the extended lines and intersection points are used to replace the arc portion for simulation calculations. It should be understood that the above replacement process can be performed before segmenting the target beam model or before calculating beam loads.
[0093] Specifically, the process of matching the corresponding beam attributes to each segment of the beam after division can include the following steps:
[0094] S2231, Detect all sub-beams. If the second model parameter of the current sub-beam reaches the preset beam type threshold, match the beam attribute of the current sub-beam as an Euler beam. If the second model parameter of the current sub-beam does not reach the preset beam type threshold, match the beam attribute of the current sub-beam as a Timoshenko beam.
[0095] It should be noted that after dividing the target beam model into multiple segments, the process of matching beam attributes for all sub-beams in the target beam model can be performed according to the connection order or without regard to the order. In other words, the process of matching each sub-beam as an Euler beam or a Timoshenko beam has no other impact on the subsequent beam load calculation of the target beam model.
[0096] The second model parameter is used to determine whether the corresponding sub-beam needs to be matched as an Euler beam or a Timoshenko beam. The second model parameter can be the span-to-depth ratio of the beam.
[0097] The span-to-depth ratio is the ratio of the calculated span of a simply supported beam to its cross-sectional height. The span-to-depth ratio typically affects the stability of the beam. In practical applications, the Timoshenko beam considers constant shear strain, while the Euler beam assumes infinite shear stiffness and no shear strain. Shear strain, on the other hand, refers to the mechanical quantity used to describe the degree of deformation at a point in an object under stress. This deformation is generally not uniform across different points within the object. Shear strain can be understood as the change in the angle between two perpendicular surfaces, expressed in radians, after deformation under stress.
[0098] Specifically, although both Timoshenko beams and Euler beams adopt the plane section assumption, for sections that are perpendicular to the central axis before deformation, the Euler model assumes that they remain perpendicular to the central axis after deformation, while the Timoshenko beam assumes that they are no longer perpendicular and a shear strain term appears.
[0099] In some implementations, the preset beam type threshold can be set to 5. That is, when the span-to-depth ratio of the sub-beam reaches 5, the current segment is matched as an Euler beam; if the span-to-depth ratio of the sub-beam is less than 5, the current segment is matched as a Timoshenko beam. It can be understood that when the span-to-depth ratio of the beam is greater than 5, the beam is primarily controlled by bending and can be simulated using an Euler beam. However, when the span-to-depth ratio of the beam is less than 5, the beam exhibits significant shear deformation, and a Timoshenko beam can be used for simulation.
[0100] It should be noted that the beam model requires the use of shear coefficients during beam load calculations, especially when the beam model is calculated as a Timoshenko beam. In this application, when a sub-beam is matched as an Euler beam, the Timoshenko shear coefficient for that sub-beam segment is set to zero by default. When a sub-beam is matched as a Timoshenko beam, a preset shear coefficient can be matched according to the cross-sectional type of that sub-beam segment.
[0101] In some implementations, when matching the beam properties of the current segment beam as a Timoshenko beam, a preset shear coefficient can be matched based on the cross-sectional type of the current segment beam. Specifically, the preset shear coefficient can be set according to the cross-sectional types of the sub-beams present in actual applications.
[0102] For example, when the beam cross-section is a thin-walled hollow circle, the shear coefficient of the Timoshenko beam is 2; when the beam cross-section is a solid circle, the shear coefficient of the Timoshenko beam is 10 / 9; and when the beam cross-section is a solid rectangle, the shear coefficient of the Timoshenko beam is 6 / 5.
[0103] It can be understood that the cross-sectional type of the sub-beam is the same as the cross-sectional type of the target beam model. When the target beam model to be processed is obtained, the cross-sectional type of the target beam model can be obtained at the same time. In this way, when the sub-beam is matched as a Timoshenko beam for calculation, the Timoshenko beam shear coefficient corresponding to that sub-beam segment can be obtained.
[0104] S230: Obtain beam load data for the target beam model based on the beam loads of all sub-beams obtained from multiple beam load calculations on the target beam model.
[0105] After obtaining the beam loads of all sub-beams from the target beam model through multiple beam load calculations, the beam loads of all the sub-beams obtained above are output as the beam load data of the target beam model, thereby obtaining the beam load data of the target beam model.
[0106] S240, store the beam load data of the target beam model into the database so that the beam loads of all sub-beams corresponding to the current time step can be queried according to the time step.
[0107] The acquired beam load data of the target beam model corresponds to multiple calculations of the target beam model, with each calculation performed at a preset time step. After storing the acquired beam load data in a database, the beam loads of all sub-beams corresponding to the current time step or time interval can be queried based on the preset time step or time interval. Recording the beam load data of the target beam model acquired during the calculation process in this way allows for easy tracking of beam load changes during simulation, meeting more user needs.
[0108] In this embodiment, the technical solution of this application, after obtaining the beam model to be processed, performs multiple beam load calculations on the target beam model according to a preset time step within a preset detection time. In each calculation process, the target beam model is divided into segments, and the corresponding beam attributes (beam types) of each segment are matched and the beam loads of all sub-beams are calculated. This enables real-time segmentation of the target beam model during the collision process, matching of sub-beam attributes (beam types), and calculation of beam loads, thereby more accurately simulating the beam load calculation of the beam model and improving the accuracy of the simulation process.
[0109] Corresponding to the aforementioned application function implementation method embodiments, this application also provides a beam model simulation device, electronic device, and corresponding embodiments.
[0110] Figure 4 This is a schematic diagram of the beam model simulation device shown in the embodiments of this application.
[0111] See Figure 4 The beam model simulation device 300 of this application includes: an acquisition module 310, a calculation module 320, and an output module 330.
[0112] The acquisition module 310 is used to acquire the target beam model to be processed.
[0113] The target beam model to be processed can be a single beam model used in the collision simulation. During the collision simulation, the target beam model will bend due to the force at the collision point.
[0114] It should be understood that the target beam model can be a three-dimensional model or a model based on data obtained through measurement in an actual engineering project.
[0115] In some implementations, the target beam model acquired by the acquisition module 310 may undergo at least one bending during the collision simulation, thus dividing the target beam model into at least two straight beam segments. For example, the target beam model may undergo two collisions, thereby dividing it into three straight beam segments.
[0116] The calculation module 320 is used to divide the target beam model into at least one sub-beam according to the preset segmentation rules, and match each sub-beam as an Euler beam or a Timoshenko beam according to the preset matching rules, and calculate the beam load of all sub-beams.
[0117] In some embodiments, the calculation module 320 can perform multiple beam load calculations on the target beam model within a preset detection time according to a preset time step. During each beam load calculation, the target beam model is divided into at least one sub-beam according to a preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule, and the beam load of all sub-beams is calculated. In some embodiments, each beam load calculation of the target beam model by the calculation module 320 may include:
[0118] S221, adaptive time stepping.
[0119] S222, divide the target beam model into segments.
[0120] S223, match the corresponding beam attributes for each segment of the divided beam.
[0121] S224, calculate the beam load.
[0122] The preset detection time can be the same as the time of the collision simulation process in which the target beam model participates. In this way, the calculation module 320 performs multiple beam load calculations on the target beam model within the preset detection time. During each beam load calculation, the target beam model is divided into segments, and the corresponding beam attributes (beam types) of each segment are matched and the beam loads of all sub-beams are calculated. This enables the target beam model to be segmented in real time, sub-beam attributes (beam types) are matched, and beam loads are calculated during the collision process.
[0123] In some implementations, the calculation module 320 can divide the target beam model into at least one sub-beam according to a preset division rule based on the detection that the first model parameter of the target beam model has reached a preset segmentation threshold. The preset segmentation threshold is set, and the module detects whether the first model parameter of the target beam model reaches the preset segmentation threshold to determine whether the target beam model needs to be segmented. The target beam model is then divided into at least one sub-beam according to the preset division rule. The first model parameter can be the deviation value of the beam element vector pointing.
[0124] In some implementations, the calculation module 320 can divide the target beam model into two sub-beams based on the detected deviation of the beam element vector pointing between two adjacent beam elements reaching a preset segmentation threshold, using the node between these two adjacent beam elements as the dividing point. When the detected deviation of the beam element vector pointing between two adjacent beam elements in the target beam model exceeds the preset segmentation threshold, it can be considered that the corresponding sub-beam has bent and needs to be divided into two connected sub-beams. It should be noted that both sub-beams in the re-divided model are straight beams.
[0125] In some implementations, the calculation module 320 can detect all sub-beams. If the second model parameter of the current sub-beam segment reaches a preset beam type threshold, the beam attribute of the current sub-beam segment is matched as an Euler beam; if the second model parameter of the current sub-beam segment does not reach the preset beam type threshold, the beam attribute of the current sub-beam segment is matched as a Timoshenko beam. The second model parameter can be the span-to-depth ratio of the beam.
[0126] Output module 330 is used to obtain beam load data of the target beam model based on the beam loads of all sub-beams.
[0127] After acquiring the beam loads of all sub-beams, the output module 330 outputs the beam loads of all sub-beams as beam load data of the target beam model, thereby obtaining the beam load data of the target beam model.
[0128] In some implementations, the output module 330 can, after obtaining the beam loads of all sub-beams obtained from multiple beam load calculations of the target beam model, output the beam loads of all sub-beams obtained above as beam load data of the target beam model, thereby obtaining the beam load data of the target beam model.
[0129] Figure 5 This is another structural schematic diagram of the beam model simulation device shown in the embodiments of this application.
[0130] See Figure 5 In some other embodiments, the beam model simulation device 300 of this application may also include a query module 340.
[0131] The query module 340 is used to store the beam load data of the target beam model obtained by the output module 330 into the database, so as to query the beam load of all sub-beams corresponding to the current time step in the beam load data of the target beam model according to the time step.
[0132] The acquired beam load data of the target beam model corresponds to multiple calculations of the target beam model, with each calculation performed at a preset time step. After storing the acquired beam load data in a database, the beam loads of all sub-beams corresponding to the current time step or time interval can be queried based on the preset time step or time interval. Recording the beam load data of the target beam model acquired during the calculation process in this way allows for easy tracking of beam load changes during simulation, meeting more user needs.
[0133] In this embodiment, the technical solution of this application, after obtaining the beam model to be processed, divides the target beam model into at least one sub-beam according to a preset segmentation rule, and matches each sub-beam as an Euler beam or a Timoshenko beam according to a preset matching rule. This enables the beam model to be automatically segmented in real-time calculation after geometric changes occur during the simulation process, and the properties of each sub-beam to be automatically selected and updated, thereby simulating the beam load calculation of the beam model more accurately and improving the accuracy of the simulation process.
[0134] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated further here.
[0135] Figure 6 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application.
[0136] See Figure 6 The electronic device 1000 includes a memory 1010 and a processor 1020.
[0137] The processor 1020 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0138] Memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by processor 1020 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, a high-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.
[0139] The memory 1010 stores executable code, which, when processed by the processor 1020, can cause the processor 1020 to execute part or all of the methods described above.
[0140] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.
[0141] Alternatively, this application may be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) storing executable code (or computer program or computer instruction code) thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the steps of the methods described above according to this application.
[0142] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A beam model simulation method, applied to calculate beam loads during collisions in a beam model, characterized in that, include: Obtain the target beam model to be processed; The target beam model is divided into at least one sub-beam according to a preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to a preset matching rule. The beam load of all sub-beams is calculated. This includes performing multiple beam load calculations on the target beam model within a preset detection time according to a preset time step. In each beam load calculation, the target beam model is divided into at least one sub-beam according to the preset segmentation rule, and each sub-beam is matched as an Euler beam or a Timoshenko beam according to the preset matching rule. The beam load of all sub-beams is then calculated. The step of dividing the target beam model into at least one sub-beam according to a preset segmentation rule includes: dividing the target beam model into at least one sub-beam according to a preset segmentation rule based on the detection that a first model parameter of the target beam model has reached a preset segmentation threshold, wherein the first model parameter is the deviation value of the beam element vector pointing. The step of matching each sub-beam segment as an Euler beam or a Timushenko beam according to a preset matching rule includes: Detect all sub-beams. If the second model parameter of the current sub-beam reaches the preset beam type threshold, match the beam attribute of the current sub-beam as an Euler beam. If the second model parameter of the current sub-beam does not reach the preset beam type threshold, match the beam attribute of the current sub-beam as a Timoshenko beam. The second model parameter is the span-to-depth ratio of the beam. Based on the beam loads of all sub-beams, obtain the beam load data of the target beam model, including: obtaining the beam load data of the target beam model based on the beam loads of all sub-beams obtained by performing multiple beam load calculations on the target beam model.
2. The method according to claim 1, characterized in that: If the deviation of the beam element vector between two adjacent beam elements in the target beam model reaches a preset segmentation threshold, the target beam model is divided into two sub-beams using the node between the two adjacent beam elements as the dividing point.
3. The method according to claim 1, characterized in that, The method also includes: When the beam attribute of the current segment beam is matched as a Timoshenko beam, a preset shear coefficient is matched according to the cross-sectional type of the current segment beam.
4. The method according to any one of claims 1 to 3, characterized in that, The method also includes: The beam load data of the target beam model is stored in the database so that the beam loads of all sub-beams corresponding to the current time step can be queried according to the time step.
5. A beam model simulation device, used for calculating beam loads during collisions in a beam model, characterized in that, include: The acquisition module is used to acquire the target beam model to be processed; The calculation module is used to divide the target beam model into at least one sub-beam according to a preset segmentation rule, and match each sub-beam segment as an Euler beam or a Timoshenko beam according to a preset matching rule, and calculate the beam load of all sub-beams. This includes: performing multiple beam load calculations on the target beam model within a preset detection time according to a preset time step, wherein in each beam load calculation process, the target beam model is divided into at least one sub-beam according to the preset segmentation rule, and each sub-beam segment is matched as an Euler beam or a Timoshenko beam according to the preset matching rule, and the beam load of all sub-beams is calculated. The step of dividing the target beam model into at least one sub-beam according to a preset segmentation rule includes: dividing the target beam model into at least one sub-beam according to a preset segmentation rule based on the detection that a first model parameter of the target beam model has reached a preset segmentation threshold, wherein the first model parameter is the deviation value of the beam element vector pointing. The step of matching each sub-beam segment as an Euler beam or a Timushenko beam according to a preset matching rule includes: Detect all sub-beams. If the second model parameter of the current sub-beam reaches the preset beam type threshold, match the beam attribute of the current sub-beam as an Euler beam. If the second model parameter of the current sub-beam does not reach the preset beam type threshold, match the beam attribute of the current sub-beam as a Timoshenko beam. The second model parameter is the span-to-depth ratio of the beam. The output module is used to obtain beam load data of the target beam model based on the beam loads of all sub-beams, including: obtaining beam load data of the target beam model based on the beam loads of all sub-beams obtained by performing multiple beam load calculations on the target beam model.
6. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-4.
7. A computer-readable storage medium having executable code stored thereon, characterized in that: When the executable code is executed by the processor of the electronic device, the processor performs the method as described in any one of claims 1-4.