The ability of Coreform Cubit to fully automate the hex meshing process by Python scripting has been vital for us to be able to perform the large volume of finite element analyses required to fully qualify the Ultra Compact Flanges as quickly as possible. We have found the Python API of Coreform Cubit to be extremely powerful and easy to use, allowing us to parametrically build the mesh, then automatically define all necessary face sets for boundary conditions and loads, and export the mesh to the FEA software.
Sondre Tjessem
Computational Engineer (MSc)
Background
TP Products manufactures highly complex mechanical components for the most demanding clients and settings. Their portfolio includes custom high-pressure compact connectors, innovative wind power flanges, and subsea valves, stabs and jumpers. Design, engineering, manufacturing, and testing of its products is all done in-house at their facilities in Drammen, Norway. Simulation is an important part of their design process and testing, and they rely on Coreform Cubit to efficiently create hex meshes for quality simulations. Coreform Cubit allows them to automate and script the creation of hex meshes, based on changing parameters of the size and material requirements of the flanges.
Problem
The compact flange experts at TP-Products recently developed a groundbreaking series of TPC Ultra Compact Connections that are based on the same principles as traditional products but with more environmentally friendly connections. The Ultra Compact connections are smaller, lighter and have higher intercompatibility, resulting in lower costs at every stage from manufacturing to transport. Because the Ultra Compact Flange series has been designed to connect a wide variety of pipe sizes and types, the potential combinations of sizes, materials, and component configurations number in the thousands. The flanges can connect pipes of sizes from 0.5” to 36” in outer diameter, and are available as weld neck flanges, swivel flanges, and blind flanges. Additionally, the flanges can be manufactured in a variety of different steels, such as carbon steels, stainless steels and Duplex steels, which all result in different pipe wall thicknesses.
To produce a reliable documentation of the functionality and structural capacity of the flanges, a simulation is needed for each of the different type, size, and material combinations. Generating a high quality hex mesh manually for each combination would be prohibitively time consuming, so TP-Products sought a software to automate this process. The flanges are subjected to different types of loading – both symmetric loads such as internal pressure and tension loads through the pipes, and asymmetric loads such as bending moments and torsion. Each load requires a unique mesh.
Solution
Advanced hex meshing for challenging simulations:
To evaluate the performance of a given flange design, TP-Products must evaluate how forces are distributed on different sectors of the flange. Due to the way the outputs are taken from the CalculiX FEA solver, this means that separate faces on the mesh must be defined individually. With Coreform Cubit and Python, TP-Products can automatically meet the other requirements for mesh quality and organization required by Calculix. For the larger models with a large number of bolts, doing this process manually would have been extremely inefficient and time-consuming.
Powerful scripting & process automation for maximum simulation throughput:
By using the Python API in Coreform Cubit, TP-Products is able to automatically generate high-quality hex meshes of the flanges from a set of input parameters including desired dimensions, bolt sizes and number of bolts. The mesh is then exported to Mecway (a comprehensive FEA package) for application and visualization of loads and boundary conditions, and an input file to the CalculiX FEA solver is written.
The figures below show the results of analysis for an advanced weld neck flange design. Based on these analyses, the design of flanges can be verified throughout the entire size range, with different materials and for all component combinations, and within a timeframe that would not be possible without the automation of the meshing.
Von Mises stresses at time step 3 in the analysis of the weld neck flange, where a 1552.5 bar internal pressure has been applied. This is a test pressure, which is 1.5 times higher than the design pressure of the flange.
Von Mises stresses at time step 3 in the analysis of the weld neck flange, where a 1552.5 bar internal pressure has been applied. This is a test pressure, which is 1.5 times higher than the design pressure of the flange.
Conclusion
TP-Products relies on Coreform Cubit to help them design, engineer, and manufacture mission-critical parts such as deep sea connectors and wind turbine flanges. Coreform Cubit’s advanced hex meshing capabilities and Python API are equal to even the most complex and demanding tasks. Coreform Cubit is a critical part of the TP-Products simulation workflow, and has been used to generate hex meshes in several hundred simulations.