Method and apparatus for generating a random distribution of rve of fibers containing pores

CN122889160APending Publication Date: 2026-10-09ROCKET FORCE UNIV OF ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202512046149.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-10-09

AI Technical Summary

Technical Problem

[0005]本申请的主要目的在于提供一种含孔隙的纤维随机分布RVE的生成方法和装置,以解决现有技术孔隙形状单一、建模效率低、模型构建复杂、冲突处理不完善的技术问题,实现了快速构建满足不同孔隙率要求的RVE,确保模型有效性,提升复合材料性能预测效率的技术效果

Benefits of technology

在本申请中,通过设置孔隙相关参数;随机生成初始孔隙中心坐标并确定孔隙半径;预设孔隙冲突判断规则及对应的冲突解决机制;确定孔隙形状,根据校验后的孔隙中心坐标和孔隙半径绘制二维截面并拉伸成孔隙实体;将孔隙实体从基体实体剔除,得到更新后基体实体,计算当前孔隙率,判断是否满足要求,若满足则继续创建新孔隙并进行冲突校验、孔隙实体构建及孔隙率计算与判断,直至孔隙率满足要求,得到最终基体实体;最后将最终基体实体与预设的纤维实体装配,得含孔隙纤维随机分布RVE,实现了孔隙形状多样化,突破传统圆形和椭圆形限制,支持正多边形、多边形及不规则形状,真实复现实际孔隙形状;通过输入孔隙相关参数即可完成高效参数化建模;冲突机制完善,彻底解决孔隙与纤维重叠、孔隙间重叠问题,确保模型几何有效性;基于Python/Abaqus平台开发,可扩展性强,支持自定义孔隙形状与分布算法,便于后续集成至复合材料多尺度分析流程;生成的RVE模型经有限元分析验证,精度验证充分,孔隙率误差小于1%,纤维分布随机性符合统计学要求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122889160A_ABST
    Figure CN122889160A_ABST
Patent Text Reader

Abstract

The application discloses a method and device for generating a fiber random distribution RVE containing pores. The method comprises the following steps: setting pore-related parameters; randomly generating initial pore center coordinates and determining pore radii; presetting pore conflict judgment rules and corresponding conflict resolution mechanisms; determining pore shapes, drawing a two-dimensional section according to the verified pore center coordinates and pore radii, and stretching the two-dimensional section into a pore entity; removing the pore entity from a base body entity to obtain an updated base body entity, calculating a current porosity, and judging whether the requirement is met; if the requirement is met, a new pore is continuously created, conflict verification, pore entity construction, and porosity calculation and judgment are performed until the porosity meets the requirement, and finally, a final base body entity is obtained; and finally, the final base body entity is assembled with a preset fiber entity to obtain a fiber random distribution RVE containing pores. The method realizes efficient modeling of a complex pore structure, and improves the efficiency and accuracy of micro-mechanical analysis of a composite material containing pores.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of micromechanical modeling of fiber-reinforced composite materials, and more specifically, to a method and apparatus for generating randomly distributed RVEs of porous fibers. Background Technology

[0002] With the widespread application of fiber-reinforced composite materials in high-end equipment fields such as aerospace, the requirements for the accuracy of their mechanical property prediction are increasing. The representative volume element (RVE), as a key model connecting the microscopic and macroscopic properties of materials, traditionally consists of two phases: fiber and matrix. However, for fiber-reinforced composite materials, due to manufacturing and process defects, irregular pores can form between the fibers and the matrix, as well as within the matrix, during the molding process.

[0003] However, in existing technologies, actual mechanical properties are affected by microstructure, especially pores. Pores lead to stress concentration, accelerate crack initiation, and reduce strength, stiffness, and fatigue life. Traditional RVE models assume a uniform structure and ignore pores, resulting in prediction bias.

[0004] Therefore, existing technologies suffer from problems such as low efficiency in generating pore distribution, the need for manual parameter adjustment, imperfect conflict handling, the tendency for pores to be inside or overlapped within fibers, lack of parametric design methods, and difficulty in generating serialized models. Summary of the Invention

[0005] The main objective of this application is to provide a method and apparatus for generating randomly distributed RVEs with pores, in order to solve the technical problems of existing technologies such as single pore shape, low modeling efficiency, complex model construction, and imperfect conflict handling. This method and apparatus enables rapid construction of RVEs that meet different porosity requirements, ensures model effectiveness, and improves the efficiency of composite material performance prediction.

[0006] To achieve the above objectives, a first aspect of this application proposes a method for generating porous fiber-randomized randomized VEs (RVEs). The method is implemented for both a fiber entity and a matrix entity, which are obtained through steps including setting fiber parameters, generating a fiber randomized distribution sketch, and stretching. The method includes: Set porosity-related parameters; The center coordinates of the initial pore are randomly determined within a preset two-dimensional RVE region, and the pore radius of the initial pore is determined in combination with the pore-related parameters. Establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification and eliminate conflict of the pore to be constructed based on the pore conflict judgment rules. Based on the preset pore shape, combined with the pore center coordinates and pore radius after being processed by the conflict resolution mechanism, a two-dimensional pore cross section is generated, and the two-dimensional pore cross section is stretched along a preset direction to form a pore entity; The pore entity is removed from the preset matrix entity to obtain the updated matrix entity. The current porosity corresponding to the updated matrix entity is calculated, and it is determined whether it meets the preset porosity index. If the current porosity does not meet the porosity index, new pores are continuously generated, and conflict checking, pore entity construction, and porosity calculation and judgment are performed in sequence until the current porosity meets the preset porosity index, and the final matrix entity is obtained. The final matrix entity is assembled with the preset fiber entity to obtain a porous fiber random distribution RVE.

[0007] In some embodiments of this disclosure, the setting of the parameter set required for pore generation specifically includes: Select the pore shape, set the pore radius, and define the current porosity; Set the minimum spacing between pores, the maximum pore size, the minimum pore size, the target porosity, and the porosity error.

[0008] In some embodiments of this disclosure, the step of randomly determining the center coordinates of the initial pore within the two-dimensional RVE region and determining the pore radius of the initial pore in conjunction with the parameter set specifically includes: The center coordinates of the first pore are obtained by using the Mason rotation random number generation algorithm within the two-dimensional RVE region; at the same time, the pore radius of the pore is determined within the range of pore radius values ​​defined by the parameter set.

[0009] In some embodiments of this disclosure, the first conflict determination rule is to determine whether the pore to be constructed is completely inside the fiber, and the second conflict determination rule is to determine whether the distance between the pore to be constructed and the generated pore conforms to a preset specification.

