A fine grid model beam unit node offset modeling method and system electronic medium
By acquiring and constructing beam unit height optimization files and model bias files, reading attribute numbers and assigning height optimization values, fast and efficient bias modeling of beam unit nodes of fine mesh model is achieved, and the existing technology is solved Inefficient and error-prone problems.
Patent Information
- Application Number
- CN202111617315.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The prior art is inefficient and prone to errors when biasing the beam unit nodes of the refined grid model, especially when the number of beam units is large, it requires a lot of time and effort.
By obtaining beam unit height optimization files, building beam unit model bias files and variables, reading attribute numbers and assigning height optimization values, traversing and reading each beam unit attribute number, achieving fast and efficient use of beam unit nodes in fine grid model beam unit Bias modeling.
The efficiency of node bias modeling of beam elements in fine mesh model is improved, the possibility of errors is reduced, and the process is simplified, especially when the number of beam elements is large.
Smart Images

Figure CN114218717B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of fine grid model beam unit node offset modeling, and specifically relates to a fine grid model beam unit node offset modeling method and system electronic medium. Background Art
[0002] In engineering design, the height of the beam unit of the refined mesh model is optimized to obtain the height optimization value of each beam unit in the mesh model. Based on this, it is necessary to perform offset modeling on the beam unit nodes of the refined mesh model.
[0003] Currently, for the offset modeling of the beam unit nodes of the refined mesh model, most of them are done by modifying the beam unit height one by one through MSC's Patran software, or by modifying the CBAR units in the model file-bdf document one by one. When the number of beam units is large, it takes a lot of time and energy, is inefficient, and is prone to errors.
[0004] This application is proposed in view of the above-mentioned technical defects.
[0005] It should be noted that the disclosure of the above background technology content is only used to assist in understanding the inventive concept and technical solution of the present invention, and it does not necessarily belong to the prior art of this patent application. In the absence of clear evidence that the above content has been disclosed on the filing date of this application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention
[0006] The purpose of the present application is to provide a fine grid model beam unit node offset modeling method and system electronic medium to overcome or alleviate at least one aspect of the known technical defects.
[0007] The technical solution of this application is:
[0008] On the one hand, a fine grid model beam unit node offset modeling method is provided, comprising:
[0009] Get the beam element height optimization file, including the beam element attribute number and the beam element height optimization value;
[0010] Build beam element model offset file;
[0011] Construct beam element variables;
[0012] Read the attribute number of the beam unit in the beam unit model file, assign the information of the corresponding beam unit in the beam unit model file to the beam unit variable, search for the attribute number of the corresponding beam unit in the beam unit height optimization file, assign the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, and input the information in the beam unit variable into the beam unit model offset file;
[0013] Traverse and read the attribute number of each beam element in the beam element model file.
[0014] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling method,
[0015] The height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically:
[0016] Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file to the beam element variable as the offset of the two end points of the beam element.
[0017] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling method, the information of the beam unit includes the attribute number of the beam unit, the two end node numbers of the beam unit, the reference vector X component of the beam unit, the reference vector Y component of the beam unit, and the reference vector Z component of the beam unit.
[0018] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling method, the information of the beam unit also includes the number of the beam unit.
[0019] On the other hand, a fine grid model beam unit node offset modeling system is provided, comprising:
[0020] Beam unit height optimization file acquisition unit, obtain the beam unit height optimization file, including the attribute number of the beam unit and the height optimization value of the beam unit;
[0021] Beam element model offset file construction unit, build beam element model offset file;
[0022] Beam element variable construction unit, construct beam element variables;
[0023] The beam unit node offset modeling unit reads the attribute number of the beam unit in the beam unit model file, assigns the information of the corresponding beam unit in the beam unit model file to the beam unit variable, searches for the attribute number of the corresponding beam unit in the beam unit height optimization file, assigns the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, inputs the information in the beam unit variable into the beam unit model offset file, and traverses and reads the attribute number of each beam unit in the beam unit model file.
[0024] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling system, the height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically:
[0025] Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file to the beam element variable as the offset of the two end points of the beam element.
[0026] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling system, the information of the beam unit includes the attribute number of the beam unit, the two end node numbers of the beam unit, the reference vector X component of the beam unit, the reference vector Y component of the beam unit, and the reference vector Z component of the beam unit.
[0027] According to at least one embodiment of the present application, in the above-mentioned fine grid model beam unit node offset modeling system, the information of the beam unit also includes the number of the beam unit.
[0028] Another aspect provides an electronic device, comprising:
[0029] processor;
[0030] A memory stores a computer program, wherein the computer program is configured to implement any of the above methods when executed by the processor.
[0031] On the other hand, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above methods can be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of a fine grid model beam unit node offset modeling method provided in an embodiment of the present application;
[0033] Figure 2 is a schematic diagram of a fine grid model beam unit node offset modeling system provided in an embodiment of the present application;
[0034] Figure 3It is a schematic diagram of a fine grid model beam unit node before offset provided in an embodiment of the present application;
[0035] Figure 4 It is a schematic diagram of the fine grid model beam unit node offset provided in an embodiment of the present application.
[0036] In order to better illustrate this embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; in addition, the drawings are used for illustrative purposes, and their positional relationships are limited to illustrative purposes and cannot be understood as limitations on this patent. DETAILED DESCRIPTION
[0037] In order to make the technical solution and advantages of the present application clearer, the technical solution of the present application will be further described in detail in detail and in detail in conjunction with the accompanying drawings. It can be understood that the specific embodiments described here are only partial embodiments of the present application, which are only used to explain the present application, not to limit the present application. It should be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, and other related parts can refer to the general design. In the absence of conflict, the embodiments in the present application and the technical features in the embodiments can be combined with each other to obtain new embodiments.
[0038] In addition, unless otherwise defined, the technical terms or scientific terms used in the description of this application shall be the common meanings understood by the general technicians in the field to which this application belongs. The words "upper", "lower", "left", "right", "center", "vertical", "horizontal", "inside", "outside" and other words indicating orientation used in the description of this application are only used to indicate the relative direction or positional relationship, and do not imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. When the absolute position of the described object changes, its relative positional relationship may also change accordingly, so it cannot be understood as a limitation on this application. The "first", "second", "third" and similar terms used in the description of this application are only used for descriptive purposes to distinguish different components, and cannot be understood as indicating or implying relative importance. The similar words "one", "one" or "the" used in the description of this application should not be understood as an absolute limitation on quantity, but should be understood as the existence of at least one. The similar words "including" or "comprising" used in the description of this application mean that the elements or objects appearing in front of the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0039] In addition, it should be noted that, unless otherwise clearly specified and limited, the words "installed", "connected", "connected" and similar terms used in the description of this application should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, an indirect connection through an intermediate medium, or the internal connection of two components. Technical personnel in the field can understand their specific meanings in this application according to the specific circumstances.
[0040] The following is combined with Figures 1 to 4 This application is described in further detail.
[0041] A fine grid model beam unit node offset modeling method, comprising:
[0042] Get the beam element height optimization file, including the beam element attribute number and the beam element height optimization value;
[0043] Build beam element model offset file;
[0044] Construct beam element variables;
[0045] Read the attribute number of the beam unit in the beam unit model file, assign the information of the corresponding beam unit in the beam unit model file to the beam unit variable, search for the attribute number of the corresponding beam unit in the beam unit height optimization file, assign the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, and input the information in the beam unit variable into the beam unit model offset file;
[0046] Traverse and read the attribute number of each beam element in the beam element model file.
[0047] As for the fine grid model beam unit node offset modeling method disclosed in the above embodiment, it can be understood by technicians in the field that it constructs a beam unit model offset file, establishes beam unit variables, traverses and reads the attribute numbers of each beam unit in the beam unit model file, assigns the information of the corresponding beam unit in the beam unit model file to the beam unit variable, searches for the attribute number of the corresponding beam unit in the beam unit height optimization file, assigns the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, and inputs the information in the beam unit variable into the beam unit model offset file, thereby realizing fine grid model beam unit node offset modeling, which is fast and efficient and can reduce the possibility of errors.
[0048] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling method, the height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically:
[0049] Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file to the beam element variable as the offset of the two end points of the beam element.
[0050] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling method, the information of the beam unit includes the attribute number of the beam unit, the two end node numbers of the beam unit, the reference vector X component of the beam unit, the reference vector Y component of the beam unit, and the reference vector Z component of the beam unit.
[0051] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling method, the beam unit information also includes the beam unit number.
[0052] Regarding the fine grid model beam unit node offset modeling method disclosed in the above embodiment, technicians in the field can understand that the corresponding processing program can be compiled in Fortran language, and after traversing and reading the attribute numbers of each beam unit in the beam unit model file and inputting the information in the beam unit variables into the beam unit model offset file, it can be displayed and checked in the patran software.
[0053] On the other hand, a fine grid model beam unit node offset modeling system is provided, comprising:
[0054] Beam unit height optimization file acquisition unit, obtain the beam unit height optimization file, including the attribute number of the beam unit and the height optimization value of the beam unit;
[0055] Beam element model offset file construction unit, build beam element model offset file;
[0056] Beam element variable construction unit, construct beam element variables;
[0057] The beam unit node offset modeling unit reads the attribute number of the beam unit in the beam unit model file, assigns the information of the corresponding beam unit in the beam unit model file to the beam unit variable, searches for the attribute number of the corresponding beam unit in the beam unit height optimization file, assigns the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, inputs the information in the beam unit variable into the beam unit model offset file, and traverses and reads the attribute number of each beam unit in the beam unit model file.
[0058] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling system, the height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically:
[0059] Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file to the beam element variable as the offset of the two end points of the beam element.
[0060] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling system, the information of the beam unit includes the attribute number of the beam unit, the two end node numbers of the beam unit, the reference vector X component of the beam unit, the reference vector Y component of the beam unit, and the reference vector Z component of the beam unit.
[0061] In some optional embodiments, in the above-mentioned fine grid model beam unit node offset modeling system, the information of the beam unit also includes the number of the beam unit.
[0062] Regarding the fine grid model beam unit node offset modeling system disclosed in the above embodiment, since it corresponds to the fine grid model beam unit node offset modeling method disclosed in the above embodiment, the description is relatively simple. For specific related matters, please refer to the relevant part of the fine grid model beam unit node offset modeling method. Its technical effects can also refer to the technical effects of the relevant part of the fine grid model beam unit node offset modeling method, which will not be repeated here.
[0063] In addition, technicians in the field should also be able to realize that the various modules and units of the device disclosed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, this application generally describes them according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Technicians in the field can choose to adopt different methods to implement the described functions for each specific application and its actual constraints, but such implementation should not be considered to be beyond the scope of this application.
[0064] Another aspect provides an electronic device, comprising:
[0065] processor;
[0066] A memory stores a computer program, wherein the computer program is configured to implement any of the above methods when executed by the processor.
[0067] In some optional embodiments, the processor can be a central processing unit CPU or other form of processing unit with data processing capability and / or instruction execution capability, can be a general-purpose processor or a special-purpose processor, and can control other components in the compensation electronic device to perform the desired functions.
[0068] In some optional embodiments, the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory, the volatile memory may be a random access memory RAM and / or a cache memory cache, and the non-volatile memory may be a read-only memory ROM, a hard disk, a flash memory, etc. The memory may store a computer program, and the processor runs the computer program to implement the functions in the embodiments of the present application and / or other desired functions. In addition, various application programs and various data may also be stored.
[0069] In some optional embodiments, the processor and the memory may be connected via a bus system, which may be a serial or parallel communication bus or the like.
[0070] It should be noted that, for the sake of clarity and brevity, not all components of the electronic device are shown in the above embodiments. To implement the necessary functions of the electronic device, technicians in the field can provide and set other components not shown according to specific needs.
[0071] For the electronic device disclosed in the above embodiments, since its processor can implement any of the above methods when executing the computer program stored in its memory, its technical effects can refer to the technical effects of the above method part accordingly, and will not be repeated here.
[0072] On the other hand, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above methods can be implemented.
[0073] In some optional embodiments, the computer-readable storage medium may include a memory card of a smartphone, a storage component of a tablet computer, a hard disk of a personal computer, a random access memory RAM, a read-only memory ROM, an erasable programmable read-only memory EPROM, a portable compact disk read-only memory CD-ROM, flash memory, or any combination of the above storage media, or other applicable storage media.
[0074] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0075] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. Those skilled in the art should understand that the scope of protection of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the scope of protection of the present application.
Claims
1. A fine grid model beam unit node offset modeling method, characterized in that: include: Get the beam element height optimization file, including the beam element attribute number and the beam element height optimization value; Build beam element model offset file; Construct beam element variables; Read the attribute number of the beam unit in the beam unit model file, assign the information of the corresponding beam unit in the beam unit model file to the beam unit variable, search for the attribute number of the corresponding beam unit in the beam unit height optimization file, assign the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, and input the information in the beam unit variable into the beam unit model offset file; Traverse and read the attribute number of each beam element in the beam element model file; The height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically: Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file as the offset of the two end points of the beam element to the beam element variable; The information of the beam element includes the attribute number of the beam element, the two end node numbers of the beam element, the reference vector X component of the beam element, the reference vector Y component of the beam element, and the reference vector Z component of the beam element.
2. The fine grid model beam unit node offset modeling method according to claim 1, characterized in that: The information of the beam element also includes the number of the beam element.
3. A fine grid model beam unit node offset modeling system, characterized in that: include: Beam unit height optimization file acquisition unit, obtain the beam unit height optimization file, including the attribute number of the beam unit and the height optimization value of the beam unit; Beam element model offset file construction unit, build beam element model offset file; Beam element variable construction unit, construct beam element variables; The beam unit node offset modeling unit reads the attribute number of the beam unit in the beam unit model file, assigns the information of the corresponding beam unit in the beam unit model file to the beam unit variable, searches for the attribute number of the corresponding beam unit in the beam unit height optimization file, assigns the height optimization value of the corresponding beam unit in the beam unit height optimization file as the offset of the beam unit to the beam unit variable, and inputs the information in the beam unit variable into the beam unit model offset file; traverses and reads the attribute number of each beam unit in the beam unit model file; In the beam unit node offset modeling, the height optimization value of the corresponding beam unit in the beam unit height optimization file is assigned to the beam unit variable as the offset of the beam unit, specifically: Assign 1 / 2 of the height optimization value of the corresponding beam element in the beam element height optimization file as the offset of the two end points of the beam element to the beam element variable; The information of the beam element includes the attribute number of the beam element, the two end node numbers of the beam element, the reference vector X component of the beam element, the reference vector Y component of the beam element, and the reference vector Z component of the beam element.
4. The fine grid model beam unit node offset modeling system according to claim 3, characterized in that: The information of the beam element also includes the number of the beam element.
5. An electronic device, characterized in that: include: processor; A memory storing a computer program, wherein the computer program is configured to implement the fine grid model beam unit node offset modeling method described in any one of claims 1-2 when executed by the processor.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, can implement the fine grid model beam unit node offset modeling method described in any one of claims 1-2.
Citation Information
Patent Citations
Optimization design method of skeleton structure of airplane assembly tool
CN101710360A
Method for evaluating engineering structure finite element model
CN101976279A
System and method for generating finite element models
US20030048269A1
