Method of taking into account constructional and technological casting modifications in solidification simulations

Similar documents
IN recent years the dynamic development of multicore

Measurements using three-dimensional product imaging

1.2 Numerical Solutions of Flow Problems

Tiling Three-Dimensional Space with Simplices. Shankar Krishnan AT&T Labs - Research

CHAPTER 1. Introduction

Study on Improving the Quality of Reconstructed NURBS Surfaces

13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY

Meshing of flow and heat transfer problems

Introduction to FEM calculations

CSG obj. oper3. obj1 obj2 obj3. obj5. obj4

N. Hitschfeld. Blanco Encalada 2120, Santiago, CHILE.

Lecture 17: Solid Modeling.... a cubit on the one side, and a cubit on the other side Exodus 26:13

Data Representation in Visualisation

Application of laser optical displacement sensor to foundry processes control and research

What is visualization? Why is it important?

Shape fitting and non convex data analysis

Using three-dimensional CURVIC contact models to predict stress concentration effects in an axisymmetric model

Reasoning Boolean Operation for Modeling, Simulation and Fabrication of Heterogeneous Objects. Abstract

Outline of the presentation

Adaptive numerical methods

Lecture notes: Object modeling

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

ACCURACY OF NUMERICAL SOLUTION OF HEAT DIFFUSION EQUATION

Dgp _ lecture 2. Curves

Problem-Adapted Mesh Generation With FEM-Features

Adaptive Tessellation for Trimmed NURBS Surface

Scalable Engineering Calculations on The Example of Two Component Alloy Solidification

Does it Look Square? Hexagonal Bipyramids, Triangular Antiprismoids, and their Fractals

Simulation Model Creation and Assembly Essentials. R2014x

A Constrained Delaunay Triangle Mesh Method for Three-Dimensional Unstructured Boundary Point Cloud

9. Three Dimensional Object Representations

A numerical grid and grid less (Mesh less) techniques for the solution of 2D Laplace equation

SOME 024: Computer Aided Design. E. Rozos

FRANC3D / OSM Tutorial Slides

6.5. SYSTEMS OF INEQUALITIES

Advanced geometry tools for CEM

Three-Dimensional Reconstruction from Projections Based On Incidence Matrices of Patterns

Shape Control of Cubic H-Bézier Curve by Moving Control Point

Computational Geometry. Definition, Application Areas, and Course Overview

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Solid Modelling. Graphics Systems / Computer Graphics and Interfaces COLLEGE OF ENGINEERING UNIVERSITY OF PORTO

Licom Systems Ltd., Training Course Notes. 3D Surface Creation

A COMBINED OCTANT/DELAUNAY METHOD FOR FULLY AUTOMATIC 3D MESH GENERATION WITH MULTIPLE LEVEL OCTANT DIFFERENCES

Geometry Vocabulary. acute angle-an angle measuring less than 90 degrees

Surgical Cutting on a Multimodal Object Representation

VALLIAMMAI ENGINEERING COLLEGE

Local Modification of Subdivision Surfaces Based on Curved Mesh

Modeling 3D Objects: Part 2

Research Article Polygon Morphing and Its Application in Orebody Modeling

arxiv:cs/ v1 [cs.cg] 26 Feb 2002

Element Quality Metrics for Higher-Order Bernstein Bézier Elements

Chapter 1 Introduction

CHAPTER 3. METHODOLOGY. This chapter describes the background theory and different

PHOTOGRAMMETRIC TECHNIQUE FOR TEETH OCCLUSION ANALYSIS IN DENTISTRY

SDC. Engineering Analysis with COSMOSWorks. Paul M. Kurowski Ph.D., P.Eng. SolidWorks 2003 / COSMOSWorks 2003

Study on Delaunay Triangulation with the Islets Constraints

Automatic hybrid mesh generation for the boundary face method

Chapter 2: Rhino Objects

Computer Aided Design. Solid models and B-REP

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Second degree equations - quadratics. nonparametric: x 2 + y 2 + z 2 = r 2

The principles of CCTV design in VideoCAD