[0010] In some embodiments of this disclosure, the execution steps of the conflict resolution mechanism include: calculating the distance D1 from the center of the pore to be constructed to the center of the fiber cross section, and the center distance D2 between the pore to be constructed and the generated pore; if "the sum of D1 and the radius of the pore to be constructed is less than the fiber radius" and "D2 is less than the preset minimum safe distance between pores", then the center coordinates of the pore to be constructed and the pore radius are re-determined until neither of the above two conflict conditions is satisfied.

[0011] In some embodiments of this disclosure, the step of generating a two-dimensional cross-section of the pores according to a preset pore morphology specifically includes at least one of the following implementation methods: If the pore shape is circular, draw a circular two-dimensional cross section directly within the two-dimensional RVE region; If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and randomly determine the ratio, set the specific lengths of the major axis and the minor axis, randomly select the rotation angle and determine the coordinates of the ellipse vertex through coordinate transformation, and then draw the elliptical two-dimensional cross section. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. After determining the coordinates of each vertex through coordinate transformation, connect them in sequence to draw a two-dimensional cross-section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. Determine the coordinates of each vertex through coordinate transformation. After sorting the vertices according to their angles relative to the pore center, connect them sequentially to draw a two-dimensional cross-section of the polygon. If the pore shape is irregular, after setting the number of sides, randomly assign angles to each vertex, determine the vertex coordinates through coordinate transformation, sort by angle and remove vertices whose distance between adjacent vertices is less than the minimum spline drawing distance, and use spline curves to connect the remaining vertices to draw the irregular two-dimensional cross section.

[0012] In some embodiments of this disclosure, before the step of determining whether the current porosity meets the preset porosity index, the method further includes: Preset allowable range for porosity error; When the difference between the current porosity and the preset target porosity is within the allowable error range, the current porosity is determined to meet the preset porosity index.

[0013] A second aspect of this application provides an apparatus for generating porous fiber randomly distributed RVEs, comprising: The settings module is used to set pore-related parameters; The determination module is used to randomly determine the center coordinates of the initial pore within a preset two-dimensional RVE region, and determine the pore radius of the initial pore in combination with the pore-related parameters; The processing module is used to establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification on the pore to be constructed and eliminate the conflict based on the pore conflict judgment rules. The construction module is used to generate a two-dimensional cross section of the pore based on the preset pore shape, combined with the pore center coordinates and the pore radius after being processed by the conflict resolution mechanism, and to stretch the two-dimensional cross section of the pore along a preset direction to form a pore entity; The control module is used to remove the pore entity from the preset matrix entity to obtain an updated matrix entity, calculate the current porosity corresponding to the updated matrix entity, and determine whether it meets the preset porosity index. If the current porosity does not meet the porosity index, new pores are continuously generated, and the conflict verification of the processing module, the pore entity construction of the establishment module, and the porosity calculation and judgment of the control module are executed sequentially until the current porosity meets the preset porosity index, and the final matrix entity is obtained. The assembly module is used to assemble the final matrix entity with the preset fiber entity to obtain a porous fiber random distribution RVE.

[0014] In some embodiments of this disclosure, the setting module is specifically used to select the pore shape, set the pore radius, define the initial porosity, and set the minimum spacing between pores, the maximum pore size, the minimum pore size, the target porosity, and the porosity error.

[0015] In some embodiments of this disclosure, the determining module is specifically used to use the Mason rotation random number generation algorithm to filter and obtain the center coordinates of the first pore within the two-dimensional RVE region; and at the same time, to determine the pore radius of the pore within the range of pore radius values ​​defined by the parameter set.

[0016] In some embodiments of this disclosure, in the processing module, the first conflict judgment rule is to determine whether the pore to be constructed is completely inside the fiber, and the second conflict judgment rule is to determine whether the distance between the pore to be constructed and the generated pore conforms to a preset specification.

[0017] In some embodiments of this disclosure, the execution steps of the conflict resolution mechanism include: calculating the distance D1 from the center of the pore to be constructed to the center of the fiber cross section, and the center distance D2 between the pore to be constructed and the generated pore; if "the sum of D1 and the radius of the pore to be constructed is less than the fiber radius" and "D2 is less than the preset minimum safe distance between pores", then the center coordinates of the pore to be constructed and the pore radius are re-determined until neither of the above two conflict conditions is satisfied.

[0018] In some embodiments of this disclosure, the step of the construction module generating a two-dimensional cross-section of the pores according to a preset pore morphology specifically includes at least one of the following implementation methods: If the pore shape is circular, draw a circular two-dimensional cross section directly within the two-dimensional RVE region; If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and randomly determine the ratio, set the specific lengths of the major axis and the minor axis, randomly select the rotation angle and determine the coordinates of the ellipse vertex through coordinate transformation, and then draw the elliptical two-dimensional cross section. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. After determining the coordinates of each vertex through coordinate transformation, connect them in sequence to draw a two-dimensional cross-section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. Determine the coordinates of each vertex through coordinate transformation. After sorting the vertices according to their angles relative to the pore center, connect them sequentially to draw a two-dimensional cross-section of the polygon. If the pore shape is irregular, after setting the number of sides, randomly assign angles to each vertex, determine the vertex coordinates through coordinate transformation, sort by angle and remove vertices whose distance between adjacent vertices is less than the minimum spline drawing distance, and use spline curves to connect the remaining vertices to draw the irregular two-dimensional cross section.

[0019] In some embodiments of this disclosure, the control module is further configured to preset a porosity error allowable range; when the difference between the current porosity and the preset target porosity is within the error allowable range, the current porosity is determined to conform to the preset porosity index.

[0020] A third aspect of this application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method as described in any of the above embodiments.

[0021] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the above embodiments.

[0022] The technical solutions provided by the embodiments of this application may include the following beneficial effects: In this application, the following steps are taken: setting porosity-related parameters; randomly generating initial pore center coordinates and determining pore radii; pre-setting pore conflict judgment rules and corresponding conflict resolution mechanisms; determining pore shape; drawing a two-dimensional cross-section based on the verified pore center coordinates and pore radius and extruding it into a pore solid; removing the pore solid from the matrix solid to obtain an updated matrix solid; calculating the current porosity; determining whether it meets the requirements; if it does, continuing to create new pores and perform conflict verification, pore solid construction, and porosity calculation and judgment until the porosity meets the requirements, thus obtaining the final matrix solid; finally, assembling the final matrix solid with the pre-set fiber solid to obtain a randomly distributed R of porous fibers. VE enables diverse pore shapes, breaking through the traditional limitations of circles and ellipses, supporting regular polygons, polygons, and irregular shapes to realistically reproduce actual pore shapes. Efficient parametric modeling can be completed by inputting pore-related parameters. A robust conflict mechanism thoroughly resolves the issues of pore-fiber overlap and inter-pore overlap, ensuring the geometric validity of the model. Developed on the Python / Abaqus platform, it boasts strong scalability, supports custom pore shape and distribution algorithms, and facilitates subsequent integration into multi-scale composite material analysis workflows. The generated RVE model has been validated through finite element analysis, demonstrating sufficient accuracy verification, with a porosity error of less than 1% and fiber distribution randomness meeting statistical requirements.

