FULLTEXT01
FULLTEXT01
org
Postprint
This is the accepted version of a paper published in Computer-Aided Design and Applications. This
paper has been peer-reviewed but does not include the final publisher proof-corrections or journal
pagination.
Johansson, J. (2014)
A Feature and Script Based Integration of CAD and FEA to Support Design of Variant Rich
Products.
Computer-Aided Design and Applications, 11(5): 552-559
http://dx.doi.org/10.1080/16864360.2014.902687
N.B. When citing this work, cite the original published paper.
A feature and script based integration of CAD and FEA to support design
of variant rich products
Joel Johansson
ABSTRACT
The focus of the research presented in this article has been an integration of a CAD-
system and a FEA pre-processor to automatically develop a complete FEA-models in
order to make simulation based design possible. The article presents a prototype sys-
tem that was developed to automate the simulation of the behavior of ski-racks
mounted on cars during collision. This type of simulations requires mesh models con-
taining structured mesh, an issue solved in the presented system and that is presented
in the article. It is also shown how to make it possible to introduce contacts, loads,
constraints, and other FEM-properties based on CAD-geometry.
1 INTRODUCTION
The focus of the research presented in this paper has been an integration of a CAD-system and a FEA
pre-processor to automatically develop a complete FEA-model in order to make simulation based de-
sign possible.
One problem when integrating CAD and FEA is the meshing step. Commercially available CAD/FEA
connections produce unstructured meshes consisting of tetrahedral elements. For some types of simu-
lations, that kind of mesh is not sufficient but structured meshes are demanded. This is why many
FEA-experts spend days to import neutral CAD-files into FEA pre-processors, healing the imported
geometry, isolating interesting geometry and developing the structured mesh models.
In the literature, related work can be found. For instance, Sellgren developed a framework for sim-
ulation driven design [9], in which simulation models were extracted based on the CAD-model rela-
tionships. Chapman and Pinfold described how to use KBE and FEA for the design automation of a car
body [3], and a system was presented by Hernández et al. that automatically designs distribution
transformers using FEM automatically [4]. The design process of different jet engine components has
also been the subject for design automation using KBE (or KEE) integrated with FEA [1, 7]. Stolt devel-
oped methods to automatically generate FEM-models for die-cast components [10] and Sandberg, et al.
presented a CAD/FEA integration to simulate distortion effects of different manufacturing methods
[8]. None of these papers deals with problems where structured meshes are demanded.
The method presented in this paper is described along with a prototype system where the Solid-
Works CAD-system has been connected to the ANSA pre-processer to generate FEA-models, which in
turn is solved by the LS-Dyna solver. The target is the automation of crash simulations of ski-racks
and is the final step in an automation project described in the next section.
Footpad
A) B)
Car roof
C) D)
Bracket
Fig. 1: The roof rack product is adapted to new car-models by changing the footpad and the bracket
components.
fore, case-based reasoning (CBR) was applied as a method of searching for brackets [2, 6]. In that sys-
tem the human factor was prevented by introducing computer routines for indexing existing brackets
into the CBR system by selecting at maximum three edges of the CAD-geometry. Parameters that are
automatically recorded when retaining a bracket are the flange curvature, wall thickness, and bending
points.
The sub-system for automatically retrieving brackets was finally implemented as an add-in to the
Solidworks CAD-system, see top of Fig. 2.
as two (front and rear) curves each with a fixed distance between them. The footpads are subsequently
moved over the roof incrementally whereby the area (it would be volume in a three-dimensional case)
of the gap between the footpad and the roof is calculated in each valid position. The position of the
footpad causing the least gap-area is the best position for that footpad. The last step includes posi-
tioning the three-dimensional footpad based on the two curves.
The sub-system for automatically retrieve footpads was finally added as an add-in to the Solid-
works CAD-system next to the bracket retrieval, see bottom of Fig. 2. The footpad retrieval is in beta-
testing phase.
script words are found in Tab. 2 and Fig. 6 shows an example of how the RevolveParts are treated us-
ing ANSA-scrip combined with the commands introduced here.
The script template used in the prototype system has the following main sections: First the IGES-
file is loaded. Then all “macros” (that is surfaces in the ANSA-terminology) are meshed using meshing
scenarios. Surfaces that are subject for further treatment in order to generate sheet metal parts and
revolved parts are identified and treated in two for-each loops (one of them are shown in Fig. 6). All
beam parts are created by inserting new nodes and connecting them. At this stage, the mesh model is
ready. To subsequently generate control cards the name of each part together with its identification
number is stored in a log-file. Finally, the ANSA-model is saved and a LS-DYNA model is exported.
Name Description
MODELFILE Path to the geometry-file to be read by ansa
PARTNAMES A comma separated list of all meshparts
MESHPARAMETERS Path to file containing Ansa meshing-parameters
MESHQUALITY Path to file containing Ansa mesh quality-parameters
FOR_EACH_SHEET_COMPONENT Loop through all sheet metal meshparts.
FOR_EACH_BEAM_COMPONENT Loop through beam meshparts
FOR_EACH_REVOLVE_COMPONENT Loop through all revolved meshparts.
COMPONENTNAME Name of the current component
WALL_THICKNESS Wall thickness of the current component
x1, y1, z1, x2, y2, z2, angle Coordinates and angles
Tab. 2: Commands that were introduced
When the CAD-model is prepared with the idealization features, the specifications of the simula-
tion are done, and the template scripts are developed, the system is ready to run repeatedly with new
combinations of components.
4 DISCUSSION
The prototype system presented in this article was developed to integrate SolidWorks, ANSA, and LS-
Dyna. Replacing one or several of the systems might change the algorithms since they are depending
on the information structures introduced by programmers of the base-systems. Still the overall pro-
cess can be used as a template for automation-projects involving FEA.
5 CONCLUSION
This article presented a method to connect a FEA preprocessor with a CAD-system. The connection is
achieved by introducing idealization features in the CAD-models that are named using a naming con-
vention and script-templates. The article showed a prototype system connecting Solidworks, ANSA and
LS-Dyna to automate the crash simulation of ski-racks. When running the prototype system, FEA-
models are generated in less than 4 minutes compared to up to a week when done manually. This in-
creases the amount of tested product proposals ultimately increasing the product quality without in-
creasing product cost.
The developing method and the running procedure of the described system are general enough to
be used as templates for future automation projects.
ACKNOWLEDGEMENTS
The author expresses his gratitude to Thule Group Corporation and the Knowledge Foundation (KK-
stifitelsen) in Sweden for financing the research project. Also as special thank is given to the engineers
and managers at the Thule company for technical support.
REFERENCES
[1] Boart, P.: The Enabling of Product Information in the Conceptual Phase, Ph. D. Thesis, Luleå
University of Technology, Luleå, 2007
[2] Cederfeldt, M.: Towards a Strategy for Mapping of Design Problems to Suitable Solutions : A Case
of Design Automation Using CBR, in Proceedings of the DESIGN 2006 : 9th International Design
Conference, D. Marjanovic, Editor 2006: Dubrovnik, Croatia. p. 471-478.
[3] Chapman, C.; Pinfold, M.: The application of a knowledge based engineering approach to the
rapid design and analysis of an automotive structure. Adv. Eng. Softw., 32(12),2001, 903-912.
[4] Hernández, C.; Arjona, M.A.: Design of distribution transformers based on a knowledge-based
system and 2D finite elements. Finite Elem. Anal. Des., 43(8),2007, 659-665.
[5] Johansson, J.: Combining Case Based Reasoning and Shape Matching Based on Clearance
Analyzes to Support the Reuse of Components, 2012.
[6] Johansson, J.; Cederfeldt, M.: Interactive Case Based Reasoning through Visual Representation :
Supporting the Reuse of Components in variant-rich products, in Proceedings of Design2012,
May 21-24, 2012, Dubrovnik, Croatia2012. p. 1477-1485.
[7] Sandberg, M.: Design for Manufacturing - Methods and Pallications using Knowledge Engineering,
Ph. D. Thesis, Luleå University of Technology, Luleå, 2007
[8] Sandberg, M.; Larsson, T.; Åström, P.; Näsström, M.: A design tool integrating CAD and virtual
manufacturing for distortion assessment, in 15th International Conference on Engineering
Design (ICED05), A. SamuelW. Lewis, Editors. 2005, Institution of Engineers, Australia:
Melbourne, Australia. p. 628-630.
[9] Sellgren, U.: Simulation drive design : a functional view of the design process, Ph. D. Thesis, KTH
Royal Institute of Technology, Stockholm, 1995
[10] Stolt, R.: CAD-Model Parsing for Automated Design and Design Evaluation, Ph. D. Thesis,
Chalmers university of technology, Gothenburg, 2008