1. Field of the Invention
The present invention relates to a mesh generation method, and more particularly, to a mesh generation method applied for an analysis of injection-molding simulation.
2. Description of the Related Art
Generally speaking, when conducting a computer-aided engineering analysis, a simulated object needs to be divided into meshes by a computer. These meshes form a close representation of the simulated object model, so that it can be analyzed through numerical methods such as FDM, FEM, FVM or FEM. Therefore, a three-dimensional object model has to be divided into three-dimensional meshes for further analysis. There are usually four types of three-dimensional meshes, which include tetrahedral, pyramidal, prismoid and hexahedral meshes. When the model is divided in the direction of X, Y, and Z-axis, each divided element will be rectangular shaped (hexahedral) and these rectangular elements can be used as building blocks to construct the entire model. The meshes can be easily generated through this method and it is highly efficient thereby greatly reducing the preparation time for mesh generation.
Moreover, the runner needs to be considered inside the mold design to become a part of the plastic injection-molding process. Since the process of making the component and its final outcome is influenced by factors such as the plastic viscosity, which may cause uneven flow of the liquid plastic along the runner; the path, which the liquid plastic flows along inside the runner; and the distance, which is the length where liquid plastic flows; thus, it is critical to include runner analysis into the simulation to obtain a more realistic result.
However, the model meshes constructed by the hexahedral elements posses quadrilateral mesh surfaces. Therefore, the solid runner meshes must be constructed by extending the quadrilateral mesh surfaces outward, and the solid runner meshes also complying with the actual runner geometry (for example, conical shape). With this, it is necessary to provide a mesh generation method which can accommodate hexahedral elements and runner geometry simultaneously.
In order to resolve the problems in the prior art, the present invention provides a new method for generating meshes and a computer-readable article for executing the method which is applied during the analysis in computer aided engineering.
The method comprises the following steps: generating a plurality of model meshes for the model; creating a runner for the model; generating a plurality of runner meshes for the runner; and modifying the plurality of runner meshes or model meshes at an intersection area located between the model and the runner so that each runner mesh node maps to a corresponding model mesh node.
In one embodiment of the present invention, at least a line is constructed on the model; the attribute of the line is set as a runner, and the diameter size is set for the formation of the runner.
In one embodiment of the present invention, the runner meshes which are located closer to the model at the intersection area are divided into 8N-4 meshes in each mesh layer with N being the nth position located from the cross-sectional center of each mesh layer. The runner meshes which are located further away from the model are divided into 16N-8 meshes in each mesh layer with N being the nth position located from the cross-sectional center of each mesh layer.
In one embodiment, the present invention uses the cross-sectional center of the runner meshes located closer to the intersection area of the model as the center point, and process radially outward by dividing each mesh into two meshes, such that 8N-4 runner meshes become a total of 16N-8 runner meshes. The node mapping relationships will be created such that each 16N-8 runner mesh node located closer to the model is mapped to a corresponding 16N-8 runner mesh node located further away from the model.
Furthermore, the present invention provides a computer-readable article which can be used in the analysis of computer aided engineering. The article includes a recordable program medium, and the medium further comprises a first program code, a second program code, a third program code and a fourth program code which is used for the mesh generation method of the present invention.
The advantages and innovative features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The present invention first provides a method for mesh generation. Refer to
As shown in
In one embodiment of the present invention, Voxel method is used to create the meshes, which means the model is divided from the direction of X, Y, and Z-axis, and these mesh elements are rectangular shaped (hexahedral). Refer to
Next, the present invention proceeds with step S12 which creates a runner in the model. As shown in
As shown in
The present invention is not only able to generate uniform plurality of the model meshes 10 and the runner meshes 22 automatically, but it can also automatically generate adaptive model meshes 10 and runner meshes 22, such that the intersection area A as shown in
Next, the present invention proceeds with step S14 which modifies the intersection area A located between the plurality of model meshes and the plurality of runner meshes, so that each node in the plurality of model meshes 10 maps to a corresponding node in the plurality of runner meshes 22. To comply with actual geometry of the runner 20, the plurality of model meshes 10 having quadrilateral cross-sectional surfaces are used as the basis, and they are then extended outwards to construct the plurality of runner meshes 22 in step S13. Thus, if the geometry of the runner 20 is conical-shaped as shown in
As shown in
Take note that the procedure of the present invention is not confined to the steps as shown in
Furthermore, there are other modification methods which are able to accomplish the mapping of each node in the plurality of model meshes to each node in the plurality of runner meshes at the intersection area. The present invention is able to achieve the same object through different ways, and is not confined to the aforementioned method. For example, in step S14 of the present invention, we can also treat the cross-sectional center of the plurality of meshes 23 as the central point, and proceeds radially outward to each mesh layer by merging two meshes obtained from the 16N-8 meshes into a single mesh such that it becomes a total of 8N-4 meshes. Thus, quantity of the plurality of meshes 23 and the plurality of meshes 24 will be the same. Next, the node of each mesh of the plurality of meshes 23, which are arranged as 8N-4 meshes with N being the nth position away from the cross-sectional center, are mapped to corresponding node of each mesh of the plurality of meshes 23, which are also arranged into 8N-4 meshes with N being the nth position away from the cross-sectional center.
Furthermore, if the plurality of runner meshes 22 created in step S13 only consists of the solid runner meshes 23 with triangular cross-sectional surfaces, step S14 of the present invention will take a pair of meshes located at the nth position from the cross-sectional center and merge them into a single mesh so that it becomes a total of 8N-4 meshes. As a result, each node can be mapped to the corresponding nodes in model meshes 10, which consists of 8N-4 meshes with N being the position located from the cross-sectional center. As an alternative, step S14 of the present invention is able to divide each mesh obtained from the 8N-4 meshes, with N being the position located from the cross-sectional center of the model meshes 10, into two meshes such that it becomes a total of 16N-8 meshes. Each node can then be mapped to the corresponding node of 16N-8 meshes, with N being the position located from the cross-sectional center of the runner meshes 23.
Next, as shown in
Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.
Number | Date | Country | Kind |
---|---|---|---|
095139406 | Oct 2006 | TW | national |