CN116629049A - Cross-section attribute giving method, device, equipment and storage medium for finite element model - Google Patents

Cross-section attribute giving method, device, equipment and storage medium for finite element model Download PDF

Info

Publication number
CN116629049A
CN116629049A CN202310512645.2A CN202310512645A CN116629049A CN 116629049 A CN116629049 A CN 116629049A CN 202310512645 A CN202310512645 A CN 202310512645A CN 116629049 A CN116629049 A CN 116629049A
Authority
CN
China
Prior art keywords
list
section
attribute
section attribute
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310512645.2A
Other languages
Chinese (zh)
Inventor
张志成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huangpu Institute of Materials
Original Assignee
Huangpu Institute of Materials
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huangpu Institute of Materials filed Critical Huangpu Institute of Materials
Priority to CN202310512645.2A priority Critical patent/CN116629049A/en
Publication of CN116629049A publication Critical patent/CN116629049A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for endowing section attribute of a finite element model, wherein the method comprises the following steps: obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model; updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list; and adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes. The application can effectively improve the efficiency of endowing each part in the finite element model with the section attribute.

Description

Cross-section attribute giving method, device, equipment and storage medium for finite element model
Technical Field
The present application relates to the field of simulation modeling technologies, and in particular, to a method, an apparatus, a device, and a storage medium for assigning a cross-sectional attribute of a finite element model.
Background
In order to improve accuracy of analysis results of the finite element simulation experiment, before performing the finite element simulation analysis, parameters of properties such as section properties and material properties corresponding to each component of the finite element model need to be defined.
However, when the properties such as section properties, material properties and the like are given to each component of the finite element model based on the prior art, a manual operation-by-operation method is still needed, and the method is low in efficiency and difficult to ensure the accuracy of operation results.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, device, and storage medium for imparting cross-sectional properties to a finite element model.
In a first aspect, the present application provides a cross-sectional property imparting method for a finite element model. The method comprises the following steps:
obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model;
updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list;
and adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes.
In one embodiment, the cross section property list includes a cross section property data list and a material property data list; the updating the section attribute list based on the data matching condition between the part names of the parts in the model part list and the section attribute list comprises the following steps:
matching the section attribute names carried by each component with the attribute names of each section attribute data in the section attribute list in sequence; under the condition that each attribute name is inconsistent with the section attribute name carried by the current component, taking the section attribute name carried by the current component as the attribute name of the newly-added section attribute data in the section attribute list; and determining the material attribute corresponding to the newly added section attribute data based on the attribute name of the newly added section attribute data and the matching result of the material name of each material attribute data in the material attribute data list.
In one embodiment, the determining, based on the attribute name of the new section attribute data and the matching result of the material names of the material attribute data in the material attribute data list, the material attribute corresponding to the new section attribute data includes:
If any material name is not consistent with the material definition in the attribute name of the newly-added section attribute data, determining the material attribute corresponding to the newly-added section attribute data based on a preset naming standard; and if any material name is consistent with the material definition in the attribute name of the newly-added section attribute data, determining the material attribute corresponding to the newly-added section attribute data based on the material definition in the attribute name of the newly-added section attribute data.
In one embodiment, after the obtaining the model component list corresponding to the finite element model and the section attribute list corresponding to the finite element model, the method further includes:
classifying the section attribute list according to the section type represented by the attribute name of each section attribute data in the section attribute list to obtain a shell section attribute list and a solid section attribute list; and classifying the data of the model part list according to the naming format of the part names of all the parts in the model part list to obtain a shell type part list and a entity type part list.
In one embodiment, the method further comprises: each of the components is incorporated into a corresponding set of model components.
In one embodiment, the attribute definition object includes a part geometry and a part grid; the step of adopting the updated section attribute list to define objects for the attributes corresponding to each component in the model component list and endowing corresponding section attributes comprises the following steps:
when the type of any part is a geometric body, adopting the updated section attribute list to endow the corresponding section attribute for the part geometric body corresponding to the current part; and under the condition that the type of any part is a grid, adopting the updated section attribute list to endow the corresponding section attribute for the part grid corresponding to the current part.
In a second aspect, the application further provides a section attribute giving device of the finite element model. The device comprises:
the target data acquisition module is used for acquiring a model component list corresponding to the finite element model and a section attribute list corresponding to the finite element model;
the attribute list updating module is used for updating the section attribute list based on the data matching condition between the part names of all the parts in the model part list and the section attribute list to obtain an updated section attribute list;
And the section attribute assignment module is used for defining objects for the attributes corresponding to all the components in the model component list by adopting the updated section attribute list, assigning corresponding section attributes and obtaining a plurality of components with the assigned section attributes.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model; updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list; and adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model; updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list; and adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model; updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list; and adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes.
The method, apparatus, device and storage medium for assigning cross-section properties of a finite element model are provided, and first, a model component list corresponding to the finite element model and a cross-section property list corresponding to the finite element model are acquired. Then, based on the data matching condition between the part names of the parts in the model part list and the section attribute list, updating the section attribute list to obtain an updated section attribute list. And finally, adopting the updated section attribute list to define objects for the attributes corresponding to each component in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes. According to the application, based on the corresponding relation between the attribute names of the section attribute data and the part names of the parts in the finite element model, the corresponding section attribute is automatically endowed to the parts in the finite element model, so that the efficiency of endowing the section attribute to the parts in the finite element model can be improved, the misoperation phenomenon possibly caused by manual operation one by one can be avoided, and the accuracy of the operation result of endowing the section attribute to the parts in the finite element model is further effectively improved.
Drawings
FIG. 1 is a flow diagram of a cross-sectional property imparting method for a finite element model provided in one embodiment;
FIG. 2 is a flow diagram of a particular manner of updating a cross-section property list in one embodiment;
FIG. 3 is a flowchart illustrating a specific manner of determining material properties corresponding to newly added section property data in one embodiment;
FIG. 4 is a flow diagram of a particular manner of data classification for a cross-section property list and a model part list in one embodiment;
FIG. 5 is a flow diagram of a particular manner in which corresponding cross-sectional properties are assigned to property definition objects corresponding to respective components in one embodiment;
FIG. 6 is a block diagram of a cross-sectional property imparting device of a finite element model provided in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
In one embodiment, as shown in fig. 1, there is provided a section attribute assigning method of a finite element model, which is applied to a terminal execution example for explanation, including the steps of:
step S110, a model component list corresponding to the finite element model and a section attribute list corresponding to the finite element model are obtained.
In the step, the model component list corresponding to the finite element model refers to a component list corresponding to the finite element model and containing all components in the finite element model; the section attribute list corresponding to the finite element model refers to a section attribute list corresponding to the finite element model and containing a plurality of section attribute data, wherein the section attribute data is section attribute data for endowing each part in the finite element model with a corresponding section attribute.
In practical application, the finite element model can be a finite element model created by adopting finite element software Abaqus for engineering simulation; the specific way to obtain the model component list corresponding to the finite element model may be to import or create a component geometric model containing each component corresponding to the current finite element model, where the component names of each component in the component geometric model all follow a uniform naming format, for example, component name-section type-section thickness-material (naming format of shell-type component), and component name-material (naming format of solid-type component); the cross section attribute list corresponding to the finite element model may be a cross section attribute list stored in a cross section attribute database, or a cross section attribute list created through a GUI interface of software, or a cross section attribute list copied from other finite element models, and each cross section attribute data in the cross section attribute list may follow a uniform naming format, for example, a cross section type-cross section thickness-material (shell type cross section attribute data), and a cross section type-material (solid type cross section attribute data).
Step S120, updating the section attribute list based on the data matching condition between the part names of all the parts in the model part list and the section attribute list, and obtaining an updated section attribute list.
In this step, the model component list, that is, the model component list corresponding to the finite element model, refers to the component list corresponding to the finite element model and including each component in the finite element model; the section attribute list, namely the section attribute list corresponding to the finite element model, refers to the section attribute list corresponding to the finite element model and containing a plurality of section attribute data.
In practical application, a specific way to obtain the data matching condition between the part names of the parts in the model part list and the section attribute list may be to confirm whether section attribute data representing relevant information such as section thickness, material and the like in the part names of the parts in the model part list exists in the section attribute list.
And step S130, defining objects for the attributes corresponding to each component in the model component list by adopting the updated section attribute list, and endowing the corresponding section attributes to obtain a plurality of components endowed with the section attributes.
In the step, the updated section attribute list refers to an updated section attribute list obtained by updating the section attribute list based on the data matching condition between the part names of all the parts in the model part list and the section attribute list; the model component list, that is, the model component list corresponding to the finite element model, refers to the component list corresponding to the finite element model and including each component in the finite element model.
In practical application, the updated section attribute list is adopted to define objects for the attributes corresponding to each component in the model component list, and the specific mode of endowing the corresponding section attribute can be to endow the corresponding section attribute for the attribute definition object corresponding to each component in the model component list based on the corresponding relation between the component name of each component in the model component list and the updated section attribute list; the correspondence between the component names of the respective components in the model component list and the updated section attribute list may be determined by sequentially matching the component names of the respective components in the model component list with the attribute names of the respective section attribute data in the updated section attribute list.
In the method for assigning the cross-sectional attribute of the finite element model, a model component list corresponding to the finite element model and a cross-sectional attribute list corresponding to the finite element model are acquired. Then, based on the data matching condition between the part names of the parts in the model part list and the section attribute list, updating the section attribute list to obtain an updated section attribute list. And finally, adopting the updated section attribute list to define objects for the attributes corresponding to each component in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes. According to the application, based on the corresponding relation between the attribute names of the section attribute data and the part names of the parts in the finite element model, the corresponding section attribute is automatically endowed to the parts in the finite element model, so that the efficiency of endowing the section attribute to the parts in the finite element model can be improved, the misoperation phenomenon possibly caused by manual operation one by one can be avoided, and the accuracy of the operation result of endowing the section attribute to the parts in the finite element model is further effectively improved.
For the specific way of updating the cross section property list, in one embodiment, the cross section property list includes a cross section property data list and a material property data list; as shown in fig. 2, the step S120 specifically includes:
step S210, the section attribute names carried by the components are matched with the attribute names of the section attribute data in the section attribute list in sequence.
In the step, the section attribute names of all the parts refer to the section attribute names of all the parts in the part names of the parts in the model part list corresponding to the finite element model; the section attribute list, namely the section attribute list corresponding to the finite element model, refers to the section attribute list corresponding to the finite element model and containing a plurality of section attribute data.
In practical application, the specific purpose of matching each component name with the attribute names of each section attribute data in the section attribute list in sequence may be to confirm whether there is an attribute name consistent with the section attribute name carried by each component in the model component list corresponding to the finite element model in the attribute names of each section attribute data in the section attribute list.
Step S220, when the attribute names are inconsistent with the section attribute names carried by the current component, the section attribute names carried by the current component are used as the attribute names of the newly added section attribute data in the section attribute list.
In this step, each attribute name refers to an attribute name of each section attribute data in the section attribute list; the section attribute name carried by the current component refers to the section attribute name carried in the component name of a certain component in the model component list, which is currently matched with the attribute name of each section attribute data in the section attribute list; each attribute name is inconsistent with the section attribute name carried by the current component, which means that among the attribute names of each section attribute data in the section attribute list, there is no attribute name consistent with the section attribute name carried by the current component.
In practical application, the newly added section attribute data can be created by defining a mode of automatically creating the section attribute function, and on the basis that the section attribute list comprises a shell section attribute data list and a solid section attribute data list, when attribute data are newly added for the two data lists, the creation can be performed by respectively defining a mode of automatically creating the shell section attribute function and an automatic creating the solid section attribute function.
Step S230, determining the material attribute corresponding to the newly added section attribute data based on the matching result of the attribute name of the newly added section attribute data and the material name of each material attribute data in the material attribute data list.
In this step, the attribute name of the newly added section attribute data refers to the attribute name of the newly added section attribute data in the section attribute list; the matching result of the attribute name of the newly added section attribute data with the material name of each material attribute data in the material attribute data list means a matching result for confirming whether or not there is a material name matching with the material definition in the attribute name of the newly added section attribute data among the material names of each material attribute data in the material attribute data list.
According to the embodiment, whether the section attribute data need to be newly added is determined based on the matching condition between the section attribute names of all the parts in the model part list and the attribute names of all the section attribute data in the section attribute list, and the attribute names and the material attribute of the newly added section attribute data are confirmed, so that the efficiency of updating the section attribute data list is effectively improved, and the efficiency of endowing the section attribute to all the parts in the finite element model is further ensured.
For a specific manner of determining the material attribute corresponding to the newly added section attribute data, in one embodiment, as shown in fig. 3, the step S230 specifically includes:
step S310, if any material name does not exist and is consistent with the material definition in the attribute name of the newly added section attribute data, determining the material attribute corresponding to the newly added section attribute data based on the preset naming standard.
In the step, the absence of any material name consistent with the material definition in the attribute name of the newly added section attribute data means that the absence of any material name consistent with the material definition in the attribute name of the newly added section attribute data in the material names of the respective material attribute data in the material attribute data list; the preset naming standard refers to a preset naming standard for naming the material attribute corresponding to the newly added section attribute data when any material name is not consistent with the material definition in the attribute name of the newly added section attribute data.
In practical applications, a specific manner of determining the material attribute corresponding to the newly added section attribute data based on the preset naming standard may be to name the material attribute corresponding to the newly added section attribute data as "nofindwaterial" when there is no coincidence between any material name and the material definition in the attribute name of the newly added section attribute data (i.e., the preset naming standard for naming the material attribute corresponding to the newly added section attribute data is "nofindwaterial").
In step S320, if any material name matches the material definition in the attribute name of the new section attribute data, the material attribute corresponding to the new section attribute data is determined based on the material definition in the attribute name of the new section attribute data.
In the step, the existence of any material name is consistent with the material definition in the attribute name of the newly added section attribute data, namely, the existence of any material name in the material names of the material attribute data in the material attribute data list is consistent with the material definition in the attribute name of the newly added section attribute data; determining a material attribute corresponding to the newly added section attribute data based on the material definition in the attribute name of the newly added section attribute data refers to determining the material definition in the attribute name of the section attribute data as the material attribute corresponding to the newly added section attribute data.
According to the embodiment, by judging whether any material name is consistent with the material definition in the attribute name of the newly-added section attribute data or not, the concrete expression form of the material attribute corresponding to the newly-added section attribute data is determined, so that the efficiency of determining the material attribute corresponding to the newly-added section attribute data is improved, and the data accuracy of the newly-added section attribute data is effectively ensured.
For a specific way of classifying data for the section attribute list and the model component list, in one embodiment, as shown in fig. 4, after the step S110, the method further includes:
step S410, according to the section types represented by the attribute names of the section attribute data in the section attribute list, classifying the section attribute list to obtain a shell section attribute list and a solid section attribute list.
In this step, the data classification is performed on the cross section attribute list according to the cross section types represented by the attribute names of the cross section attribute data in the cross section attribute list, that is, the cross section attribute list may be data classified based on the difference of the cross section types represented by the attribute names of the cross section attribute data in the cross section attribute list because the attribute names of the cross section attribute data in the cross section attribute list all have the related information representing the cross section types to which the cross section attribute data belongs; the shell-type section attribute list is a shell-type section attribute list formed by combining section type which is characterized by attribute names of section attribute data in the section attribute list and is section attribute data of a shell-type section; the solid section attribute list is a solid section attribute list formed by combining section attribute data of which the section types represented by attribute names of section attribute data in the section attribute list are solid sections.
In practical application, assuming that each section attribute data in the section attribute list conforms to a unified naming format, namely a section type-section thickness-material (shell-type section attribute data) and a section type-material (entity-type section attribute data), each section attribute data in a format of "section type-section thickness-material" can be included in the shell-type section attribute list, and each section attribute data in a format of "section type-material" can be included in a format of "section type-section thickness-material" (i.e., the section type characterized by the attribute name is an entity-type section).
Step S420, according to the naming format of the component names of the components in the model component list, classifying the data of the model component list to obtain a shell type component list and a solid type component list.
In this step, the data classification is performed on the model component list according to the naming format of the component names of the components in the model component list, which means that the data classification is performed on the model component list according to the naming format of the component names of the components in the model component list because the naming format of the component names of the model components corresponding to different section types of the model component list is different; the shell type part list is formed by combining all parts with the corresponding section types of shell type sections in the model part list; the solid type part list is a solid type part list formed by combining parts with solid type cross sections corresponding to the cross section types in the model part list.
In practical applications, assuming that the component names of the components in the model component list all follow a unified naming format, that is, the component name-section type-section thickness-material (naming format of shell-type components) and the component name-material (naming format of entity-type components), each component with the naming format of "component name-section type-section thickness-material" (naming format of shell-type components) may be included in the shell-type component list, and each component with the naming format of "component name-material" (naming format of entity-type components) may be included in the entity-type component list.
The above embodiment effectively improves the efficiency of assigning the section attribute to each component in the finite element model by classifying the section attribute list and the model component list according to the attribute name of each section attribute data in the section attribute list and the naming format of the component name of each component in the model component list.
For a particular way of incorporating a component into a corresponding set of model components, in one embodiment, the above method further comprises:
each component is incorporated into a corresponding set of model components.
The corresponding model component set refers to a model component set for placing corresponding components, and the model component set may be formed by corresponding components not endowed with section properties (i.e., corresponding components selected from each component in a model component list corresponding to the finite element model) or corresponding components endowed with section properties (i.e., corresponding components selected from each component endowed with section properties), and when the model component set is used subsequently, the model component set may be used to characterize corresponding components contained in the model component set.
The embodiment effectively improves the subsequent use efficiency of the corresponding parts in the model part set by bringing the parts into the corresponding model part set.
For the specific manner in which the respective cross-sectional properties are assigned to the property definition objects corresponding to each component, in one embodiment, the property definition objects include a component geometry and a component grid; as shown in fig. 5, the step S130 specifically includes:
step S510, when the type of any component is a geometric body, the updated section attribute list is adopted to assign corresponding section attributes to the component geometric body corresponding to the current component.
In the step, the type of any part is a geometric body, which means that the type of any part in the model part list is a geometric body; the component geometry corresponding to the current component refers to that when the type of any component in the model component list is geometry, the attribute definition object corresponding to the component is the component geometry.
Step S520, when the type of any component is a grid, the updated section attribute list is adopted to endow the corresponding section attribute to the component grid corresponding to the current component.
In the step, the type of any part is a grid, which means that the type of any part in the model part list is a grid; the component mesh corresponding to the current component refers to that, in the case where the type of any component in the model component list is a mesh, the attribute definition object corresponding to the component is the component mesh.
In practical applications, after steps S510 to S520, a function for creating a component set may be defined, so that after the type of each component given with the cross-sectional attribute is determined (that is, each component is determined to belong to a geometry type or a grid type), a component set of a corresponding type is created (that is, a component of a geometry type is created, a component set of a geometry type is created, a component of a grid type is created, and a component set of a grid type is created).
According to the embodiment, the accuracy of the operation result of endowing the section attribute to each component in the finite element model is effectively ensured by determining the attribute definition object corresponding to each component based on the type of each component and endowing the corresponding section attribute to each attribute definition object.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a section attribute giving device of the finite element model for realizing the section attribute giving method of the finite element model. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the cross-section attribute imparting device for one or more finite element models provided below may be referred to the limitation of the cross-section attribute imparting method for a finite element model hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 6, there is provided a section property imparting apparatus of a finite element model, the apparatus 600 including:
the target data obtaining module 610 is configured to obtain a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model;
an attribute list updating module 620, configured to update the section attribute list based on a data matching condition between a part name of each part in the model part list and the section attribute list, to obtain an updated section attribute list;
and the section attribute assignment module 630 is configured to assign corresponding section attributes to the attribute definition objects corresponding to each component in the model component list by using the updated section attribute list, and obtain a plurality of components to which the section attributes are assigned.
In one embodiment, the cross section property list includes a cross section property data list and a material property data list; the attribute list updating module 620 is specifically configured to match each component name with an attribute name of each section attribute data in the section attribute list in sequence; under the condition that each attribute name is inconsistent with the section attribute name carried by the current component, taking the section attribute name carried by the current component as the attribute name of the newly-added section attribute data in the section attribute list; and determining the material attribute corresponding to the newly added section attribute data based on the attribute name of the newly added section attribute data and the matching result of the material name of each material attribute data in the material attribute data list.
In one embodiment, the attribute list updating module 620 is further configured to determine, based on a preset naming standard, a material attribute corresponding to the new section attribute data if there is no material definition in which any material name is consistent with the material definition in the attribute name of the new section attribute data; and if any material name is consistent with the material definition in the attribute name of the newly-added section attribute data, determining the material attribute corresponding to the newly-added section attribute data based on the material definition in the attribute name of the newly-added section attribute data.
In one embodiment, the target data obtaining module 610 is specifically configured to perform data classification on the section attribute list according to a section type represented by an attribute name of each section attribute data in the section attribute list, so as to obtain a shell section attribute list and a solid section attribute list; and classifying the data of the model part list according to the naming format of the part names of all the parts in the model part list to obtain a shell type part list and a entity type part list.
In one embodiment, the apparatus further includes: and the component set generating module is used for incorporating each component into the corresponding model component set.
In one embodiment, the attribute definition object includes a part geometry and a part grid; the section attribute assignment module 630 is specifically configured to assign, when any of the types of the parts is a geometry, a corresponding section attribute to the part geometry corresponding to the current part by using the updated section attribute list; and under the condition that the type of any part is a grid, adopting the updated section attribute list to endow the corresponding section attribute for the part grid corresponding to the current part.
The respective modules in the section attribute imparting means of the finite element model described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a cross-sectional property imparting method for a finite element model. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A cross-sectional property imparting method of a finite element model, the method comprising:
obtaining a model component list corresponding to a finite element model and a section attribute list corresponding to the finite element model;
updating the section attribute list based on the data matching condition between the part names of all parts in the model part list and the section attribute list to obtain an updated section attribute list;
And adopting the updated section attribute list to define objects for the attributes corresponding to all the components in the model component list, endowing the corresponding section attributes, and obtaining a plurality of components endowed with the section attributes.
2. The method of claim 1, wherein the cross-section property list comprises a cross-section property data list and a material property data list;
the updating the section attribute list based on the data matching condition between the part names of the parts in the model part list and the section attribute list comprises the following steps:
matching the section attribute names carried by each component with the attribute names of each section attribute data in the section attribute list in sequence;
under the condition that each attribute name is inconsistent with the section attribute name carried by the current component, taking the section attribute name carried by the current component as the attribute name of the newly-added section attribute data in the section attribute list;
and determining the material attribute corresponding to the newly added section attribute data based on the attribute name of the newly added section attribute data and the matching result of the material name of each material attribute data in the material attribute data list.
3. The method according to claim 2, wherein the determining the material attribute corresponding to the new section attribute data based on the matching result of the attribute name of the new section attribute data and the material name of each material attribute data in the material attribute data list includes:
if any material name is not consistent with the material definition in the attribute name of the newly-added section attribute data, determining the material attribute corresponding to the newly-added section attribute data based on a preset naming standard;
and if any material name is consistent with the material definition in the attribute name of the newly-added section attribute data, determining the material attribute corresponding to the newly-added section attribute data based on the material definition in the attribute name of the newly-added section attribute data.
4. The method according to claim 1, wherein after the obtaining the model part list corresponding to the finite element model and the section attribute list corresponding to the finite element model, the method further comprises:
classifying the section attribute list according to the section type represented by the attribute name of each section attribute data in the section attribute list to obtain a shell section attribute list and a solid section attribute list;
And classifying the data of the model part list according to the naming format of the part names of all the parts in the model part list to obtain a shell type part list and a entity type part list.
5. The method according to any one of claims 1 to 4, further comprising:
each of the components is incorporated into a corresponding set of model components.
6. The method of claim 1, wherein the property definition object comprises a part geometry and a part grid;
the step of adopting the updated section attribute list to define objects for the attributes corresponding to each component in the model component list and endowing corresponding section attributes comprises the following steps:
when the type of any part is a geometric body, adopting the updated section attribute list to endow the corresponding section attribute for the part geometric body corresponding to the current part;
and under the condition that the type of any part is a grid, adopting the updated section attribute list to endow the corresponding section attribute for the part grid corresponding to the current part.
7. A section attribute imparting device of a finite element model, the device comprising:
The target data acquisition module is used for acquiring a model component list corresponding to the finite element model and a section attribute list corresponding to the finite element model;
the attribute list updating module is used for updating the section attribute list based on the data matching condition between the part names of all the parts in the model part list and the section attribute list to obtain an updated section attribute list;
and the section attribute assignment module is used for defining objects for the attributes corresponding to all the components in the model component list by adopting the updated section attribute list, assigning corresponding section attributes and obtaining a plurality of model components with the section attributes.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202310512645.2A 2023-05-08 2023-05-08 Cross-section attribute giving method, device, equipment and storage medium for finite element model Pending CN116629049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310512645.2A CN116629049A (en) 2023-05-08 2023-05-08 Cross-section attribute giving method, device, equipment and storage medium for finite element model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310512645.2A CN116629049A (en) 2023-05-08 2023-05-08 Cross-section attribute giving method, device, equipment and storage medium for finite element model