[0023] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description

[0024] The accompanying drawings, which form part of this application, are used to provide a further understanding of the application and to make other features, objects, and advantages of the application more apparent. The illustrative embodiments and descriptions of this application are used to explain the application and do not constitute an undue limitation of the application. In the drawings: Figure 1 This is a true cross-sectional view of the fiber-reinforced composite material; Figure 2 A schematic flowchart illustrating the method for generating porous fiber random distribution RVEs provided in this application; Figure 3 A schematic diagram illustrating the process for resolving the conflict between pores and fibers provided in this application; Figure 4 A schematic diagram illustrating the generation result of the RVE containing circular pores provided in this application; Figure 5 A schematic diagram of the RVE generation result with elliptical pores provided in this application; Figure 6A schematic diagram of the RVE generation result with triangular pores provided in this application; Figure 7 A schematic diagram of the RVE generation result with square pores provided in this application; Figure 8 A schematic diagram of the RVE generation result containing regular pentagonal pores provided for this application; Figure 9 A schematic diagram of the RVE generation result containing regular hexagonal pores provided for this application; Figure 10 A schematic diagram of the RVE generation result containing polygonal pores provided for this application; Figure 11 A schematic diagram of the RVE generation result with irregular pores provided in this application; Figure 12 A schematic flowchart of another method for generating porous fiber random distribution RVEs provided in this application; Figure 13 A schematic diagram of the structure of the apparatus for generating porous fiber randomly distributed RVEs provided in this application; Figure 14 This is a schematic diagram of the structure of a computer device provided in this application.

[0025] In the accompanying diagram, markers with the same last two digits correspond to the same elements. It should be noted that the elements in the diagram are schematic and not drawn to scale. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] In this application, the terms "upper," "lower," "left," "right," "front," "rear," "top," "bottom," "inner," "outer," "middle," "vertical," "horizontal," "lateral," and "longitudinal" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are primarily for the purpose of better describing this application and its embodiments, and are not intended to limit the indicated device, element, or component to having a specific orientation, or to be constructed and operated in a specific orientation.

[0029] Furthermore, in addition to indicating location or positional relationship, some of the aforementioned terms may also have other meanings. For example, the term "above" may also be used in some cases to indicate a certain dependency or connection relationship. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.

[0030] Furthermore, the terms "installation," "setup," "equipped with," "connection," "linked," and "socketing" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0031] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).

[0032] First, before implementing the method for generating porous fiber randomly distributed RVEs provided in this application, it is necessary to pre-construct fiber entities and matrix entities. The specific steps are as follows: Step 1: Set fiber parameters. The fiber input parameters include one or more of the following: RVE region size, fiber quantity, fiber radius, fiber volume fraction, minimum fiber cross-sectional spacing, maximum adjacent fiber cross-sectional spacing, maximum fiber cross-sectional spacing, minimum fiber cross-sectional center-to-center spacing, and maximum fiber cross-sectional center-to-center spacing, in order to ensure the randomness and rationality of fiber distribution.

[0033] These parameters allow for effective control of the relative positions of fibers during the random generation process, avoiding distributions that are physically unrealistic or difficult to simulate numerically.

[0034] First, set the RVE sketch area to One side is The square area, with the fiber count set to Fiber radius set to Fiber volume fraction is set as , (1) Secondly, the minimum distance between the i-th fiber cross-section and other fiber cross-sections that have been generated is set. Maximum distance between adjacent fiber sections and the maximum distance between it and other fiber sections that have been generated. .

[0035] These parameters collectively define the geometric distribution characteristics of fibers within the RVE (Reverse Velocity Elevation). They can be pre-set through experimental statistics, image recognition, or empirical formulas, or adjusted according to the characteristics of the specific composite material system. The introduction of these parameters not only preserves the randomness of fiber positions but also effectively avoids overlapping, extreme aggregation, or excessive sparseness among fibers.

[0036] Step 2: Based on the fiber parameters, generate a sketch of a random distribution of a specified number of fibers within a two-dimensional RVE region.

[0037] In the specific implementation process, the dimensions of the RVE region, fiber volume fraction, and fiber radius must first be determined. Then, a random sequence generation method is used to sequentially generate the initial positions of the fiber cross-section centers within the RVE region. Each time a new fiber cross-section center coordinate is generated, its distance to all previously generated fiber cross-section centers must be calculated. If this distance is less than a set minimum threshold, the generation is considered invalid, discarded, and a new fiber cross-section center coordinate is generated; if it is greater than or equal to the minimum threshold and does not exceed the maximum distance constraint, the generation is retained. This process is repeated until the preset fiber quantity or volume fraction is reached, ensuring that all fibers meet the distribution constraints.

[0038] First, define the minimum distance between the centers of the fiber cross sections as... The value is typically taken as 1.1 to 1.5 times the fiber diameter to avoid physical overlap; the maximum distance is... The specific value is generally determined indirectly by the fiber volume fraction and distribution uniformity requirements, or it can be explicitly set to avoid excessive fiber aggregation. Secondly, the coordinates of the fiber cross-section centers are randomly generated within the two-dimensional cross-section of the RVE. For each new center generated, the distances between it and all existing fiber centers are calculated to ensure that the following requirements are met: (2) (3) If any distance satisfies formula (2) or formula (3), it is determined that the current generation does not meet the constraints. The coordinates of the center of the fiber section should be discarded, the coordinates of the center of the fiber section should be regenerated, and the distance should be checked again. If all distances satisfy (2) or formula (3), then the fiber section is accepted and added to the generated set; this iterative process continues until all fiber sections are generated and all distance constraints are satisfied.

[0039] Step 3: Stretch the randomly distributed fiber sketch to form a fiber solid and a matrix solid.

[0040] The purpose of this step is to achieve the transformation from a two-dimensional drawing to a three-dimensional solid.

[0041] In specific implementation methods, it is necessary to follow The axis performs a stretching operation on the fiber and matrix to a set depth, thereby constructing a fiber solid and a matrix solid, both of which are three-dimensional solid structures. During the stretching process, the fiber cross-sectional shape should be kept consistent, and the stretching speed and path can be adjusted according to the material properties.

[0042] The fiber portion is typically stretched along its dominant direction to form a fiber entity, while the matrix portion is stretched around the fiber structure to form a matrix entity. The two maintain a continuous and coordinated topological relationship in three-dimensional space.

