Concrete model generation method and device, equipment, storage medium and product
By generating aggregates in steps and using fall simulation technology, the problem that the existing technology of small and medium-sized aggregates cannot be generated in the gaps of large-sized aggregates is solved, and the efficient generation of random aggregate models is achieved, which improves the generation efficiency and the authenticity of the model.
Patent Information
- Application Number
- CN202510429259.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-04-08
AI Technical Summary
In the prior art, when generating concrete models, small-particle-sized aggregates cannot be generated in the gaps of large-particle-sized aggregates during the fall of aggregates, resulting in volume loss and the random aggregate models cannot be generated efficiently.
By obtaining aggregate particle size information, initial concrete model and preset aggregate volume proportion, aggregate is generated in steps until the preset volume proportion is reached, and the whereabouts simulation technology is used to ensure the reasonable distribution of aggregate in the concrete model.
It realizes efficient generation of random aggregate models, reduces the complexity of the algorithm, simplifies the generation process, and improves the generation efficiency and the authenticity of the model.
Smart Images

Figure CN119939685A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment, storage medium and product for generating a concrete model. Background Art
[0002] Large-scale projects such as reservoir dams, nuclear power plants, heavy industrial infrastructure, national defense facilities, and large bridge foundations usually need to withstand huge pressure and loads. The single structure of mass concrete is large, and the concrete is large and thick, which can provide sufficient rigidity to ensure the stability and long-term bearing capacity of the structure. However, the performance test of mass concrete is very expensive, and numerical simulation technology can greatly reduce the test cost. Therefore, the numerical simulation technology of mass concrete components is gradually developing.
[0003] In the concrete vibration process, the purpose of vibration is to rearrange the aggregates and mortar in the concrete through vibration, thereby improving the density of the concrete. In the prior art, a physical model can be used to simulate vibration to generate a high-density concrete micro-model. Compared with the physical model, the mathematical model is more efficient and better controllable. However, in the actual vibration process, the aggregate is bonded by the mortar, and the actual falling distance is extremely small. "Falling" refers to the change in position of the aggregate due to gravity during the vibration process. The prior art has spatial limitations. During the falling process, small-sized aggregates cannot be generated in the gaps of the lower large-sized aggregates, which will cause a certain amount of volume loss and cannot efficiently generate a random aggregate model. Summary of the invention
[0004] The embodiments of the present application provide a concrete model generation method, device, equipment, storage medium and product, which can efficiently generate a random aggregate model.
[0005] In a first aspect, the present application provides a method for generating a concrete model, the method comprising: Obtaining aggregate particle size information, an initial concrete model, and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete model; Generating aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold value, wherein the first threshold value is one third of the preset aggregate volume ratio, and the aggregate volume ratio represents the volume ratio of the currently generated aggregates in the concrete model; According to the preset falling time and the bottom boundary of the concrete test block, aggregate falling simulation is performed to obtain a first concrete model; Generating aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold value, where the second threshold value is two-thirds of the preset aggregate volume ratio; According to the preset falling time and the bottom boundary of the concrete test block, the aggregate falling simulation is performed to obtain a second concrete model; Aggregates are generated in the second concrete model according to the aggregate particle size information until the aggregate volume ratio reaches the preset aggregate volume ratio, thereby obtaining a final concrete model.
[0006] In some possible implementations, generating aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold includes: According to the aggregate particle size range corresponding to the aggregate particle size information, a target particle size value is randomly selected; Determining the center point coordinates of aggregates in the initial concrete model; Generating aggregate according to the center point coordinates and the target particle size value; Continue to randomly select a target particle size value according to the aggregate particle size range corresponding to the aggregate particle size information, and generate aggregate again until the aggregate volume proportion reaches a first threshold.
[0007] In some possible implementations, generating aggregate according to the center point coordinates and the target particle size value includes: Determine the position of the aggregate to be generated according to the center point coordinates and the target particle size value, and judge whether the aggregate to be generated overlaps with the existing aggregate; In the case where the aggregate to be generated overlaps with the existing aggregate, determining the distance between the center point coordinates of the aggregate to be generated and the corresponding overlapping aggregate; When the distance satisfies a preset condition, updating the target particle size value according to the distance so that the aggregate to be generated and the overlapping aggregate no longer overlap; Aggregates are generated according to the center point coordinates and the updated target particle size value.
[0008] In some possible implementations, the aggregate is a tetrahedral aggregate, and generating the aggregate according to the center point coordinates and the target particle size value includes: Taking the center point coordinates as the center of the circle, a sphere is generated according to the target particle size value; Randomly generate a hexahedron inscribed in the sphere; Calculating the geometric center point of the hexahedron according to the vertex coordinates of the inscribed hexahedron; Based on the geometric center point, make extension lines along the normal vectors of each face to determine the extension points corresponding to the six faces; Each of the extension points is connected to the vertices of the inscribed hexahedron of the corresponding face to generate a 24-hedron aggregate.
[0009] In some possible implementations, performing aggregate falling simulation according to a preset falling time and a bottom boundary of a concrete test block to obtain a first concrete model includes: Mark the aggregates whose distance from the bottom boundary of the concrete specimen is less than a preset threshold; For each unlabeled aggregate, perform the following steps: Moving the aggregate, causing the aggregate to drop a preset distance; determining the distance between the aggregate and other aggregates; Determining the final position of the aggregate according to the distance between the aggregate and other aggregates; According to the preset time interval, the falling time is increased; When the falling time is less than the preset falling time, continue the falling process and increase the falling time; In a case where the falling time is greater than or equal to the preset falling time, the current concrete model is determined as the first concrete model.
[0010] In some possible implementations, determining the final position of the aggregate according to the distance between the aggregate and other aggregates includes: Detecting whether the aggregate overlaps with other aggregates according to whether the distance between the aggregate and other aggregates is less than a preset threshold; When the aggregate overlaps with other aggregates, calculating the direction vector of the line connecting the center points of the aggregate and the overlapping aggregates; The aggregate is moved according to the direction vector so that the aggregate no longer overlaps with other aggregates, and a final position of the aggregate is determined.
[0011] In a second aspect, the present application provides a concrete model generating device, the device comprising: An acquisition module, used to acquire aggregate particle size information, an initial concrete model, and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete model; a generating module, configured to generate aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold value, wherein the first threshold value is one third of the preset aggregate volume ratio, and the aggregate volume ratio indicates the volume ratio of the currently generated aggregates in the concrete model; A simulation module, used for performing aggregate falling simulation according to a preset falling time and a bottom boundary of a concrete test block to obtain a first concrete model; The generating module is further used to generate aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold value, where the second threshold value is two-thirds of the preset aggregate volume ratio; The simulation module is also used to simulate the aggregate falling according to the preset falling time and the bottom boundary of the concrete test block to obtain a second concrete model; The generating module is further used to generate aggregates in the second concrete model according to the aggregate particle size information, until the aggregate volume ratio reaches the preset aggregate volume ratio, so as to obtain a final concrete model.
[0012] In a third aspect, the present application provides a concrete model generation device, the device comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the concrete model generation method described above.
[0013] In a fourth aspect, the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the concrete model generating method as described above is implemented.
[0014] In a fifth aspect, the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the concrete model generating method as described above.
[0015] The concrete model generation method, device, equipment, storage medium and product provided in the embodiments of the present application, through an optimized algorithm and a step-by-step generation method, do not require the assistance of a physical model, greatly reduce the complexity of the algorithm, simplify the generation process, and use an optimized algorithm and an aggregate model that is closer to the actual situation. The generation efficiency and the authenticity of the model are significantly improved, and at the same time, the efficient generation of a random aggregate model is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present application can be better understood from the following description of the specific embodiments of the present application in conjunction with the accompanying drawings, in which: Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features.
[0017] Figure 1 is a flow chart of a method for generating a concrete model provided by an embodiment of the present application; Figure 2 This is a schematic diagram of a 24-hedral aggregate generation process provided by an embodiment of the present application; Figure 3is a schematic diagram of a concrete model provided by another embodiment of the present application; Figure 4 is a schematic diagram of a concrete model generation process provided by another embodiment of the present application; Figure 5 is a schematic diagram of a concrete model provided by another embodiment of the present application; Figure 6 is a schematic cross-sectional view of a concrete model provided by another embodiment of the present application; Figure 7 is a structural schematic diagram of a concrete model generating device provided by an embodiment of the present application; Figure 8 It is a schematic diagram of the hardware structure of the concrete model generating device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0018] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0019] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include..." do not exclude the existence of other identical elements in the process, method, article or device including the above elements.
[0020] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, storage medium and product for generating a concrete model. The method for generating a concrete model provided by the embodiments of the present application is first introduced below.
[0021] Figure 1 FIG. 1 is a flow chart of a method for generating a concrete model according to an embodiment of the present application. Figure 1As shown, the method includes the following steps: S101 to S106.
[0022] S101: Obtaining aggregate particle size information, an initial concrete model, and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete model.
[0023] In a specific implementation, aggregate particle size information is usually obtained through input parameters or a database, and these particle size data determine the size distribution of the aggregate. The initial concrete model is a concrete model that does not include aggregates, and its size is predetermined. The preset aggregate volume ratio is the target aggregate volume ratio preset by the user, which is used to determine how to introduce aggregates into the concrete model.
[0024] S102: generating aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold, where the first threshold is one third of the preset aggregate volume ratio, and the aggregate volume ratio represents the volume ratio of the currently generated aggregates in the concrete model.
[0025] In a specific implementation, according to the particle size information obtained in step S101, aggregates of different particle sizes are gradually inserted into the initial concrete model according to their characteristics. During the process of inserting the aggregates into the initial concrete model, the current volume share is calculated in real time. When the volume of the aggregates filled into the model reaches a first threshold, the insertion process stops.
[0026] S103: performing aggregate falling simulation according to the preset falling time and the bottom boundary of the concrete test block to obtain a first concrete model.
[0027] In the specific implementation, the falling time is preset, that is, the duration of the process of the aggregate falling from the top to the bottom of the concrete test block. During the simulation process, the aggregate will finally obtain a new concrete model, that is, the first concrete model, according to the time, the falling speed, the bottom boundary of the concrete test block and other conditions.
[0028] S104: generating aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold, where the second threshold is two-thirds of the preset aggregate volume ratio.
[0029] In a specific implementation, based on the first concrete model, more aggregates are added again according to the particle size information. At this time, a method similar to that in S102 is used to continue inserting more aggregates into the model until the second threshold is reached. The second threshold is two-thirds of the preset aggregate volume.
[0030] S105: performing aggregate falling simulation according to the preset falling time and the bottom boundary of the concrete test block to obtain a second concrete model.
[0031] In a specific implementation, after the second filling, the falling simulation will continue to simulate the settlement of aggregates in concrete, and obtain a second concrete model with updated aggregate distribution and volume ratio.
[0032] S106: generating aggregates in the second concrete model according to the aggregate particle size information, until the volume proportion of the aggregates reaches the preset volume proportion of the aggregates, thereby obtaining a final concrete model.
[0033] In a specific implementation, according to the final preset aggregate volume ratio, the software continues to generate aggregates and add them to the second concrete model until the set ratio is reached to obtain the final concrete model.
[0034] The concrete model generation method provided in the embodiment of the present application, through an optimized algorithm and a step-by-step generation method, does not require the assistance of a physical model, greatly reduces the complexity of the algorithm, simplifies the generation process, and utilizes an optimized algorithm and an aggregate model that is closer to the actual situation, significantly improves the generation efficiency and the authenticity of the model, while achieving efficient generation of a random aggregate model.
[0035] In order to ensure the accuracy of the simulation process, in some implementations, the above S102 may include the following steps: S1021 to S1024.
[0036] S1021: According to the aggregate particle size range corresponding to the above aggregate particle size information, a target particle size value is randomly selected.
[0037] In a specific implementation, according to the aggregate particle size range corresponding to the above aggregate particle size information, for example, assuming that the aggregate particle size range is from 5mm to 10mm, then a particle size value is randomly selected from 5mm to 10mm, and a random number generator can be used to generate a floating particle size value within the range. For example, if the randomly generated value is 7.3mm, then this value is used as the particle size of the current aggregate to obtain the target particle size value.
[0038] S1022: Determine the center point coordinates of the aggregate in the initial concrete model.
[0039] In the specific implementation, in the simulation, the spatial positioning of the aggregate is usually performed by setting a three-dimensional grid. Each time an aggregate is generated, a suitable coordinate point is selected in the entire grid space as the center point coordinate of the aggregate.
[0040] S1023: Generate aggregate according to the above center point coordinates and the above target particle size value.
[0041] In the specific implementation, the shape is first selected, for example, the aggregate is set to be spherical. If the particle size value is 7.3 mm, then the diameter of the aggregate will be 7.3 mm. Use modeling tools to build the aggregate. The aggregate can be represented by a spherical three-dimensional geometric body, or a more complex geometric model can be used according to actual needs. According to the coordinates obtained in step S1022, the generated aggregate is placed at the position. At this time, the center point of the aggregate's geometric body is the coordinate determined above. If there are aggregates of multiple particle sizes, the aggregate shape and size of different particle sizes are controlled by parameter transfer to generate aggregates.
[0042] S1024: Return to the above S1021 and generate aggregate again until the aggregate volume ratio reaches the first threshold.
[0043] In the specific implementation, the total volume of all currently inserted aggregates is continuously calculated and compared with the total volume of the current concrete model. If the volume ratio does not reach the predetermined first threshold, new aggregates are continuously generated. Specifically, steps S1021 to S1023 are repeatedly executed, that is, a particle size value is randomly selected from the aggregate particle size range, and new aggregates are inserted into the concrete model according to the generated particle size and position. After each new aggregate is generated, the current volume ratio is recalculated until the aggregate volume ratio reaches the first threshold.
[0044] The above implementation method of the embodiment of the present application selects a target particle size value from a given particle size range through random number generation technology, randomly selects a valid position in the concrete model as the center point of the aggregate, and ensures that there is no overlap with other objects, generates aggregates according to the selected particle size value and position coordinates, forms a complete geometric model and inserts it into the concrete, continuously generates aggregates and inserts them into the concrete model until the volume proportion of the aggregate reaches a first threshold value, and finely controls the generation of aggregates through iteration to ensure that the final concrete model meets the design requirements while ensuring the accuracy of the simulation process.
[0045] In order to ensure that the generated aggregate does not overlap with the existing aggregate, in some embodiments, the above S1023 may include the following steps: S10231 to S10234.
[0046] S10231: According to the coordinates of the center point and the target particle size, the position of the aggregate to be generated is determined, and it is judged whether the aggregate to be generated overlaps with the existing aggregate.
[0047] In a specific implementation, the boundary of the aggregate to be generated is calculated according to the coordinates of the center point and the target particle size value. For example, the range of the aggregate to be generated can be regarded as a spherical center area with the center point as the center and the radius determined by the target particle size value. In order to determine whether the aggregate to be generated overlaps with the existing aggregate, distance detection can be used. Calculate the distance between the center point of the aggregate to be generated and the center point of the existing aggregate. If the distance between the two is less than the sum of the radii of the two, it means that they overlap.
[0048] S10232: When the aggregate to be generated overlaps with the existing aggregate, determine the distance between the center point coordinates of the aggregate to be generated and the corresponding overlapping aggregate.
[0049] In a specific implementation, if step S10231 determines that the aggregate to be generated overlaps with the existing aggregate, determine which existing aggregates overlap, and for each existing aggregate that overlaps, calculate the distance between the center point of the aggregate to be generated and the center point of the existing aggregate.
[0050] S10233: When the distance satisfies a preset condition, the target particle size value is updated according to the distance, so that the aggregate to be generated and the overlapping aggregate no longer overlap.
[0051] In a specific implementation, a preset distance condition is set, i.e., a maximum allowable overlap distance. If the distance calculated in step S10232 is less than the preset condition, the next step of adjusting the particle size is entered. Once it is detected that the aggregate to be generated overlaps with the existing aggregate, and the overlap distance is less than the preset condition, the target particle size value is updated so that the aggregate to be generated and the overlapping aggregate no longer overlap.
[0052] S10234: Generate aggregate according to the above center point coordinates and the updated target particle size value.
[0053] In a specific implementation, the boundary of the generated aggregate is recalculated according to the updated particle size value in step S10233. For the updated particle size, the spatial range of the aggregate can be redefined to ensure that it does not overlap with other aggregates, thereby generating the aggregate.
[0054] The above-mentioned implementation method of the embodiment of the present application determines the position of the aggregate to be generated according to the above-mentioned center point coordinates and the above-mentioned target particle size value, judges whether the above-mentioned aggregate to be generated overlaps with the existing aggregate, and determines the distance between the center point coordinates of the above-mentioned aggregate to be generated and the corresponding overlapping aggregate when the above-mentioned aggregate to be generated overlaps with the existing aggregate. When the above-mentioned distance meets the preset conditions, the above-mentioned target particle size value is updated according to the above-mentioned distance so that the above-mentioned aggregate to be generated and the above-mentioned overlapping aggregate no longer overlap. Finally, according to the above-mentioned center point coordinates and the updated target particle size value, aggregate is generated, and it is dynamically judged whether the aggregate to be generated overlaps with the existing aggregate, and the particle size and position are adjusted when they overlap, so as to ensure that the generated aggregate does not overlap with the existing aggregate.
[0055] In order to ensure that the final aggregate meets the target particle size and has the required geometric structure, in some embodiments, the above S1023 may include the following steps: S10231A to S10235A.
[0056] S10231A: Generate a sphere based on the target particle size value with the center point coordinates as the center of the circle.
[0057] In a specific implementation, after receiving the coordinates of the center point of the aggregate to be generated and the target particle size value, the boundary of the aggregate to be generated is calculated according to the target particle size value. The range of the aggregate to be generated can be regarded as a spherical area with the center point as the center and the radius determined by the target particle size.
[0058] S10232A: Generate a random hexahedron inscribed in the sphere.
[0059] The inscribed random hexahedron refers to a hexahedron that is inscribed in a sphere but has a specific shape that is randomly generated.
[0060] In a specific implementation, as an implementation method, in order to ensure that the hexahedron is inscribed in the sphere, the positions of the eight vertices of the hexahedron can be limited to the positions on the surface of the sphere, and then the coordinates of the eight vertices of the hexahedron are determined in a randomly generated manner on the surface of the sphere to generate a random hexahedron inscribed in the sphere.
[0061] S10233A: Calculate the geometric center point of the hexahedron according to the vertex coordinates of the inscribed hexahedron.
[0062] In the specific implementation, the hexahedron is defined by eight vertices, each face is composed of four vertices, and each face is a quadrilateral. The coordinates of the eight vertices can be traversed and their respective coordinates can be averaged to obtain the coordinates of the geometric center point of the hexahedron.
[0063] Specifically, the eight vertices are obtained by first determining a quadrilateral face and a point corresponding thereto, and then inferring the remaining three points based on the five vertices.
[0064] S10234A: Based on the geometric center point, draw extension lines along the normal vectors of each face to determine the extension points corresponding to each of the six faces.
[0065] In the specific implementation, each face has a normal vector, which can be determined by the vertex coordinates of the hexahedron. The normal vector is a vector perpendicular to the face, and the normal vector can be solved by the cross product of the two edges on the face. The normal vector is the normal line pointing from the geometric center point of the hexahedron to each face. Starting from the geometric center point, a perpendicular line is drawn along the direction of the normal vector of each face. The end points of these perpendicular lines will be the extension points in the sphere. The extension length of each perpendicular line is measured so that the perpendicular line intersects with the surface of the sphere. Specifically, the intersection point of the perpendicular line and the sphere can be solved by the sphere equation. According to the equation of the sphere, solve the intersection point of each perpendicular line with the sphere to determine each extension point.
[0066] S10235A: Connect each of the extension points to the vertices of the random hexahedron inscribed in the corresponding face to generate a 24-hedron aggregate.
[0067] In the specific implementation, for each extension point on the face, connect it with the four vertices on the face, that is, the vertices of the inscribed random hexahedron. Four triangles are generated for each face (each extension point and four vertices form a triangular face). In this way, 4 new triangles can be generated for each face. A total of 24 triangular faces are generated on the six faces, and the collection of these triangular faces constitutes a 24-hedron, thus generating a 24-hedron aggregate.
[0068] The above-mentioned implementation method of the embodiment of the present application generates an inscribed random hexahedron through multiple geometric calculations, and then deduces the geometric center point and calculates the extension point. Finally, a twenty-tetrahedron is constructed by connecting the extension point and the vertices, thereby ensuring that the final generated aggregate meets the target particle size and has the required geometric structure.
[0069] As another example, in some implementations, the above S1023 may include the following steps: The diagonal length of the target cube is determined according to the target particle size value, and the cube is generated based on the center point coordinates.
[0070] The body diagonal is a line segment formed by connecting the opposite vertices of the cube that is not on the same face. Its length determines the size of the generated cube and is also equivalent to the aggregate particle size.
[0071] In a specific implementation, the diagonal length of the cube is directly related to the target particle size value. Given the target particle size value, the diagonal length of the cube can be calculated, and based on the coordinates of the center point, the eight vertices of the cube are determined according to the diagonal length, and the geometric shape of the cube is defined by these vertices to generate a cube.
[0072] Based on the coordinates of the center point, perpendicular lines are drawn to the six faces of the cube according to the target particle size values to determine the extension points corresponding to the six faces.
[0073] In the specific implementation, starting from the geometric center point of the cube, draw a perpendicular line along the normal vector direction of each face until the perpendicular line intersects the surface of the sphere. The extension point will be outside the cube and on the surface of the sphere, and the extension points corresponding to the above six faces are obtained.
[0074] Each of the above extension points is connected to the cube vertices of the corresponding face to generate a 24-hedron aggregate.
[0075] In the specific implementation, for each face of the cube, the extension point is connected to the four vertices on the face to generate four triangles. Each face generates four triangles, so the six faces will generate a total of 24 triangular faces. These triangular faces together form a 24-hedron. Each face of the 24-hedron is composed of an extension point and four vertices of the cube. By connecting these vertices and the extension point, the aggregate of the 24-hedron is finally constructed.
[0076] In order to generate a reasonable concrete model, in some implementations, the above S103 may include the following steps: S1031 to S1037.
[0077] S1031: Mark the aggregates whose distance from the bottom boundary of the concrete test block is less than a preset threshold.
[0078] In the specific implementation, first, we need to obtain the coordinate position of the bottom boundary of the concrete test block, and for each aggregate, calculate the distance between its current position and the bottom of the concrete test block. Set a threshold, and if the distance of the aggregate is less than this threshold, the aggregate is marked as close to the bottom or has touched the bottom. For aggregates that meet the conditions, their status is marked as "has touched the bottom".
[0079] For each unmarked aggregate, the following steps S1032 to S1034 are performed respectively.
[0080] S1032: Move the aggregate and drop the aggregate a preset distance.
[0081] In a specific implementation, for unmarked aggregates, a preset drop distance is set, and the aggregates are moved according to the preset drop distance, and their current coordinates are updated to the new position.
[0082] As another example, if the falling process of aggregates is simulated by a physics engine, you may also need to check whether the aggregates collide or come into contact with other objects, which will affect the falling process.
[0083] S1033: Determine the distance between the above-mentioned aggregate and other aggregates.
[0084] In the specific implementation, for the current aggregate, all other aggregates are traversed and the distances between them are calculated.
[0085] S1034: Determine the final position of the aggregate according to the distance between the aggregate and other aggregates.
[0086] In the specific implementation, a distance threshold is set. If the calculated distance is less than the threshold, it means that the two aggregates are in contact or may collide. According to the collision detection result, the position of the aggregate is readjusted to stop the aggregate from falling or to offset it relative to other aggregates.
[0087] S1035: Increase the falling time according to the preset time interval.
[0088] In the specific implementation, the fallen time is initialized to zero. In each simulation cycle, the fallen time is increased according to the time step.
[0089] S1036: When the falling time is less than the preset falling time, continue to execute steps S1032 to S1034 respectively.
[0090] In a specific implementation, when the falling time is less than the preset falling time, the falling process of the aggregate is continued, and the position of the aggregate is continued to be updated.
[0091] S1037: When the falling time is greater than or equal to the preset falling time, the current concrete model is determined as the first concrete model.
[0092] In a specific implementation, when the falling time is greater than or equal to the preset falling time, the current concrete model (including the final positions and states of all aggregates) is determined as the first concrete model.
[0093] The above implementation of the embodiment of the present application simulates the falling process of aggregates in concrete, adjusts the position and state of aggregates according to preset conditions, and manages the simulation progress through time control. The key steps include calculating the distance between the aggregates and the bottom, simulating the falling of aggregates, detecting collisions between aggregates, and controlling the falling progress according to time, and finally generating a reasonable concrete model.
[0094] In order to accurately determine the final position of the aggregate, in some embodiments, the above S1034 may include the following steps: S10341 to S10343.
[0095] S10341: Detect whether the above-mentioned aggregate overlaps with other aggregates according to whether the distance between the above-mentioned aggregate and other aggregates is less than a preset threshold.
[0096] In the specific implementation, after calculating the distance, check whether it is less than the preset threshold. If the distance between the aggregates is less than the threshold, it is considered that they overlap and need further processing. Otherwise, skip the pair of aggregates and continue to detect other aggregate pairs.
[0097] S10342: When the above-mentioned aggregate overlaps with other aggregates, calculate the direction vector of the line connecting the above-mentioned aggregate and the center point of the overlapping aggregate.
[0098] In a specific implementation, when the above-mentioned aggregate overlaps with other aggregates, a direction vector is obtained according to a line connecting the above-mentioned aggregate and the center point of the overlapping aggregate.
[0099] S10343: Move the aggregate according to the direction vector so that the aggregate no longer overlaps with other aggregates, and determine the final position of the aggregate.
[0100] In a specific implementation, the movement amount of the aggregate needs to be related to the distance and the threshold. If the aggregates overlap, the actual movement amount may need to be determined based on the preset movement step or distance. By applying the movement amount to the current position of the aggregate, the new position of the aggregate can be obtained. In order to prevent the aggregate from being moved too far or out of a reasonable range, it can be checked whether there is still overlap after the move. If the aggregate still overlaps with other aggregates, it can continue to be adjusted until it no longer overlaps, and the final position of the above aggregate is determined.
[0101] The above-mentioned implementation method of the embodiment of the present application detects whether the above-mentioned aggregate overlaps with other aggregates according to whether the distance between the above-mentioned aggregate and other aggregates is less than a preset threshold value, and then calculates the direction vector of the line connecting the above-mentioned aggregate and the center point of the overlapping aggregate when the above-mentioned aggregate overlaps with other aggregates, and then moves the above-mentioned aggregate according to the above-mentioned direction vector so that the above-mentioned aggregate no longer overlaps with other aggregates, and determines the final position of the above-mentioned aggregate, and utilizes the three key steps of collision detection, direction calculation and movement adjustment to ultimately ensure that the aggregates no longer overlap and the final position can be accurately determined.
[0102] In one embodiment of the present application, the concrete test block is a cube, the side length SL of the cube concrete test block is set to 10, the preset volume proportion YT is 50%, the initial aggregate volume T is 0, the maximum value of the generated aggregate particle size is 2.5, and the minimum value is 0.5. The volume proportion of large-size aggregate maxYT is set to 45%, and particle size Dia and store them in the aggregate information matrix. The specific setting process is as follows: .
[0103] in, is a function that generates random numbers, usually uniformly distributed in the interval [0,1). Yes The generated random number is multiplied by 1.5 to get a random number in the interval [0,1.5).
[0104] .
[0105] in, It means to generate a random number matrix with 1 row and 3 columns, each element of which is a random number uniformly distributed in the interval [0,1), representing the coordinate values in the x, y, and z directions in three-dimensional space. Generate a random scale factor matrix with maximum side length Multiply them together to get a The three-dimensional vector that changes within the interval represents the relative position range of the center point of the aggregate inside the test block. Add them together and finally get the center point of the aggregate.
[0106] Calculate the distance between the placed aggregate and the existing aggregate, and determine whether the placed aggregate overlaps with the existing aggregate by the distance between the aggregates. If they completely overlap, delete the placed aggregate information and return to the step of setting the volume of the large-diameter aggregate; if they partially overlap and the distance from the center point to the surface of the existing aggregate is greater than the minimum diameter, keep the coordinates of the center point of the new aggregate , regenerate particle size , so that the added aggregate does not overlap with the existing aggregate; if they do not overlap, all information of the new aggregate is retained.
[0107] Calculate whether the aggregate volume ratio reaches If the requirement is not met, return to the step of setting the volume of large-size aggregate, otherwise proceed to the next step. Use the random function to randomly generate the center point of the spherical aggregate inside the test block. and particle size And store it in the aggregate information matrix. The specific setting process is as follows: ; ; Calculate the distance between the placed aggregate and the existing aggregate, and determine whether the placed aggregate overlaps with the existing aggregate based on the distance between the aggregates.
[0108] If they completely overlap, delete the aggregate information and return to the above step of randomly generating spherical aggregates; if they partially overlap and the distance from the center point to the surface of the existing aggregate is greater than the minimum particle size, keep the coordinates of the center point of the new aggregate , regenerate particle size , so that the added aggregate does not overlap with the existing aggregate; if they do not overlap, all information of the new aggregate is retained.
[0109] Calculate whether the aggregate volume ratio reaches the above preset volume ratio If the requirement is not met, return to the above step of randomly generating spherical aggregates, otherwise proceed to the next step.
[0110] After that, the spherical aggregate is degenerated into a polyhedral aggregate. The aggregate generation process can be referred to Figure 2 Specifically, an inscribed random hexahedron is generated inside the spherical aggregate, points are randomly selected on the six faces of the hexahedron, and extension points are obtained by extending to the sphere along the normal vector. The extension points and the vertices of the hexahedron are connected to form a 24-hedron aggregate model.
[0111] The method for selecting the inscribed random hexahedron is as follows: The center is divided into five parts along the x-axis, and the specific intervals are as follows: , , , , .
[0112] Here, Dia is the particle size of the spherical aggregate.
[0113] Afterwards, in Choose a larger quadrilateral at random within the circular surface of the region, and the larger quadrilateral must satisfy the requirement that the side length is not less than the radius of the circular surface. Any point in the circle of the region must satisfy , and then solve it by using the three points being coplanar The 6th, 7th and 8th points on the circular surface of the area are used to obtain the inscribed random hexahedron.
[0114] Then translate the vertices of the 24-hedron aggregate to the origin, and then generate a random rotation matrix. Multiply the translated vertex coordinates by the rotation matrix to get the rotated vertex coordinates, and then add the center coordinates of the aggregate to get the final vertex coordinates. The generated model can be referred to Figure 3 .
[0115] As another example of this application, a spherical aggregate model is used. This example is divided into three stages according to the preset percentage. Each stage generates an aggregate model with a volume ratio of about 1 / 3, and simulates vibration to achieve the purpose of quickly generating a high volume ratio aggregate model. First, set the model geometry parameters, including the test block size, aggregate particle size range, and the preset percentage is 0.65. You can refer to Figure 4 , where 301 is the state after aggregate is generated in the first stage; 302 is the state of aggregate after vibration in the first stage; 303 is the state after aggregate is continuously generated in the second stage; 304 is the state of aggregate after vibration in the second stage; 305 is the state after aggregate is continuously generated in the third stage; 306 is the state of aggregate after vibration in the third stage.
[0116] Specifically, the final volume fraction of the first stage is 0.22 and the volume fraction of the coarse aggregate in the first stage. Set the stage variables ,in = 0,1. If =0, then the aggregate size is controlled to generate coarse aggregate. =1, then the aggregate particle size is controlled to generate fine aggregate. The initial setting is 0. Using the random function The aggregate particle size and center point coordinates are generated inside the test block and stored in the first aggregate information matrix. The distance between aggregates is calculated, and the distance between aggregates is used to determine whether the newly generated aggregate overlaps with the original aggregate. The distance between aggregates is ;in Indicates the coordinates of the center point of the aggregate placement, Indicates the coordinates of the center point of the existing aggregate. j=1,2,……,i-1.
[0117] If they completely overlap, delete and regenerate. ; It means that the added aggregate is completely inside the existing aggregate or the distance from the center of the added aggregate to the surface of the existing aggregate is greater than the minimum particle size, where is the radius of aggregate placement, is the radius of the existing aggregate, is the minimum particle size value in the aggregate particle size range. If there is partial overlap and the distance from the center point to the surface of the old aggregate is greater than the minimum particle size, the coordinates of the center point of the new aggregate are retained and the particle size is regenerated so that the new aggregate does not overlap with the original aggregate. The judgment basis is ; It means that the added aggregate partially overlaps with the existing aggregate and the distance from the center of the added aggregate to the surface of the existing aggregate is greater than the minimum particle size. If they do not overlap, all information of the new aggregate is retained. The judgment basis is ; It means that the added aggregate does not overlap with the existing aggregate at all.
[0118] Calculate whether the volume of coarse aggregate meets the requirement of coarse aggregate volume ratio. If not, generate aggregate again. Otherwise, proceed to the next step. =1, the coarse and fine aggregate particle sizes are switched, and the aggregate volume is calculated to see if it meets the requirements of the final volume ratio. If not, the process returns to generate aggregate again, otherwise proceed to the next step.
[0119] Enter the total vibration time T and initial time t, then vibrate in the Y-axis direction and mark the bottom of the test block in the Y-axis direction and the boundary aggregates in the X-axis and Z-axis directions.
[0120] The center point of the aggregate at the bottom of the Y axis is fixed, and the center points of the remaining aggregates (including the boundary aggregates of the X and Z axes) fall 0.1 cm in the y direction. After that, calculate the distance between all aggregates, and judge whether the distances of all aggregates overlap. The judgment is consistent with the above steps. If there is overlap, calculate the direction vector of the line connecting the center points of the aggregates and adjust the distance.
[0121] ;in Indicates the distance of the overlapping part on the center line, represents the sum of the two aggregate radii, Indicates the actual distance of aggregate.
[0122] ;in express Direction vector, n=1,2,3; when n=1, the values of y and z are 0, indicating the direction vector of the x-axis; when n=2, the values of x and z are 0, indicating the direction vector of the y-axis; when n=3, the values of x and y are 0, indicating the direction vector of the z-axis. ; Indicates that the negative direction of the direction vector of ball i in the y direction is adjusted by half the overlap distance. ; Indicates that the positive direction of the direction vector of the j ball in the y direction is adjusted by half the overlap distance.
[0123] Adjust all marked aggregates (i.e., aggregates at the bottom of the Y axis and at the boundaries of the X and Z axes). Boundary aggregates are not adjusted in the corresponding boundary directions, and unmarked aggregates are slightly separated in the corresponding directions until they do not overlap. Boundary aggregates have adjustment priority to ensure that internal aggregates converge and that aggregates do not exceed the boundaries.
[0124] Specifically, for the adjustment of the xyz boundary aggregate, take the i-sphere as an example: If ball i is at the bottom of the y-axis, then , ; That is, the j ball moves a complete overlapping distance in the y direction vector.
[0125] If the i-ball is at the x-axis boundary, then , ; That is, the j ball moves a complete overlapping distance in the direction vector in the x direction.
[0126] If ball i is at the boundary of the z axis, then , That is, the j ball moves a complete overlap distance in the z direction vector.
[0127] After the above-mentioned vibration reaches the predetermined time, the final volume ratio of the second stage is calculated to be 0.21 and the volume ratio of the coarse aggregate in the second stage.
[0128] Similarly, set the coarse and fine aggregate stage switching conditions = 0,1; if =0, then the aggregate size is controlled to generate coarse aggregate. = 1, then the aggregate size is controlled to generate fine aggregate, and the initial value is 0. Using the random function Generate aggregate particle size and center point coordinates at the top of the test block and store them in the second aggregate information matrix. Calculate the distance between aggregates, and use the distance between aggregates to determine whether the newly generated aggregate overlaps with the original aggregate. If there is complete overlap, delete the new aggregate information and regenerate the aggregate; if there is partial overlap and the distance from the center point to the surface of the old aggregate is greater than the minimum particle size, retain the coordinates of the new aggregate center point, regenerate the particle size so that the new aggregate does not overlap with the original aggregate; if there is no overlap, retain all the new aggregate information. The judgment basis is the same as the first stage and the above steps. Calculate whether the volume of coarse aggregate meets the requirements for the proportion of coarse aggregate volume. If the requirements are met, =1, switch between coarse and fine aggregate stages. Calculate whether the aggregate volume meets the requirements of the final volume ratio of the second stage. If so, integrate the first aggregate information matrix and the second aggregate information matrix, and perform vibration simulation on all aggregates. If there is overlap, calculate the direction vector of the line connecting the center points of the aggregates and the adjustment distance. Adjust all marked aggregates (i.e., aggregates at the bottom of the Y axis and the boundaries of the X and Z axes). The boundary aggregates are not adjusted in the corresponding boundary directions, and the unmarked aggregates are slightly separated in the corresponding directions until they do not overlap. Boundary aggregates have adjustment priority to ensure that internal aggregates converge and that aggregates do not exceed the boundaries.
[0129] Then, the final volume ratio of the third stage is calculated to be 0.21 and the volume ratio of the coarse aggregate in the third stage is calculated. Set the switching conditions of the coarse and fine aggregate stages. = 0,1; if =0, then the aggregate size is controlled to generate coarse aggregate. = 1, then the aggregate size is controlled to generate fine aggregate, and the initial value is 0. Using the random function The aggregate particle size and center point coordinates are generated above the test block and stored in the second aggregate information matrix. The distance between aggregates is calculated, and the distance between aggregates is used to determine whether the newly generated aggregate overlaps with the original aggregate. If they completely overlap, the new aggregate information is deleted and regenerated; if they partially overlap and the distance from the center point to the surface of the old aggregate is greater than the minimum particle size, the coordinates of the center point of the new aggregate are retained, and the particle size is regenerated so that the new aggregate does not overlap with the original aggregate; if they do not overlap, all the information of the new aggregate is retained. The judgment basis is the same as the corresponding steps in the first stage.
[0130] Calculate whether the volume of coarse aggregate meets the requirements of the volume ratio of coarse aggregate. If so, =1, switch between coarse and fine aggregate stages. Calculate whether the aggregate volume meets the requirements of the final volume ratio of the second stage. If so, integrate the current information matrix and the third aggregate information matrix to simulate vibration of all aggregates. The vibration process is the same as above and will not be repeated here. Count all aggregates and calculate whether there is overlap. If there is overlap, adjust the particle size of small-size aggregate to avoid overlap. Finally, a suitable concrete model is obtained, refer to Figure 5 and Figure 6 , Figure 5 This is a schematic diagram of the concrete model; Figure 6 Schematic diagram of the concrete model cross section.
[0131] Based on the concrete model generation method provided in the above embodiment, the present application also provides a specific implementation of a concrete model generation device. Please refer to the following embodiment.
[0132] See first Figure 7 The concrete model generation device 400 provided in the embodiment of the present application includes the following modules: The acquisition module 401 is used to obtain aggregate particle size information, an initial concrete model and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete in the concrete model.
[0133] The generation module 402 is used to generate aggregates in the above-mentioned initial concrete model according to the above-mentioned aggregate particle size information until the aggregate volume ratio reaches a first threshold value, and the above-mentioned first threshold value is one third of the preset aggregate volume ratio, and the aggregate volume ratio represents the volume ratio of the currently generated aggregate in the concrete model.
[0134] The simulation module 403 is used to perform aggregate falling simulation according to the preset falling time and the bottom boundary of the concrete test block to obtain a first concrete model.
[0135] The generating module 402 is further used to generate aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold value, and the second threshold value is two-thirds of the preset aggregate volume ratio.
[0136] The simulation module 403 is further used to perform aggregate falling simulation according to the preset falling time and the bottom boundary of the concrete test block to obtain a second concrete model.
[0137] The generation module 402 is further used to generate aggregates in the second concrete model according to the aggregate particle size information, until the aggregate volume ratio reaches the preset aggregate volume ratio, so as to obtain a final concrete model.
[0138] The concrete model generation device provided in the embodiment of the present application, through an optimized algorithm and a step-by-step generation method, does not require the assistance of a physical model, greatly reduces the complexity of the algorithm, simplifies the generation process, and utilizes an optimized algorithm and an aggregate model that is closer to the actual situation, significantly improves the generation efficiency and the authenticity of the model, while achieving efficient generation of a random aggregate model.
[0139] Each module in the concrete model generation device provided in the embodiment of the present application can implement each step in the above-mentioned concrete model generation method and achieve corresponding effects, which will not be described in detail here for the sake of brevity.
[0140] Figure 8 A schematic diagram of the structure of the concrete model generation hardware provided in an embodiment of the present application is shown.
[0141] The concrete model generating device may include a processor 501 and a memory 502 storing computer program instructions.
[0142] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0143] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0144] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method for generating a concrete model according to any one of the embodiments of the present disclosure.
[0145] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the concrete model generation methods in the above embodiments.
[0146] In one example, the concrete model generating device may further include a communication interface 503 and a bus 510. Figure 8 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0147] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0148] Bus 510 includes hardware, software or both, and couples the components of online data traffic billing equipment to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. Where appropriate, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0149] In addition, in combination with the method for generating a concrete model in the above embodiments, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the methods for generating a concrete model in the above embodiments is implemented.
[0150] The embodiment of the present application further provides a computer program product, including a computer program, and when the computer program is processed and executed, any one of the methods for generating a concrete model in the above embodiments is implemented.
[0151] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0152] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0153] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0154] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0155] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for generating a concrete model, characterized in that: The method comprises: Obtaining aggregate particle size information, an initial concrete model, and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete model; Generating aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold value, wherein the first threshold value is one third of the preset aggregate volume ratio, and the aggregate volume ratio represents the volume ratio of the currently generated aggregates in the concrete model; According to the preset falling time and the bottom boundary of the concrete test block, aggregate falling simulation is performed to obtain a first concrete model; Generating aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold value, where the second threshold value is two-thirds of the preset aggregate volume ratio; According to the preset falling time and the bottom boundary of the concrete test block, aggregate falling simulation is performed to obtain a second concrete model; Aggregates are generated in the second concrete model according to the aggregate particle size information until the aggregate volume ratio reaches the preset aggregate volume ratio, thereby obtaining a final concrete model.
2. The method for generating a concrete model according to claim 1, characterized in that: Generating aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold includes: According to the aggregate particle size range corresponding to the aggregate particle size information, a target particle size value is randomly selected; Determining the center point coordinates of aggregates in the initial concrete model; Generating aggregate according to the center point coordinates and the target particle size value; Continue to randomly select a target particle size value according to the aggregate particle size range corresponding to the aggregate particle size information, and generate aggregate again until the aggregate volume proportion reaches a first threshold.
3. The method for generating a concrete model according to claim 2, characterized in that: The step of generating aggregate according to the center point coordinates and the target particle size value comprises: Determine the position of the aggregate to be generated according to the center point coordinates and the target particle size value, and judge whether the aggregate to be generated overlaps with the existing aggregate; In the case where the aggregate to be generated overlaps with the existing aggregate, determining the distance between the coordinates of the center point of the aggregate to be generated and the corresponding overlapping aggregate; When the distance satisfies a preset condition, updating the target particle size value according to the distance so that the aggregate to be generated and the overlapping aggregate no longer overlap; Aggregates are generated according to the center point coordinates and the updated target particle size value.
4. The method for generating a concrete model according to claim 2, characterized in that: The aggregate is a tetrahedral aggregate, and the aggregate is generated according to the center point coordinates and the target particle size value, including: Taking the center point coordinates as the center of the circle, a sphere is generated according to the target particle size value; Randomly generate a hexahedron inscribed in the sphere; Calculate the geometric center point of the hexahedron according to the vertex coordinates of the inscribed hexahedron; Based on the geometric center point, make extension lines along the normal vectors of each face to determine the extension points corresponding to the six faces respectively; Each of the extension points is connected to the vertices of the inscribed hexahedron of the corresponding face to generate a 24-hedron aggregate.
5. The method for generating a concrete model according to any one of claims 1 to 4, characterized in that: The method of performing aggregate falling simulation according to the preset falling time and the bottom boundary of the concrete test block to obtain the first concrete model includes: Mark the aggregates whose distance from the bottom boundary of the concrete specimen is less than a preset threshold; For each unlabeled aggregate, perform the following steps: Moving the aggregate, causing the aggregate to drop a preset distance; determining the distance between the aggregate and other aggregates; Determining the final position of the aggregate according to the distance between the aggregate and other aggregates; According to the preset time interval, the falling time is increased; When the falling time is less than the preset falling time, continue the falling process and increase the falling time; In a case where the falling time is greater than or equal to the preset falling time, the current concrete model is determined as the first concrete model.
6. The method for generating a concrete model according to claim 5, characterized in that: Determining the final position of the aggregate according to the distance between the aggregate and other aggregates includes: Detecting whether the aggregate overlaps with other aggregates according to whether the distance between the aggregate and other aggregates is less than a preset threshold; When the aggregate overlaps with other aggregates, calculating the direction vector of the line connecting the center points of the aggregate and the overlapping aggregates; The aggregate is moved according to the direction vector so that the aggregate no longer overlaps with other aggregates, and a final position of the aggregate is determined.
7. A concrete model generating device, characterized in that: The device comprises: an acquisition module, which is used to acquire aggregate particle size information, an initial concrete model and a preset aggregate volume ratio, wherein the preset aggregate volume ratio represents a target value of the volume ratio of the aggregate in the concrete model; a generating module, configured to generate aggregates in the initial concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a first threshold value, wherein the first threshold value is one third of the preset aggregate volume ratio, and the aggregate volume ratio indicates the volume ratio of the currently generated aggregates in the concrete model; A simulation module, used for performing aggregate falling simulation according to a preset falling time and a bottom boundary of a concrete test block to obtain a first concrete model; The generating module is further used to generate aggregates in the first concrete model according to the aggregate particle size information until the aggregate volume ratio reaches a second threshold value, where the second threshold value is two-thirds of the preset aggregate volume ratio; The simulation module is also used to simulate the aggregate falling according to the preset falling time and the bottom boundary of the concrete test block to obtain a second concrete model; The generating module is further used to generate aggregates in the second concrete model according to the aggregate particle size information, until the aggregate volume ratio reaches the preset aggregate volume ratio, so as to obtain a final concrete model.
8. A concrete model generating device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the concrete model generation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for generating a concrete model according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the concrete model generating method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Concrete three-phase mesoscopic model construction and internal chloride ion erosion numerical simulation method based on polygonal random aggregate
CN110706352A
Modeling method for three-dimensional concrete mesoscopic model of test piece in any shape
CN114840891A
Construction method of concrete mesoscopic model
CN117195382A
Construction method of concrete model of three-dimensional concave-convex polyhedral random aggregate, electronic equipment and storage medium
CN118133493A
Microscopic geometric model construction method and device of concrete, electronic equipment and medium
CN118967776A