June 5, Institute of Structural Analysis Graz University of Technology Lessingstr. 25/II, 8010 Graz, Austria

Coupled Analysis of FSI

Revision of Inconsistent Orthographic Views

CURVILINEAR MESH GENERATION IN 3D

Point Cloud Filtering using Ray Casting by Eric Jensen 2012 The Basic Methodology

COORDINATE MEASUREMENTS OF COMPLEX-SHAPE SURFACES

CHAPTER 5 USE OF STL FILE FOR FINITE ELEMENT ANALYSIS

FACET SHIFT ALGORITHM BASED ON MINIMAL DISTANCE IN SIMPLIFICATION OF BUILDINGS WITH PARALLEL STRUCTURE

3-D visualisation of the elements of the wind power plant with the use of CAD software

Module 3 Mesh Generation

Chapter 8 Visualization and Optimization

Available online at ScienceDirect. Procedia Engineering 90 (2014 )

CPSC / Sonny Chan - University of Calgary. Collision Detection II

Möbius Transformations in Scientific Computing. David Eppstein

APPROACH TO ACCURATE PHOTOREALISTIC MODEL GENERATION FOR COMPLEX 3D OBJECTS

3. Preprocessing of ABAQUS/CAE

OVERLAY GRID BASED GEOMETRY CLEANUP

Geometry. Chapter 5. Types of Curves and Surfaces

This is an author-deposited version published in: Handle ID:.

Mesh Based Interpolative Coding (MBIC)

Automatic Pipeline Generation by the Sequential Segmentation and Skelton Construction of Point Cloud

Lecture 4b. Surface. Lecture 3 1

Computation Method for Evaluation of Surface Fine Structure by Highlight Lines

Rational Numbers: Graphing: The Coordinate Plane

NEW WAVE OF CAD SYSTEMS AND ITS APPLICATION IN DESIGN

Flank Millable Surface Design with Conical and Barrel Tools

APPROACH TO CREATING MODELS OF BLADE FOR PORTABLE SAWMILLS

Metal Casting Simulation on the Cloud

Fractal Gaskets: Reptiles, Hamiltonian Cycles, and Spatial Development

Chapter 12 Solid Modeling. Disadvantages of wireframe representations

Comparison of Two Mathematical Models for the Surface Reconstruction for Deformation Analysis by Using FARO Focus 3D

Tekla Structures Analysis Guide. Product version 21.0 March Tekla Corporation

IND62 TIM CALIBRATION OF FREE-FORM STANDARD AND THEIR APPLICATIONS FOR IN-PROCESS MEASUREMENT ON MACHINE TOOLS

Mathematics Curriculum

Determining Differences between Two Sets of Polygons

Parameterization of triangular meshes

Geometric Modeling Lecture Series. Prof. G. Wang Department of Mechanical and Industrial Engineering University of Manitoba

Definitions. Topology/Geometry of Geodesics. Joseph D. Clinton. SNEC June Magnus J. Wenninger

Transcription:

A R C H I V E S of F O U N D R Y E N G I N E E R I N G Published quarterly as the organ of the Foundry Commission of the Polish Academy of Sciences ISSN (1897-3310) Volume 10 Issue 4/2010 147 152 28/4 Method of taking into account constructional and technological casting modifications in solidification simulations J. Mikoda*, N. Sczygiol Instytut Informatyki Teoretycznej i Stosowanej, Politechnika Częstochowska, ul. Dąbrowskiego 73, 42-201 Częstochowa, Polska *Corresponding author. E-mail address: juliusz.mikoda@icis.pcz.pl Received 21.07.2010; accepted in revised form 25.08.2010 Abstract This paper presents the new approach to the problem of finite element mesh generation in case of constructional or technological changes in shape of the analysed area. The authorial method of mesh reconstruction, described in this article, creates meshes for modified areas by modification of mesh generated for the original areas. The following steps of reconstruction are described. These are: shape comparison, performed in order to detect changes and determine their types, removing these elements of original mesh that are located in modified parts of area and re-creating missing elements of new mesh. The authorial mesh generator, which enables to use the mechanism of mesh reconstruction is also described. Two examples of mesh reconstruction are presented in this article. The first example shows situation when constructional changes are implemented and the second one technological. These examples show that the described method allows to decrease time of mesh generation significantly. The last section of this article includes summary and conclusions. Keywords: Application of information technology to the foundry industry, Mesh generator, Advancing front method, Mesh reconstruction. 1. Introduction Advanced numerical methods could be treated as the basis of simulations of physical phenomena. The Finite Element Method (FEM) [1], one of the most popular advanced numerical method, attracts a lot of attention in the scientific community, though other methods, such as the Finite Difference Method (FDM), Boundary Element Method (BEM), Finite Volume Method (FVM), are also used. All of these methods depend on the virtual division of analysed area (or areas) into simple geometrical objects (elements). Sizes of these elements are significantly smaller that sizes of the analysed area. These elements fill up the area in some well-defined way. A finite elements mesh is reached as the result of such discretization. The process of dividing area into elements is performed for the purpose of transformation of mathematical model of the considered phenomena into its numerical model. The mesh generators, that are responsible for finite elements mesh creation, perform very important, initial part of numerical simulation process. The finite elements mesh, that is created during this process, has to satisfy whole range of requirements. Even if only one requirement is not fulfilled, it could result in impossibility of conducting the numerical simulation or it could cause faults. The mesh generation process is very time-consuming task. Usually, the finite elements mesh is generated only once for a given task. When there is a need to implement some changes in A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2 147

the geometry of the analysed area (or areas), the finite elements mesh generation process has to be conducted once again from the beginning. The commercial engineering simulation packages do not enable to apply partial changes in existing finite elements mesh, that has been already generated. The partial finite elements mesh reconstruction allows to reduce time of preparing task for computational simulation, in particular when the shape of area is changed several times. In this paper, the authorial finite elements mesh generator is presented. It enables to generate meshes that consist of tetrahedral finite elements. This generator provides also functionality of mesh reconstruction after introduction of changes in the shape of the area. 2. Process of finite element mesh generation and reconstruction In this section, the authorial finite elements mesh generator for the three-dimensional areas is presented. This generator fills the area up with tetrahedral finite elements. The majority of mesh generation methods could be assigned to one of following categories [3]: Octree Technique, Delaunay Technique, Advancing Front Method. The generator presented in this paper is based on the Advancing Front Method and the Delaunay method. The process of mesh reconstruction after modification of the area's shape due to the constructional and / or technological changes id also described in this section. 2.1. 3D mesh generation process The process of finite elements mesh generation could be divided into three basic steps. In these steps, the following activities are performed: partition of edges into segments, partition of surfaces into triangular elements, partition of areas into tetrahedral elements. The described finite elements mesh generator provides also functionality of discretization of the two-dimensional areas into triangular elements. In this case, the area that is to be divided, have to be transcribed as two-dimensional object that is located on the plane created by two axis of the cartesian coordinate system. During this process, only two first steps of mesh generation process are performed. The description of the shape, that is to be filled up with finite elements, has to be characterised by following features: the area have to be closed with given number of surfaces; the area that is described has to be completely bounded by these surfaces; there could be an area or empty space, that is located into analysed area; this inner area or empty space has also be completely bounded by surfaces; each of surfaces has to be described by at least one edge; each edge has to be described by two nodes; edges could be created from line segments or curves, such as parametrical NURBS (Non-Uniform Rational B- Spline) curves. The two dimensional mesh generator was presented in paper [4]. There are modifications applied to this generator. This modifications relies on building an initial mesh. This mesh is used to speed up the process of inserting new nodes into the mesh that is being created. The initial mesh protects also against faults that result from partitioning method. The process of discretization of surface by finite elements starts by dividing each edge that belongs to the surface into line sectors. An initial mesh is created on the basis of nodes created on edges during this discretization. Creating of the initial mesh involves adding all nodes, that lie on the edges, to the mesh that is being created. The mesh modifications are made during adding following nodes. These modifications aim to such transformation of the created mesh so that each element that belongs to this mesh fulfils the Delaunay criterion. In the next step, triangular elements are created inside surface that is to be divided. This process is performed according to algorithms that are described in [4]. Partitioning of surface is finished with the operation of mesh quality improvement. This operation is realized by moving chosen nodes and it does not apply to the nodes that are located on the edges. The generator of spatial meshes is used to fill threedimensional areas up with finite tetrahedral elements. The mesh generation method that is used requires building surface meshes on the boundary of the area. This mesh is used to create initial mesh, that consists of elements consistent with the Delaunay criterion. The initial mesh is transformed into the resulting mesh with use of the Advancing Front Method. Process of the tetrahedral finite elements generation with use of the Advancing Front Method is described in [5]. The same as in the case of two-dimensional mesh generation the described algorithm is enriched by module that controls locations of nodes using initial mesh. By the fact that elements belonging to both meshes (initial and resulting) fulfil Delaunay criterion, fast algorithms could be used to find out element that contains inserted node. 2.2. Mesh reconstruction in case of changes in shape of area In situation, when there is a need to implement some constructional and / or technological changes in the shape of analysed area, in traditional approach, the mesh has to be generated once again from the beginning. If the changes in area's shape are not significant, it is possible to use some parts of the finite elements mesh that has been generated for the original area shape, while generating new mesh. In this section the method of mesh reconstruction is presented. This method is applied when the shape of area has changed due to implementation of constructional and / or technological changes. It enables to take into consideration such modifications without 148 A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2

necessity to generate new finite elements mesh for whole analysed area. For the purpose of obtaining reconstructed mesh, shapes of original and modified area are compared. Particular steps of such comparison are: comparison of nodes, curves, surfaces and solids. These operations enable to determine the fragments of area, which shapes have changed. These parts of area have to be divided into finite elements again. Mesh reconstruction requires that the following activities are performed: comparison of original and modified area's shapes and determining their intersection, identification of area's parts, for which the new tetrahedral mesh elements have to be generated and determining types of shape changes that have been implemented, re-generation of mesh for this parts of area, which shape have been changed [6]. Process of shape changes detection aim to compare descriptions of two similar shapes. In the first step of the described procedure, elements of the original area's shape, such as nodes, edges, surfaces and solids, are assigned to appropriate elements of the modified area's shape. Part of area that has not been modified is obtained as the result of such operation. An algorithm based on undirected graphs is used to analyse shape modifications that have been implemented. These graphs map surfaces of area's shape and connections between these surfaces. The process of shape analysis is realised by comparison of two graphs created on the basis of original and modified areas shape. Two sets are obtained as the results of described comparison. These sets contains: transformed surfaces, that have been modified, but some of their edges has not been changed, transformed surfaces, which shape has changed significantly; usually there are surfaces that were transformed into a few other surfaces. These sets are used in the next, following steps of mesh reconstruction process. For each surface, that has been changed during shape modification, a surrounding region is created. This region contains given surface. All nodes and finite elements from original mesh that will not be put into resulting mesh lie inside such surrounding region. At this stage, two sets are build. The first one contains elements and the second one nodes that have to be removed. All nodes, that lie into the surrounding regions, belong to this set. There are also nodes, that are situated outside these regions, but are connected with the inner nodes by edges. If one of nodes that create edge lies inside the surrounding region, the second node is also inserted into set of nodes that are to be removed. All elements, that have at least one node belonging to this set, are inserted to the set of elements intended to removal. In the next stage, the original mesh (created for original area's shape before implementing modifications) is transformed into resulting mesh with taking into account implemented modifications. Process of mesh reconstruction relies on rebuilding of modified parts of original mesh and attaching new finite elements. At the last stage, elements that belongs to original mesh, but did not occur in resulting mesh, are removed. Mesh rebuilding process divides into five steps: inserting nodes, edges modification, surfaces transformation, solids rebuilding, removing unnecessary mesh elements. Inserting nodes nodes that belong to original mesh and all nodes of modified shape are inserted into modified mesh that is created. Nodes that have the same coordinates are omitted. Edges modification transformation of edges belonging to modified mesh. The method of transformation depends on the type of modification that has been implemented. If the edge has been lengthened or shortened nodes that lie on this edge and belong to set of nodes that are intend to removal are removed from edge. New nodes are created in their place. Edges that have been more modified, are removed and created again. New edges are inserted into the modified mesh. Surfaces transformation transformation of modified surfaces to adjust them to new, modified area's shape. There are two types of surface modification: partial modification and complete modification. In the first case, surfaces that do not belong to the first group (partial modification) are discretized from the beginning. Finite elements created during this process are attached to the modified mesh. Surface discretization is realized with use of standard algorithm for generating two-dimensional meshes. Reconstruction of surfaces, that belong to partial modified surfaces set is a complex and complicated operation. It is caused by the need of partial removal and new elements generation. The example of surface's shape change is presented in figure 1. There is a rectangle filled up with triangles. It is modified by shortening one of its longer edge a and lengthening the second one c. Such modification causes rotation of edge b. This modification is marked by dashed line in figure 1. Fig. 1. Surface modification The same figure shows also elements that are to be removed from the finite elements mesh created for this surface. This elements are indicated by grey colour. Removal of these elements causes creation of initial region intended to mesh generation. The A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2 149