[0043] Figure 1 Microscopic images of cross-sections of fiber-reinforced composite materials are shown, clearly revealing pore defects between the fibers and the matrix, as well as within the matrix itself.

[0044] Based on the problems existing in the prior art, this application proposes a method for generating porous fiber random distribution RVEs, which can achieve parameterized and efficient modeling. The whole process includes two stages: first, a two-dimensional pore cross-sectional profile is constructed in a two-dimensional plane, and a three-dimensional pore solid is generated by stretching; then, the pore solid is removed from the matrix solid; finally, it is geometrically assembled with the pre-generated fiber solid to obtain porous fiber random distribution RVEs. Figure 2 This is a schematic flowchart of a method for generating porous fiber randomly distributed RVEs according to an embodiment of this disclosure, as shown below. Figure 2 As shown, the method includes: S110. Set porosity-related parameters; In a specific implementation, the pore-related parameters include one or more of the following: pore shape, target porosity value, minimum distance between pores, pore size range, and target porosity value, wherein the pore size range includes the maximum pore size and the minimum pore size; wherein the minimum pore spacing is used to avoid pore overlap.

[0045] S1101. Select the pore shape, which includes circular, elliptical, regular polygonal, polygonal, and irregular shapes. The user can select a suitable type according to the actual application; set the pore radius. The current porosity is defined as: ,in, Given the current porosity, For the volume of a non-porous matrix, To determine the volume of the matrix entity after removing the current pores. It is the sum of the volumes of the non-porous matrix and the fibrous entity.

[0046] S1102. Set the minimum distance between pores. Ensure that the pores are kept at a minimum distance to avoid interference; set the maximum pore size. With minimum pore size Used to control the distribution range of pore structure; setting target porosity value. To minimize porosity errors and ensure that the porosity meets design requirements.

[0047] S120. Randomly determine the center coordinates of the initial pore within a preset two-dimensional RVE region, and determine the pore radius of the initial pore in combination with the pore-related parameters.

[0048] In a specific implementation, based on the Mersenne Twister algorithm, the coordinates of the first pore center are uniformly and randomly determined from the two-dimensional RVE region. Simultaneously, according to a preset pore size range, the pore radius of the first pore is randomly determined between the maximum and minimum pore sizes. The Mersenne Twister algorithm is a pseudo-random number generation algorithm. Its core principle is to rotate and transform a huge state vector through a linear recursive relationship. In Python, the Mersenne Twister algorithm is the default pseudo-random number generation algorithm used by the random module. Therefore, in this step, the built-in random.uniform() module in Python is called to return a random floating-point number within a specified interval, thereby determining the size of the pore center and radius. The Mersenne Twister algorithm features a long period, uniform distribution, and high randomness, effectively avoiding clustering and ensuring a more uniform distribution of pore centers within the region, thus generating a pore structure that more closely matches actual physical conditions in microstructure modeling.

[0049] Specifically, based on the Mason rotation algorithm, from the sketch region as and Within a square region with side length 2a, the center coordinates of the first pore are determined as follows: And simultaneously from the maximum size of the pore and the minimum size of the pores The pore radius of the first pore is determined.

[0050] S130. Establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification and eliminate conflict on the pore to be constructed based on the pore conflict judgment rules, so as to ensure that geometric invalidity or structural interference problems are avoided during the pore generation process.

[0051] A pore conflict judgment rule is established to ensure that the generated pores are geometrically valid and do not interfere with the existing structure, thereby maintaining the overall structural and performance stability of the fiber composite material. If the pore to be constructed overlaps with the fiber, or if the pore to be constructed overlaps with other generated pores, a conflict resolution mechanism is automatically executed.

[0052] In a specific implementation, the first conflict judgment rule is to determine whether the pore to be constructed is completely inside the fiber, so as to avoid the pores exceeding the fiber boundary and causing structural defects. The second conflict judgment rule is to determine whether the distance between the pore to be constructed and the generated pores meets the preset specifications, so as to ensure that the pores are evenly distributed and meet the design requirements. The execution steps of the conflict resolution mechanism include: calculating the distance D1 from the center of the pore to be constructed to the center of the fiber cross section, and the center distance D2 between the pore to be constructed and the generated pore; if the conditions "the sum of D1 and the radius of the pore to be constructed is less than the fiber radius" and "D2 is less than the preset minimum distance between pores" are met, then the center coordinates of the pore to be constructed and the pore radius are redefined, and an iterative adjustment method is used until neither of the above two conflict conditions is met, so as to ensure the rationality of the pore position and size.

[0053] Specifically, the distance between the pore center and the fiber center is defined as... The distance between the pores is ,calculate as well as If the conditions are met: and ,in, The distance between the pore center and the fiber center. The distance between the pores Where is the pore radius, Where is the fiber radius, If the minimum spacing between pores is required, the coordinates of the pore center and the pore radius need to be regenerated until the above conditions are no longer met, and then proceed to the next step S140.

[0054] Specifically, since the pore centers are randomly generated within the entire RVE region, their center positions may inevitably fall inside the fiber. In this case, it is necessary to further determine whether the pore is completely located inside the fiber. If the pore is completely inside the fiber, the Boolean operation in step S150 will not be able to execute because the pore cannot be effectively separated from the matrix, resulting in model generation failure. Therefore, the system needs to regenerate the pore centers to ensure that the pores are at least partially located within the matrix region so that subsequent Boolean operations can proceed smoothly. This process is implemented through iterative loops until all pores meet the conflict-free condition.

[0055] Figure 4 A schematic diagram illustrating the process for resolving the conflict between pores and fibers.

[0056] S140. Based on the preset pore shape, combined with the pore center coordinates and the pore radius after being processed by the conflict resolution mechanism, a two-dimensional pore cross section is generated, and the two-dimensional pore cross section is stretched along a preset direction to form a pore entity; Optionally, the pore shape includes one or more of the following: circular, elliptical, regular polygonal, polygonal, and irregular shape; S1401. Determine the pore shape; For drawing holes other than circles, the created holes need to be randomly rotated by an angle to ensure the randomness of the hole direction. At the same time, for holes of arbitrary shape, in order to ensure that there is only one closed area after the vertices are connected, the vertices need to be sorted according to the size of the angle relative to the center coordinates before being connected. S1402. The step of generating a two-dimensional cross-section of the pores according to a preset pore morphology specifically includes at least one of the following implementation methods: If the pore shape is circular, draw a circular two-dimensional cross section directly within the two-dimensional RVE region; If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and randomly determine the ratio, set the specific lengths of the major axis and the minor axis, randomly select the rotation angle and determine the coordinates of the ellipse vertex through coordinate transformation, and then draw the elliptical two-dimensional cross section. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. After determining the coordinates of each vertex through coordinate transformation, connect them in sequence to draw a two-dimensional cross-section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. Determine the coordinates of each vertex through coordinate transformation. After sorting the vertices according to their angles relative to the pore center, connect them sequentially to draw a two-dimensional cross-section of the polygon. If the pore shape is irregular, after setting the number of sides, randomly assign angles to each vertex, determine the vertex coordinates through coordinate transformation, sort by angle and remove vertices whose distance between adjacent vertices is less than the minimum spline drawing distance, and use spline curves to connect the remaining vertices to draw the irregular two-dimensional cross section.

[0057] Specifically, for the drawing of circular pores, it is based on Abaqus sketching, drawing a two-dimensional cross-section of the circular pore within a two-dimensional RVE region, and extruding it into a pore solid; For drawing elliptical pores, a range of ratios between the minor and major axes is defined, and the ratio is randomly determined within this range. Long axis short axis ,from An angle is randomly determined inside. The ellipse is rotated by the rotation angle, and the positions of the vertices of the major and minor axes are redefined based on the coordinate transformation. The two-dimensional cross section of the elliptical pore is drawn based on the Abaqus sketch and then extruded into a pore solid. To draw a regular polygonal hole, set the number of polygon sides. ,from An angle is randomly determined inside. Based on coordinate transformation and Determine the vertex positions, draw based on Abaqus sketch, connect the vertices in sequence to complete the drawing of the two-dimensional cross section of the regular polygonal hole, and extrude it into a hole solid; To draw polygonal holes, set the number of polygon sides. Based on the Mason rotation algorithm, for each vertex in Randomly determine an angle within the range Based on coordinate transformation and Determine the vertex positions, sort all vertices according to their angles relative to the center of the pore, draw them based on the Abaqus sketch, connect the sorted vertices in sequence to complete the two-dimensional cross-section drawing of the arbitrary polygonal pore, and extrude it into a pore solid. To draw irregularly shaped holes, set the number of sides. For each vertex, based on the Mason rotation algorithm, from and A radius is randomly determined in the middle. and angle Based on coordinate transformation and Determine the vertex positions, sort all vertices according to their angles relative to the center of the pore, calculate the distance between two adjacent vertices after sorting, and determine whether the minimum distance requirement for spline drawing is met. If not, remove the vertex. Draw based on the Abaqus sketch, connect each vertex sequentially with splines to complete the 2D cross-section drawing of the irregular pore shape, and extrude it into a pore solid.

[0058] S140. Based on the preset pore shape, combined with the pore center coordinates and the pore radius after being processed by the conflict resolution mechanism, a two-dimensional pore cross section is generated, and the two-dimensional pore cross section is stretched along a preset direction to form a pore entity; Optionally, the pore shape includes one or more of the following: circular, elliptical, regular polygonal, polygonal, and irregular shape; S1401. Determine the pore shape; For drawing holes other than circles, the created holes need to be randomly rotated by an angle to ensure the randomness of the hole direction. At the same time, for holes of arbitrary shape, in order to ensure that there is only one closed area after the vertices are connected, the vertices need to be sorted according to the size of the angle relative to the center coordinates before being connected. S1402. The step of generating a two-dimensional cross-section of the pores according to a preset pore morphology specifically includes at least one of the following implementation methods: If the pore shape is circular, a circular two-dimensional cross section is directly drawn within the two-dimensional RVE area. The center position and radius of the circle can be randomly generated within a reasonable range or determined according to a predetermined rule based on the model requirements. If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and determine the specific ratio based on the random number generation algorithm. Set the specific lengths of the major axis and the minor axis, and randomly select the rotation angle. Through rotation transformation and coordinate mapping, redetermine the coordinates of the ellipse vertex, and then draw a closed elliptical two-dimensional cross section based on these coordinates. If the pore shape is a regular polygon, set the number of sides of the polygon and randomly generate the rotation angle based on a uniform distribution. Determine the coordinates of each vertex by combining polar coordinate transformation with the geometric properties of the polygon. Then connect each vertex in sequence to draw a two-dimensional cross section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly generate an initial rotation angle. Determine the initial position of each vertex through coordinate transformation, and then sort the vertices according to the polar angle of the vertices relative to the center point of the pore, and connect them in sequence to form a convex polygon or a simple polygon two-dimensional cross section. If the pore shape is irregular, first set the number of vertices to be generated, randomly assign polar coordinate values ​​to each vertex within a specified angle and radius range, convert them to coordinates in a rectangular coordinate system, sort them by polar angle, and then remove redundant vertices whose distance between adjacent vertices is less than the minimum spline drawing distance of the system. Finally, use spline curves to smoothly connect the remaining vertices to draw an irregular two-dimensional cross section with natural undulation characteristics.

[0059] Specifically, For drawing circular holes, the Abaqus sketching module is used to select the center and radius within a 2D RVE region, draw the 2D cross-section of the circular hole, and generate the corresponding hole solid through an extrusion operation; To draw elliptical pores, the ratio of the minor axis to the major axis is first randomly determined within a preset range. Set the major axis separately With short axis Specific dimensions, Randomly within the range of 0 to 2π Select a rotation angle, recalculate the endpoint coordinates of the major and minor axes through rotation matrix transformation, draw an elliptical outline based on Abaqus sketching function, and finally extrude it into a porous solid. To draw a regular polygonal hole, set the number of polygon sides. (such as pentagons, hexagons, etc.) A rotation angle is randomly generated within the range of 0 to 2π. Through coordinate transformation The positions of each vertex are calculated by combining the radius of the circumcircle of the polygon. The vertices are then connected sequentially using the Abaqus sketching tool to form a closed section, which is then extruded into a porous solid. To draw polygonal holes, set the number of polygon sides. Based on the Mason rotation algorithm, each vertex is processed within a specified angle range. random Generate polar angle, according to Polar diameter and The polar angle is used to calculate the rectangular coordinates of the vertices. All vertices are arranged in ascending order of polar angle. Based on the Abaqus sketching environment, the sorted vertices are connected by straight lines to form a two-dimensional cross section of an arbitrary convex polygon or a simple polygon. A porous solid is generated by the extrusion operation. To draw irregularly shaped holes, set the initial number of vertices. For each vertex, the quantity is based on the Mason rotation algorithm. At the effective radius The interval and the angle from 0 to 2π The polar radius and polar angle are randomly generated within the interval. After converting to Cartesian coordinates, the vertices are sorted by polar angle. The distance between adjacent vertices is checked, and vertices that do not meet the minimum spline drawing distance are removed. The vertices are then sequentially connected using the spline curve tool in Abaqus to form a smooth closed curve, completing the drawing of the two-dimensional cross-section of the irregular pore shape. Finally, it is stretched into a three-dimensional pore solid.

