Font Size: a A A

Numerical Simulation Software Development In C# On Three-Dimensional Temperature Field Of Casting Solidification Process

Posted on:2009-05-28Degree:MasterType:Thesis
Country:ChinaCandidate:P YangFull Text:PDF
GTID:2121360245966982Subject:Materials Processing Engineering
Abstract/Summary:PDF Full Text Request
Numerical simulation of foundry process is very important,Which can help foundrymen to research the reason of casting defect,Use better foundry parameters,Make sure casting quality,Shorten the develop time of new product and Decrease production cost. Numerical simulation of Temperature field is the basis on predicting solidification shrinkage, gas porosity, lack of fill, laps, hot cracks, macrosegregation and micro-segregation and also the basis of flow field and hot power field simulation.Fortran and C++ are common used on current development of numerical simulation,and OpenGL is used more on 3D sketch manifestation. This paper developed a numerical simulation software on 3D temperature field of casting solidification process in C#,which Microsoft strongly released and DirectX is used to on 3D sketch manifestation .This software realized some important function,Such as input STL model files,Slice veridical hexahedron meshes,Numerical calculation of temperature field,View the cooling curve and the last solidified district,etc.3D direct manifestation is keeped when software is running. OOP is the main thought on current application develop,Which make our programming faster and more Convenience,The code can be easy to read and Maintenance.A great deal of data was ordered and indexed by fully used of OOP in this paper,Which greatly increased develop and circulate Efficiency.Making model is the first step in numerical simulation. The paper use STL model files directly,Which created in Pro/E,A big Software to make model.After models be solved,Useful information will keep in computer memory,Which can be used to slice mesh and calculate quikly.Mesh generation is the prior condition that the numerical simulation smoothly progress.The paper improved common mesh generation method by use oop thought and Contrary thinking,Descripted a new method,In which regular or irregular veridical hexahedron meshes can be quickly generated,Be applicable to generate casting with arbitrarily shape.The improved method of mesh generation is easy to understanding and programming.Numerical calculation is the core in numerical simulation.Traditional direct difference method have some weakness:Procedure complications,Cost long time to calculate,Much more data.The improved DFDM decrease data quantity,Exaltation procedure efficiency.Using the specific heat method and temperature restoring method, temperature field of two-phase alloy can be simulated more precisely.The 3D sketch manifestation is the basic function of numerical simulation software.On current computer programming,OpenGL and directX are common used on graphics field,But directX is less used than OpenGL on numerical simulation.This paper carried on a study on the important steps of using directX, The important code is listed in C# and main parameters are introduced.The study show that using directX to display mesh,Which is easy to programming, Can match the request of numerical simulation and can creat translucent and revolve effects.A temperature field calculation of AL-6.57SI two-phase alloy in wet sand mold was conducted to identify function of the software.The numerical simulation result is basically match the actual circumstance on the trend of casting cooling,the cooling curve,the last solidified district,Time of procedure calculation and Interface manifestation,etc.
Keywords/Search Tags:C#, DirectX, Temperature Field, DFDM, Numerical Simulation, Mesh Generation
PDF Full Text Request
Related items