modifications of a and c edges are implemented. Also new edge b is attached to the mesh. Figure 2 presents modified area that is to be filled up with new elements. Fig. 2. Area intended to re-filling with triangles Such area, build up from sections of boundaries and edges of remaining elements of original mesh, constitutes input for 2D finite elements mesh generation procedure. New triangular elements are created inside this area. After this operation, new triangles are attaches to triangles from original mesh that were not removed. As the result of such operation, the resulting triangular surface mesh is obtained. This mesh is presented in figure 3. Triangles lying on modified surfaces of area that are to be rediscretized, are attached to this area. It leads to arising of surface build from these triangle. This surface constitutes boundary of area that have to be re-filled with tetrahedral elements. The algorithm described in the previous section is used to perform this task. The same mechanism, that was used during generation of finite element mesh for the original areas shape, is used also in this case. When the mesh generation process is finished, both parts of the spatial mesh are attached to each other and constitute part of the resulting finite elements mesh. Removing unnecessary mesh elements constitutes the last step of the described algorithm. The modified mesh is transformed to fit to modified area's shape. The modification of sets of edges, surfaces and solids relies on arranging these elements in correct order. At this stage, elements that do not occur in modified shape description are removed from the modified finite element mesh. The last step of mesh reconstruction is modification of the set of nodes. All nodes, that are not connected with the mesh of finite elements are removed. During this procedure, the operation of arranging nodes in correct order is also performed. The sequential indexes are assigned to the following groups of nodes: nodes that belongs to the area's shape description, nodes that lie on edges, nodes that are located on surfaces, nodes that lie inside solids (inner nodes of finite elements mesh. After arranging these nodes in order, nodes that do not belong to these groups are removed This operation finishes the process of mesh reconstruction in case of changes in shape of area. The quality of meshes obtained during such process is comparable to the quality of meshes obtained during full mesh generation process. However time required to perform this task is much shorter than time required to generate new mesh. Fig. 3. The result of surface mesh transformation Solids rebuilding process of building resulting mesh, in which parts of spatial meshes are transformed. The transformation is performed for these parts of area, which shapes have changed. This process could be also divided into two steps. The first one step is re-building of solids and the second one is re-generation of elements in new parts of area. The same as in the case of surfaces, re-filling new parts of area with finite elements is performed with use of the finite elements mesh generation algorithm used for whole areas discretization. Solids that are partially modified require re-building some fragments of tetrahedral mesh. From the set of tetrahedral elements intended to removal these elements are chosen, which lie inside given solid. Removal of these tetrahedrons causes creation of initial area intended to tetrahedral mesh generation. Faces of removed tetrahedrons constitute surface of such area. 3. Process of mesh reconstruction in case of implementing constructional or technological changes The research were conducted for the model of real element, that consists of three areas cast and two parts of casting mould. The analysed element is presented in figure 4 Fig. 4. The shape of analysed model 150 A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2

It is extended by attaching gating system located in the casting mould. This model including casting mould is presented in figure 5. Three tetrahedral finite elements meshes were created for presented model. Sizes of elements in these meshes equal 4 mm, 3 mm and 2.5 mm respectively. The obtained results are presented in table 1. Table 1. Parameters of meshes obtained during area's discretization 0,0040 218 473 1 309 569 82,02 0,0030 513 763 3 102 905 199,72 0,0025 874 258 5 300 891 348,67 Constructional changes were implemented to this model. During the initial construction process, overflow channels were not taken into account. The overflows have to be added to the existing model of casting mould. Such changes are presented in figure 6. Creating mesh for new area's shape requires time comparable to time required to generate mesh for the shape of area before shape modification. These time results are presented in table 2. Table 2. Time required to generate mesh for area after implementing constructional changes 0,0040 216 707 1 297 883 81,24 0,0030 513 667 3 102 532 199,25 0,0025 874 248 5 300 696 342,43 Because the changes of the analysed area's shape were not significant, it was possible to use the procedure of mesh reconstruction. The results obtained by applying this procedure are presented in table 3. There are presented times required to reconstruct mesh, numbers of nodes and tetrahedrons that belongs to the resulting meshes. Table 3. Times of mesh reconstruction after implementation of constructional changes 0,0040 216 707 1 297 883 19,24 0,0030 513 667 3 102 532 30,41 0,0025 874 248 5 300 696 51,83 Fig. 5. The element in casting mould The next change implemented to analysed model was adding drafts in shape of casting model. These rakes enable to dismantle casting mould without damage of casting element. These changes are presented in figure 7. Fig. 6. Constructional changes of analysed model - overflow channels Fig. 7. Technological changes of analysed model - drafts A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2 151

The process of new mesh generation for modified model requires almost the same amount of time that for generating mesh for model before implementation of changes. These times are presented in table 4. Table 4. Times of mesh generating after implementation of technological changes 0,0040 216 674 1 282 863 82,14 0,0030 513 713 3 111 432 199,85 0,0025 874 189 5 301 161 344,23 Times of mesh generating with use of method that crates resulting mesh by reconstruction of initial mesh, are presented in table 5. Table 5. Times of mesh reconstruction after implementation of technological changes 0,0040 216 680 1 298 031 38,27 0,0030 513 671 3 102 532 94,12 0,0025 874 3176 5 300 583 140,12 4. Conclusions In the case when some constructional or technological modifications have to be implemented to analysed model, the finite element mesh have to be generated again for modified area's shape. In traditional approach, even if these changes are small, it is necessary to generate the finite element mesh for whole area. In this article the new approach to problem of finite element mesh regeneration for areas, which shape has changed, is described. Shapes of areas before and after modification are compared. New finite elements are created only in these parts of area, which shape has been modified by implementing constructional or technological changes. The method described in this paper allows to decrease amount of time required to create mesh for modified area's shape significantly. References [1] N. Sczygiol, G. Szwarc, T. Olas, A. Nagórka, Objectoriented analysis of solidification modelled by finite elements (in Polish), Solidification of Metals and Alloys, No. 30 (1997), 233-242 [2] R. Dyja, J. Mikoda, 3D simulations of alloy solidification in the NuscaS system, Archives of Foundry Engineering (2010). [3] P.L. George, Automatic Mesh Generation, Application to Finite Element Methods, John Wiley & Sons (1991). [4] N. Sczygiol, J. Mikoda, A new advancing front finite element mesh generator (in Polish), KomPlasTech 2005, (2005) 183-190. [5] N. Sczygiol, J. Mikoda, Unstructured three dimension finite element mesh generation based on advancing front method (in Polish), KomPlasTech 2006, (2006) 61 68. [6] N. Sczygiol, J. Mikoda, Renewed Generation of Finite Elements Meshes in Parts of Domain Changing from Structural and Technological Respects, Proc. of RELMAS'2008. Assessment of Reliability of Materials and Structures: Problems and Solutions, No 6 (2008) 322-325. 152 A R C H I V E S o f F O U N D R Y E N G I N E E R I N G V o l u m e 1 0, I s s u e 4 / 2 0 1 0, 1 4 7-1 5 2