Publications (1)

Publication Number Publication Date
CN116629049A true CN116629049A (en) 2023-08-22

Family

ID=87635692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310512645.2A Pending CN116629049A (en) 2023-05-08 2023-05-08 Cross-section attribute giving method, device, equipment and storage medium for finite element model

Country Status (1)

Country Link
CN (1) CN116629049A (en)

Similar Documents

Publication Publication Date Title
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN114115844A (en) Page generation method and device, computer equipment and storage medium
CN116305895A (en) Product model generation method, device, computer equipment and storage medium
CN112052157B (en) Method, device and system for constructing test message
CN117112090A (en) Business page theme generation method, device, computer equipment, medium and product
CN116629049A (en) Cross-section attribute giving method, device, equipment and storage medium for finite element model
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114528045B (en) Plug-in operation method, device, computer equipment and storage medium
CN116881594A (en) View updating method, device, computer equipment and storage medium
CN117331590B (en) Process design toolkit updating method, device, computer equipment and storage medium
CN117453957A (en) Resource processing method, device, computer equipment and storage medium
CN115766447B (en) Equipment function updating method and device
CN116150840A (en) Model generation method, device, apparatus, storage medium, and program product
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium
CN117130606A (en) Front-end page configuration method, front-end page configuration device, computer equipment and storage medium
CN117033242A (en) Test data generation method, device, computer equipment and storage medium
CN116737140A (en) Business component construction method, device, computer equipment and storage medium
CN116258597A (en) Document processing method, device, computer equipment and storage medium
CN116775955A (en) Data tag solidifying method, device, computer equipment and storage medium
CN116204541A (en) Multidimensional database updating method, multidimensional database updating device, computer equipment and storage medium
CN116737138A (en) Application generation method, device, computer equipment and storage medium
CN117032631A (en) Test outline generation method, device, computer equipment and storage medium
CN117522296A (en) Auditing flow generation method, auditing flow generation device, computer equipment and storage medium
CN117707582A (en) Method and device for updating assembly of virtual object and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination