Disclosure of Invention
In view of the above technical problems, embodiments of the present invention provide a method and an apparatus for converting a mechanism model and a bar plate structure prototype model, which solve the problem that the mechanism model and the bar plate structure prototype model accurately correspond to each other.
A first aspect of an embodiment of the present invention provides a method for model transformation of a machine model and a bar plate structure prototype, where the method includes:
discretizing each sub-component in the rod plate structure prototype model to obtain a plurality of discrete finite elements of each sub-component, wherein the sub-components comprise at least one of rods, plates and beams;
determining the stress of the discrete finite elements;
merging all discrete finite units of each sub-component to obtain the stress of the merged units;
and (4) carrying out stress screening according to a preset strategy, and determining the load, the geometric position, the geometric dimension and/or the safety margin of each sub-component.
Optionally, performing stress screening according to a preset strategy to determine the load of each sub-component, including:
comparing the stress of all discrete finite elements and determining the discrete finite element with the minimum stress;
endowing the load of the discrete finite element with the minimum stress to a preset strength model, and determining the load of the sub-component;
alternatively, the first and second electrodes may be,
comparing the stress of all discrete finite elements and determining the discrete finite element with the maximum stress;
endowing the load of the discrete finite element with the maximum stress to a preset strength model, and determining the load of the sub-component;
or;
determining an average stress according to the stresses of all discrete finite elements;
and endowing the load of the discrete finite element with the minimum difference with the average stress to a preset strength model, and determining the load of the sub-component.
Optionally, the stress comprises at least one of an axial stress and an axial face stress.
Optionally, the stress comprises stress of both surfaces of the discrete finite element; and/or the presence of a gas in the gas,
when the stress is axial stress, the load of the discrete finite element with the minimum stress or the discrete finite element with the maximum stress comprises: the method comprises the following steps of providing a first direction force flow Fx, a second direction force flow Fy, a first surface shear flow Fxy formed by the first direction and the second direction, a second surface shear flow Fzx formed by the first direction and the third direction, a third surface shear flow Fyz formed by the second direction and the third direction, a second direction bending moment Mxz, a first direction bending moment Myz, and a third direction bending moment Mxy, wherein when the stress is axial stress, the load of a discrete finite element with the smallest difference from the average stress is provided, or when the stress is axial surface stress, the load of a discrete finite element with the largest stress or the load of a discrete finite element with the largest stress is provided, and the method comprises the following steps: fx, Fy, Fxy, Fzx, Fyz, Mxz ═ 0, Myz ═ 0, and Mxy ═ 0.
Optionally, discretizing each sub-component in the bar plate structure prototype model to obtain a plurality of discrete finite elements of each sub-component, including:
and uniformly dividing each sub-component in the bar plate structure prototype model to obtain a plurality of discrete finite elements of each sub-component, wherein the discrete finite elements are square.
A second aspect of an embodiment of the present invention provides an apparatus for model conversion of a mechanical model and a bar plate structure prototype, the apparatus including:
the discretization unit is used for discretizing each sub-component in the rod plate structure prototype model to obtain a plurality of discretization limited units of each sub-component, and the sub-components comprise at least one of rods, plates and beams;
a calculation unit for determining the stress of the discrete finite elements;
the merging unit is used for merging all the discrete finite units of each sub-component to obtain the stress of the merged units;
and the mapping unit is used for screening stress according to a preset strategy and determining the load, the geometric position, the geometric dimension and/or the safety margin of each sub-component.
Optionally, the mapping unit is specifically configured to:
comparing the stress of all discrete finite elements and determining the discrete finite element with the minimum stress;
endowing the load of the discrete finite element with the minimum stress to a preset strength model, and determining the load of the sub-component;
alternatively, the first and second electrodes may be,
comparing the stress of all discrete finite elements and determining the discrete finite element with the maximum stress;
endowing the load of the discrete finite element with the maximum stress to a preset strength model, and determining the load of the sub-component;
or;
determining an average stress according to the stresses of all discrete finite elements;
and endowing the load of the discrete finite element with the minimum difference with the average stress to a preset strength model, and determining the load of the sub-component.
Optionally, the stress comprises at least one of an axial stress and an axial face stress.
Optionally, the stress comprises stress of both surfaces of the discrete finite element; and/or the presence of a gas in the gas,
when the stress is axial stress, the load of the discrete finite element with the minimum stress or the discrete finite element with the maximum stress comprises: the method comprises the following steps of providing a first direction force flow Fx, a second direction force flow Fy, a first surface shear flow Fxy formed by the first direction and the second direction, a second surface shear flow Fzx formed by the first direction and the third direction, a third surface shear flow Fyz formed by the second direction and the third direction, a second direction bending moment Mxz, a first direction bending moment Myz, and a third direction bending moment Mxy, wherein when the stress is axial stress, the load of a discrete finite element with the smallest difference from the average stress is provided, or when the stress is axial surface stress, the load of a discrete finite element with the largest stress or the load of a discrete finite element with the largest stress is provided, and the method comprises the following steps: fx, Fy, Fxy, Fzx, Fyz, Mxz ═ 0, Myz ═ 0, and Mxy ═ 0.
Optionally, the discretization unit is specifically configured to:
and uniformly dividing each sub-component in the bar plate structure prototype model to obtain a plurality of discrete finite elements of each sub-component, wherein the discrete finite elements are square.
According to the technical scheme provided by the embodiment of the invention, discretization is carried out on each subcomponent to obtain a plurality of discrete finite elements of each subcomponent, and the load, the geometric position, the geometric size and/or the safety margin of the model representing the rod plate structure prototype are/is obtained by combining and mapping the plurality of discrete finite elements of each subcomponent, so that the reuse rate of the model can be greatly improved according to the common characteristics among the models, the standardized flow of modeling is conveniently constructed, the modeling efficiency is improved, and the unified management of model data is facilitated.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the following embodiments may be combined without conflict.
Referring to fig. 2, a bar-plate structure prototype model according to an embodiment of the present invention may include various sub-models, which have sub-components such as bars, plates, etc. Fig. 2 is a layer-by-layer decomposition and refinement of the real structure of the beam plate structure prototype model, and finally decomposition to a specific certain element/part/assembly, and the components are real physical objects. The stress model is a discrete structure of a pole plate structure prototype, stress distribution conditions of discrete structural units of the pole plate structure prototype are calculated with emphasis, the stress model is generally considered to be one of mechanism models, the strength model is used for evaluating the stability level of each actual physical structure of the prototype, and the stress model focuses on each specific physical structure and is generally considered to be a pole plate structure prototype model.
FIG. 3 is a schematic method flow diagram of a method of model transformation of a mechanism model and a bar plate structure prototype in an embodiment of the invention; the execution main body of the method for converting the mechanism model and the rod-plate structure prototype model in the embodiment of the invention can be any equipment with data processing and analyzing functions, such as a computer. Referring to fig. 3, a method for model transformation of a mechanical model and a bar plate structure prototype according to an embodiment of the present invention may include S301 to S304.
In S301, each sub-component in the bar plate structure prototype model is discretized to obtain a plurality of discrete finite elements of each sub-component, wherein the sub-component includes at least one of a bar, a plate, and a beam.
Exemplary subcomponents include rods, plates and beams.
The discretization mode of each sub-component can be selected according to needs, and illustratively, each sub-component in the bar plate structure prototype model is uniformly divided to obtain a plurality of discrete finite elements of each sub-component, and the discrete finite elements are square. Illustratively, the discrete finite elements are rectangles or squares; of course, the discrete finite elements may also be other regular or irregular shapes.
Illustratively, referring to fig. 4 and 5, fig. 4 is a schematic diagram of a plate structure of a bar plate structure prototype model according to an embodiment of the present invention, and fig. 5 is a schematic diagram of a discrete finite element corresponding to the plate in the embodiment shown in fig. 4. The rectangular panel of fig. 4 is uniformly divided into a plurality of square discrete finite elements, resulting in fig. 5.
In S302, determining a stress of the discrete finite element;
how the mechanism model after discretization corresponds to the rod plate structure prototype model without discretization, the content of the corresponding rod plate structure prototype model may include correspondence of geometric position, correspondence of geometric dimension, correspondence of load and/or correspondence of safety margin, and the content of the corresponding rod plate structure prototype model may all be characterized by the stress condition of the discretized finite elements after discretization, and therefore, the stress of each discretized finite element of each sub-component in S301 needs to be determined. It should be understood that the stress determination may be made using existing stress determination.
Illustratively, the stability shown in fig. 3 is studied in the field of strength, while the results of fig. 4 are stress results for each discrete finite element, and how the stress results represent the geometric position, geometric size, load and/or safety margin of the whole plate, i.e. how the stability of the prototype model of the beam plate is transformed by means of element mapping.
In S303, all the discrete finite elements of each sub-component are combined to obtain the stress of the combined element;
illustratively, all of the discrete finite elements shown in FIG. 4 are combined, and the combined elements are in accordance with the mechanical dimensions of the plate (i.e., the original plate) shown in FIG. 3.
The merging method adopts the existing merging method, such as a patent (publication number: CN108038335A, the name of the patent: a method and a device for determining the stress load of an aircraft skin unit).
From S303, the geometrical position, geometrical size, load and/or safety margin situation of each discrete finite element in the direction of the real plate structure is obtained.
In S304, stress screening is performed according to a preset strategy, and the load, the geometric position, the geometric size, and/or the safety margin of each sub-component are determined.
From S304, it may be determined which discrete finite element or elements the body represents the load, geometry, and/or safety margin of the entire sub-assembly.
In the following, the load correspondence is taken as an example to illustrate how the stress after dispersion characterizes the load of the bar plate structure prototype model.
The stress of the embodiment of the present invention may include the stress of both surfaces of the discrete finite element, that is, the stress includes the stress of the upper surface and the stress of the lower surface of the discrete finite element; of course, the stress may also include the stress of one surface of a discrete finite element, such as the stress of an upper surface or the stress of a lower surface.
The stress of the embodiment of the invention can comprise at least one of axial stress and axial surface stress, and exemplarily comprises the axial stress and the axial surface stress; illustratively, the stress includes axial stress; illustratively, the stress includes axial face stress.
For example, in some embodiments, stress screening may be performed according to a predetermined strategy, and determining the load of each sub-component may include: comparing the stress of all discrete finite elements and determining the discrete finite element with the minimum stress; and endowing the load of the discrete finite element with the minimum stress to a preset strength model, and determining the load of the sub-component. Exemplarily, x is a preset direction, which can be selected as required, Sx is a stress in the preset direction, Sx _ A, Sx _ B represents a stress on the upper surface and a stress on the lower surface, respectively, and referring to fig. 6A, when a stress is an axial stress, a load of a discrete finite element with the smallest axial stress among all discrete finite elements is mapped to a load of a sub-component; referring to fig. 6B, when the stress is the axial surface stress, the load of the discrete finite element with the smallest axial surface stress among all the discrete finite elements is mapped to the load of the sub-component. It should be noted that, in the embodiment of the present invention, the discrete finite elements are similar to plate elements, the plate elements are quadrilateral with thickness, and exist on the upper surface and the lower surface, when the plate is subjected to bending load, the stress on the upper surface and the lower surface is different, one surface is in tension and one surface is in compression, and the stress on the upper surface and the lower surface is respectively represented by Sx _ A, Sx _ B due to the difference of values representing the stress on the upper surface and the lower surface.
In some embodiments, the stresses of all discrete finite elements are compared, and the discrete finite element with the greatest stress is determined; and endowing the load of the discrete finite element with the maximum stress to a preset strength model, and determining the load of the sub-component. Referring to fig. 6C, when the stress is an axial stress, mapping the load of the discrete finite element with the largest axial stress among all the discrete finite elements to the load of the sub-component; referring to fig. 6D, when the stress is the axial surface stress, the load of the discrete finite element with the largest axial surface stress among all the discrete finite elements is mapped to the load of the sub-component.
In some embodiments, the average stress is determined from the stresses of all discrete finite elements; and endowing the load of the discrete finite element with the minimum difference with the average stress to a preset strength model, and determining the load of the sub-component. Referring to fig. 6E, when the stress is an axial stress, mapping the load of the discrete finite element with the smallest difference between the stress and the stress average value among all the discrete finite elements to the load of the sub-component; referring to fig. 6F, when the stress is axial surface stress, the load of the discrete finite element with the smallest difference between the stress and the average area weighted stress among all the discrete finite elements is mapped to the load of the sub-component.
That is, when the stress is an axial stress, the load of the smallest discrete finite element or the largest discrete finite element includes: the method comprises the following steps of providing a first direction force flow Fx, a second direction force flow Fy, a first surface shear flow Fxy formed by the first direction and the second direction, a second surface shear flow Fzx formed by the first direction and the third direction, a third surface shear flow Fyz formed by the second direction and the third direction, a second direction bending moment Mxz, a first direction bending moment Myz, and a third direction bending moment Mxy, wherein when the stress is axial stress, the load of a discrete finite element with the smallest difference from the average stress is provided, or when the stress is axial surface stress, the load of a discrete finite element with the largest stress or the load of a discrete finite element with the largest stress is provided, and the method comprises the following steps: fx, Fy, Fxy, Fzx, Fyz, Mxz ═ 0, Myz ═ 0, and Mxy ═ 0.
Optionally, the first direction may be a length direction of the discrete finite elements, the second direction may be a width direction of the discrete finite elements, and the third direction may be a thickness direction of the discrete finite elements; of course, the first direction, the second direction, and the third direction may be defined in other manners, for example, the first direction is a width direction of the discrete finite elements, the second direction is a length direction of the discrete finite elements, and the third direction is a thickness direction of the discrete finite elements.
And (3) solving the load representing the rod-plate structure model through merging and mapping the discrete finite elements, and calculating the stability of the rod-plate structure model, wherein the rod elements in the mechanism model can be similarly transformed to obtain the load of the rod-plate structure model. Similarly, model information such as the geometric dimension, the safety margin and the like of the prototype model of the plate-rod structure can be obtained by the unit mapping method. By the method, not only can the strength model of the prototype be established, but also other models such as the fatigue model of the prototype can be established.
According to the method for converting the mechanism model and the rod plate structure prototype model, discretization is carried out on each subcomponent to obtain a plurality of discrete finite elements of each subcomponent, and the plurality of discrete finite elements of each subcomponent are combined and mapped to obtain the load, the geometric position, the geometric dimension and/or the safety margin representing the rod plate structure prototype model.
The method for converting the mechanism model and the bar-plate structure prototype model in the embodiment of the present invention is described above, and the embodiment of the present invention further provides a device for converting the mechanism model and the bar-plate structure prototype model, corresponding to the method for converting the mechanism model and the bar-plate structure prototype model in the above embodiment, and the device for converting the mechanism model and the bar-plate structure prototype model in the embodiment of the present invention is described below.
Referring to fig. 7, the device for converting the mechanism model and the bar plate structure prototype model according to the embodiment of the present invention may include a discretization unit, a calculation unit, a merging unit, and a mapping unit.
The discretization unit is used for discretizing each sub-component in the rod plate structure model to obtain a plurality of discrete finite elements of each sub-component, and the sub-components comprise at least one of rods, plates and beams.
A computing unit for determining the stress of the discrete finite elements.
And the merging unit is used for merging all the discrete finite units of each sub-component to obtain the stress of the merged units.
And the mapping unit is used for screening stress according to a preset strategy and determining the load, the geometric position, the geometric dimension and/or the safety margin of each sub-component.
In some embodiments, the mapping unit is specifically configured to: comparing the stress of all discrete finite elements and determining the discrete finite element with the minimum stress; and endowing the load of the discrete finite element with the minimum stress to a preset strength model, and determining the load of the sub-component.
In some embodiments, the mapping unit is specifically configured to: comparing the stress of all discrete finite elements and determining the discrete finite element with the maximum stress; and endowing the load of the discrete finite element with the maximum stress to a preset strength model, and determining the load of the sub-component.
In some embodiments, the mapping unit is specifically configured to: determining an average stress according to the stresses of all discrete finite elements; and endowing the load of the discrete finite element with the minimum difference with the average stress to a preset strength model, and determining the load of the sub-component.
In some embodiments, the stress includes at least one of an axial stress and an axial face stress.
In some embodiments, the stress includes stress of both surfaces of the discrete finite element.
In some embodiments, when the stress is an axial stress, the loading of the smallest or largest discrete finite element of stress comprises: the method comprises the following steps of providing a first direction force flow Fx, a second direction force flow Fy, a first surface shear flow Fxy formed by the first direction and the second direction, a second surface shear flow Fzx formed by the first direction and the third direction, a third surface shear flow Fyz formed by the second direction and the third direction, a second direction bending moment Mxz, a first direction bending moment Myz, and a third direction bending moment Mxy, wherein when the stress is axial stress, the load of a discrete finite element with the smallest difference from the average stress is provided, or when the stress is axial surface stress, the load of a discrete finite element with the largest stress or the load of a discrete finite element with the largest stress is provided, and the method comprises the following steps: fx, Fy, Fxy, Fzx, Fyz, Mxz ═ 0, Myz ═ 0, and Mxy ═ 0.
In some embodiments, the discretization unit is specifically configured to: and uniformly dividing each sub-component in the bar plate structure prototype model to obtain a plurality of discrete finite elements of each sub-component, wherein the discrete finite elements are square.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.