[0060] Figure 4-11 This is a schematic diagram showing the generation results of various porous RVEs. Among them, Figure 4 This is a schematic diagram of the generation result of RVE containing circular pores; Figure 5 A schematic diagram of the RVE generation result containing elliptical pores; Figure 6 A schematic diagram of the RVE generation result containing triangular pores; Figure 7 A schematic diagram of the RVE generation result containing square pores; Figure 8 A schematic diagram of the RVE generation result containing regular pentagonal pores; Figure 9 A schematic diagram of the RVE generation result containing regular hexagonal pores; Figure 10 This is a schematic diagram of the RVE generation result containing polygonal pores; Figure 11 This is a schematic diagram of the RVE generation result containing irregular pores.

[0061] S150. Remove the pore entity from the preset matrix entity to obtain the updated matrix entity, calculate the current porosity corresponding to the updated matrix entity, and determine whether it meets the preset porosity index; if the current porosity does not meet the porosity index, repeat steps S110-S140 to continuously generate new pores, and sequentially perform conflict checking, pore entity construction, and porosity calculation and judgment until the current porosity meets the preset porosity index to obtain the final matrix entity.

[0062] The pore entity is removed from the preset matrix entity by using a Boolean subtraction operation in a finite element software (such as ABAQUS) to remove the overlapping part of the stretched pore entity and the previously created matrix entity, thereby obtaining the updated matrix entity.

[0063] The current method for calculating porosity is as follows: (4) in, ,in, Given the current porosity, For the volume of a non-porous matrix, To determine the volume of the matrix entity after removing the current pores. It is the sum of the volumes of the non-porous matrix and the fibrous entity. , and The volume can be obtained by using ABAQUS software to acquire the volume of a specific object.

[0064] In a specific implementation, a porosity error allowable range is set. When the difference between the current porosity and the target porosity value is within the allowable range, the current porosity is determined to meet the porosity requirement. The system continuously compares the absolute error between the current porosity and the target porosity value. Once this error value is less than a preset tolerance threshold, the loop process is immediately terminated. This mechanism enables dynamic monitoring and feedback of the porosity formation progress, ensuring that the final porosity meets the preset requirements.

[0065] 160. Assemble the final matrix entity with the preset fiber entity to obtain a porous fiber random distribution RVE.

[0066] Optionally, the method for generating randomly distributed fiber VEs with pores of different shapes provided in this disclosure can achieve parametric modeling through programming. The random distribution process of pores can be completed using computer-aided design software. By controlling key variables such as porosity, fiber orientation, and spatial distribution through algorithms, a series of randomly distributed RVE models with different pores can be automatically generated in batches, improving modeling efficiency and repeatability. This ensures that the final obtained RVE has a uniform pore structure and randomized fiber distribution, which can be used for subsequent micromechanical simulation and performance prediction.

[0067] Figure 12 A schematic flowchart of another method for generating porous fiber random distribution RVEs provided in this application; The method for generating randomly distributed fiber dynamic range (RVE) with pores of different shapes provided in this disclosure includes: setting pore-related parameters; randomly generating initial pore center coordinates and determining pore radii; pre-setting pore conflict judgment rules and corresponding conflict resolution mechanisms; determining pore shapes; drawing two-dimensional cross-sections based on the verified pore center coordinates and pore radii and extruding them into pore entities; removing the pore entities from the matrix entity to obtain an updated matrix entity; calculating the current porosity; determining whether it meets the requirements; if it does, continuing to create new pores and perform conflict verification, pore entity construction, and porosity calculation and judgment until the porosity meets the requirements, obtaining the final matrix entity; finally, assembling the final matrix entity with the pre-set fiber entity to obtain a randomly distributed RVE containing porous fibers. This method enables rapid construction of RVEs that meet different porosity requirements, ensuring model effectiveness and improving the efficiency of composite material performance prediction.

[0068] The following two examples illustrate the method for generating random distribution RVEs of fibers with pores of different shapes provided in this application.

[0069] Example 1: Circular Pore RVE Generation S101: Set the RVE region to a 50μm×50μm square, with 75 fibers, a fiber radius of 2.5μm, and a fiber volume fraction of 58.9%; set the minimum distance between the i-th fiber cross-section and other generated fiber cross-sections to 0.1μm, the maximum distance between the i-th fiber cross-section and adjacent fiber cross-sections to 0.25μm, and the maximum distance between the i-th fiber cross-section and other generated fiber cross-sections to 70μm; S102: Set the minimum distance between the centers of the fiber cross sections as follows The minimum distance between the centers of the fiber cross sections is A random sequence generation algorithm was used to generate 75 fiber cross-sections within the RVE region to ensure... and The following requirements must be met: ; ; S103: Stretch the fiber and the matrix along the thickness direction by 10μm to obtain a fiber solid and a matrix solid; S104: Select circular pore shape, set pore radius range to 1-1.5μm, minimum distance between pores to 0.1μm, target porosity to 5%, and porosity error to 0.3%; S105: The first pore center coordinates are generated as (12μm, 7μm) and the radius is 1.3μm based on the Mason rotation algorithm; S106: The distance between the pore and the nearest fiber center is determined to be 5μm (greater than the fiber radius of 2.5μm + pore radius of 1.3μm), which is not conflicting; S107: Draw a circular pore cross section and extrude it into a pore solid; S108: Remove the porous solid portion from the matrix solid to obtain a new matrix solid with a current porosity of 0.2%; S109: Cyclicly generate pores until the porosity reaches the error range, generating a total of 50 pores; S110: Assemble the fiber entity and the new matrix entity to obtain the RVE model with circular pores.

[0070] Example 2: RVE generation of irregularly shaped pores S201: Set the RVE region to a 50μm×50μm square, the number of fibers to 75, the fiber radius to 2.5μm, the fiber volume fraction to 58.9%, set the minimum distance between the i-th fiber cross-section and other generated fiber cross-sections to 0.1μm, the maximum distance between the i-th fiber cross-section and adjacent fiber cross-sections to 0.25μm, and the maximum distance between the i-th fiber cross-section and other generated fiber cross-sections to 70μm; S202: Set the minimum distance between the centers of the fiber cross sections as follows: The minimum distance between the centers of the fiber cross sections is A random sequence generation algorithm was used to generate 75 fiber cross-sections within the RVE region to ensure... and The following requirements must be met: ; ; S203: Stretch the fiber and the matrix 10μm along the thickness direction to obtain a fiber solid and a matrix solid; S204: Select irregular pore shape, set pore radius range to 1-1.5μm, minimum distance between pores to 0.1μm, target porosity to 5%, and porosity error to 0.3%; S205: The first pore center coordinates (12μm, 7μm) with a radius of 1.3μm were generated based on the Mason rotation algorithm; S206: The distance between the pore and the nearest fiber center is determined to be 5μm (greater than the fiber radius of 2.5μm + pore radius of 1.3μm), which is not conflicting. S207: Determine the pore shape as irregular, set the number of vertices to 6, the radius to a random range of 0-1.3μm, randomly generate an angle for each vertex, sort by angle, connect the vertices with splines, and draw the irregular pore cross section; S208: Remove the porous solid portion from the matrix solid to obtain a new matrix solid with a current porosity of 0.03%; S209: Circulate and generate pores until the porosity is within the error range, generating a total of 48 pores; S210: Assemble the fiber entity and the new matrix entity to obtain an RVE model with irregular pores.

[0071] Based on the above embodiments, this disclosure also provides an apparatus for generating randomly distributed porous fiber RVEs, such as... Figure 13 As shown, the apparatus for generating porous fiber randomly distributed RVEs includes: Setting module 201 is used to set porosity-related parameters; The determining module 202 is used to randomly determine the center coordinates of the initial pore within a preset two-dimensional RVE region, and determine the pore radius of the initial pore in combination with the pore-related parameters; Processing module 203 is used to establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification on the pore to be constructed and eliminate the conflict based on the pore conflict judgment rules. The construction module 204 is used to generate a two-dimensional cross section of the pore according to the preset pore shape, combined with the pore center coordinates and the pore radius after being processed by the conflict resolution mechanism, and to stretch the two-dimensional cross section of the pore along a preset direction to form a pore entity; The control module 205 is used to remove the pore entity from the preset matrix entity to obtain an updated matrix entity, calculate the current porosity corresponding to the updated matrix entity, and determine whether it meets the preset porosity index. If the current porosity does not meet the porosity index, new pores are continuously generated, and the conflict verification of the processing module, the pore entity construction of the establishment module, and the porosity calculation and judgment of the control module are executed in sequence until the current porosity meets the preset porosity index to obtain the final matrix entity. Assembly module 206 is used to assemble the final matrix entity with the preset fiber entity to obtain a porous fiber random distribution RVE.

[0072] In a specific implementation, the setting module 210 is specifically used to select the pore shape, set the pore radius, define the initial porosity, and set the minimum spacing between pores, the maximum pore size, the minimum pore size, the target porosity, and the porosity error.

[0073] In a specific implementation, the determining module 220 is specifically used to use the Mason rotation random number generation algorithm to filter and obtain the center coordinates of the first pore within the two-dimensional RVE region; at the same time, it determines the pore radius of the pore within the range of pore radius values ​​defined by the parameter set.

[0074] In a specific implementation, in the processing module 230, the first conflict judgment rule is to determine whether the pore to be constructed is completely inside the fiber, and the second conflict judgment rule is to determine whether the distance between the pore to be constructed and the generated pore meets the preset specification.

[0075] In a specific implementation, the execution steps of the conflict resolution mechanism include: calculating the distance D1 from the center of the pore to be constructed to the center of the fiber cross section, and the center distance D2 between the pore to be constructed and the already generated pore; if the conditions "D1 and the radius of the pore to be constructed are less than the fiber radius" and "D2 is less than the preset minimum safe distance between pores" are met, then the center coordinates of the pore to be constructed and the pore radius are redefined until neither of the above two conflict conditions is met.

[0076] In a specific implementation, the step of the construction module 240 generating a two-dimensional cross-section of the pores according to a preset pore morphology includes at least one of the following implementation methods: If the pore shape is circular, draw a circular two-dimensional cross section directly within the two-dimensional RVE region; If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and randomly determine the ratio, set the specific lengths of the major axis and the minor axis, randomly select the rotation angle and determine the coordinates of the ellipse vertex through coordinate transformation, and then draw the elliptical two-dimensional cross section. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. After determining the coordinates of each vertex through coordinate transformation, connect them in sequence to draw a two-dimensional cross-section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. Determine the coordinates of each vertex through coordinate transformation. After sorting the vertices according to their angles relative to the pore center, connect them sequentially to draw a two-dimensional cross-section of the polygon. If the pore shape is irregular, after setting the number of sides, randomly assign angles to each vertex, determine the vertex coordinates through coordinate transformation, sort by angle and remove vertices whose distance between adjacent vertices is less than the minimum spline drawing distance, and use spline curves to connect the remaining vertices to draw the irregular two-dimensional cross section.

[0077] In a specific implementation, the control module 250 is further configured to preset a porosity error allowable range; when the difference between the current porosity and the preset target porosity is within the error allowable range, the current porosity is determined to meet the preset porosity index.

[0078] The porous fiber random distribution RVE device provided in this disclosure enables rapid construction of RVEs that meet different porosity requirements, ensuring model effectiveness and improving the efficiency of composite material performance prediction.

[0079] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the present invention according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0080] This application also provides a computer device. Please refer to the following for details. Figure 14 , Figure 14 This is a basic structural block diagram of the computer device in this embodiment.

[0081] The computer device includes a memory 310 and a processor 320 that are interconnected via a system bus. It should be noted that only a computer device with components 310-320 is shown in the figure; however, it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0082] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through methods such as keyboards, mice, remote controls, touchpads, or voice-activated devices.

[0083] The memory 310 includes at least one type of readable storage medium, which includes non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. RAM may include static RAM or dynamic RAM. In some embodiments, the memory 310 may be an internal storage unit of a computer device, such as the hard disk or RAM of the computer device. In other embodiments, the memory 310 may also be an external storage device of the computer device, such as a plug-in hard drive, SmartMediaCard (SMC), SecureDigital (SD) card, or FlashCard. Of course, the memory 310 may include both internal and external storage units of the computer device. In this embodiment, the memory 310 is typically used to store the operating system and various application software installed on the computer device, such as the program code of the methods described above. Furthermore, the memory 310 can also be used to temporarily store various types of data that have been output or will be output.

[0084] Processor 320 is typically used to perform overall operations of a computer device. In this embodiment, memory 310 is used to store program code or instructions, including computer operation instructions, and processor 320 is used to execute the program code or instructions stored in memory 310 or process data, such as program code that runs the methods described above.

[0085] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not indicate that there is only one bus or one type of bus.

[0086] Another embodiment of this application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer-readable program code stored in the computer-readable medium, enabling the processor to execute the functional actions specified in each step or combination of steps in the above method; and to generate means for implementing the functional actions specified in each block or combination of blocks in the block diagram.

[0087] Computer-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any suitable combination thereof, wherein the memory is used to store program code or instructions, the program code including computer operation instructions, and the processor is used to execute the program code or instructions of the above-described methods stored in the memory.

[0088] The definitions of memory and processor can be found in the description of the foregoing computer device embodiments, and will not be repeated here.

[0089] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0090] In the various embodiments of this application, the functional units or modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0092] Unless otherwise expressly indicated by the context, the singular form of words used herein and in the appended claims includes the plural form, and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the terms “comprising” and “including” shall be interpreted as including rather than exclusively. Likewise, the terms “including” and “or” shall be interpreted as including unless such interpretation is expressly prohibited herein. Where the term “example” is used herein, particularly when it follows a set of terms, the “example” is merely exemplary and illustrative and should not be considered exclusive or extensive.

[0093] Further aspects and scope of adaptation become apparent from the description provided herein. It should be understood that various aspects of this application may be implemented individually or in combination with one or more other aspects. It should also be understood that the descriptions and specific embodiments herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0094] Several embodiments of this disclosure have been described in detail above. However, it is obvious that those skilled in the art can make various modifications and variations to the embodiments of this disclosure without departing from the spirit and scope of this disclosure. The scope of protection of this disclosure is defined by the appended claims.

[0095] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0096] Obviously, those skilled in the art should understand that the various units or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps into a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0097] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

[0098] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0099] Obviously, those skilled in the art should understand that the various units or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps into a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0100] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for generating porous fiber randomly distributed RVEs, characterized in that, include: Set porosity-related parameters; The center coordinates of the initial pore are randomly determined within a preset two-dimensional RVE region, and the pore radius of the initial pore is determined in combination with the pore-related parameters. Establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification and eliminate conflict of the pore to be constructed based on the pore conflict judgment rules. Based on the preset pore shape, combined with the pore center coordinates and pore radius after being processed by the conflict resolution mechanism, a two-dimensional pore cross section is generated, and the two-dimensional pore cross section is stretched along a preset direction to form a pore entity; The pore entity is removed from the preset matrix entity to obtain the updated matrix entity. The current porosity corresponding to the updated matrix entity is calculated, and it is determined whether it meets the preset porosity index. If the current porosity does not meet the porosity index, new pores are continuously generated, and conflict checking, pore entity construction, and porosity calculation and judgment are performed in sequence until the current porosity meets the preset porosity index, and the final matrix entity is obtained. The final matrix entity is assembled with the preset fiber entity to obtain a porous fiber random distribution RVE.

2. The method according to claim 1, characterized in that, The parameter set required for pore generation specifically includes: Select the pore shape, set the pore radius, and define the current porosity; Set the minimum spacing between pores, the maximum pore size, the minimum pore size, the target porosity, and the porosity error.

3. The method according to claim 1, characterized in that, The step of randomly determining the center coordinates of the initial pore within the two-dimensional RVE region and determining the pore radius of the initial pore in combination with the parameter set specifically includes: The center coordinates of the first pore are obtained by using the Mason rotation random number generation algorithm within the two-dimensional RVE region; at the same time, the pore radius of the pore is determined within the range of pore radius values ​​defined by the parameter set.

4. The method according to claim 1, characterized in that, The first conflict judgment rule is to determine whether the pore to be constructed is completely inside the fiber, and the second conflict judgment rule is to determine whether the distance between the pore to be constructed and the generated pore meets the preset specification.

5. The method according to claim 1, characterized in that, The execution steps of the conflict resolution mechanism include: calculating the distance D1 from the center of the pore to be constructed to the center of the fiber cross section, and the center distance D2 between the pore to be constructed and the generated pore; if "the sum of D1 and the radius of the pore to be constructed is less than the fiber radius" and "D2 is less than the preset minimum safe distance between pores", then the center coordinates of the pore to be constructed and the pore radius are redefined until neither of the above two conflict conditions is met.

6. The method according to claim 1, characterized in that, The step of generating a two-dimensional cross-section of the pores according to a preset pore morphology specifically includes at least one of the following implementation methods: If the pore shape is circular, draw a circular two-dimensional cross section directly within the two-dimensional RVE region; If the pore shape is elliptical, define the range of the ratio of the minor axis to the major axis and randomly determine the ratio, set the specific lengths of the major axis and the minor axis, randomly select the rotation angle and determine the coordinates of the ellipse vertex through coordinate transformation, and then draw the elliptical two-dimensional cross section. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. After determining the coordinates of each vertex through coordinate transformation, connect them in sequence to draw a two-dimensional cross-section of the regular polygon. If the pore shape is a regular polygon, set the number of sides and randomly select the rotation angle. Determine the coordinates of each vertex through coordinate transformation. Then connect the vertices in order of their angles relative to the pore center to draw a two-dimensional cross-section of the polygon. If the pore shape is irregular, after setting the number of sides, randomly assign angles to each vertex, determine the vertex coordinates through coordinate transformation, sort by angle and remove vertices whose distance between adjacent vertices is less than the minimum spline drawing distance, and use spline curves to connect the remaining vertices to draw the irregular two-dimensional cross section.

7. The method according to claim 1, characterized in that, Before the step of determining whether the current porosity meets the preset porosity index, the method further includes: Preset allowable range for porosity error; When the difference between the current porosity and the preset target porosity is within the allowable error range, the current porosity is determined to meet the preset porosity index.

8. A device for generating randomly distributed porous fiber RVEs, characterized in that, include: The settings module is used to set pore-related parameters; The determination module is used to randomly determine the center coordinates of the initial pore within a preset two-dimensional RVE region, and determine the pore radius of the initial pore in combination with the pore-related parameters; The processing module is used to establish pore conflict judgment rules and corresponding conflict resolution mechanisms. The pore conflict judgment rules include at least a first conflict judgment rule for the pore to be constructed and the fiber, and a second conflict judgment rule for the pore to be constructed and the generated pore. The conflict resolution mechanism is used to perform conflict verification on the pore to be constructed and eliminate the conflict based on the pore conflict judgment rules. The construction module is used to generate a two-dimensional cross section of the pore based on the preset pore shape, combined with the pore center coordinates and the pore radius after being processed by the conflict resolution mechanism, and to stretch the two-dimensional cross section of the pore along a preset direction to form a pore entity; The control module is used to remove the pore entity from the preset matrix entity to obtain an updated matrix entity, calculate the current porosity corresponding to the updated matrix entity, and determine whether it meets the preset porosity index. If the current porosity does not meet the porosity index, new pores are continuously generated, and the conflict verification of the processing module, the pore entity construction of the establishment module, and the porosity calculation and judgment of the control module are executed sequentially until the current porosity meets the preset porosity index, and the final matrix entity is obtained. The assembly module is used to assemble the final matrix entity with the preset fiber entity to obtain a porous fiber random distribution RVE.

9. A computer device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 7.