In this course, you will learn about basics of TCL. You will get an overview of Hypermesh Window and creating buttons by using the TCL. You will be creating a TCL macro to resolve the preprocessing problems such as symmetry, renumbering for elements and components, etc.
You will also be generating reports for the given file creating a TCL macro for spot weld and rigid connections. After completing the course you will develop expertise in writing code for HyperMesh using TCL/TK and are well on the road to be a CAE automation engineer for HyperMesh.
Course Syllabus:
- On a daily basis we talk to companies in the likes of Tata Elxsi and Mahindra to fine tune our curriculum.
- Week 1 - Get to know your tools
- In this module, you will learn HyperMesh GUI, what is TCL compiler and hands-on practice of the TCL commands in Notepad++
- HyperMesh GUI overview
- TCL compilers
- Notepad ++
- “Hello World” TCL code
- Week 2 - Let’s learn a new language
- In this module, you will learn TCL commands like loops, arrays and how TCL is linked with HyperMesh
- Looping structures
- Array manipulation
- TCL wiki
- HyperMesh and TCL linkage
-
- Week 3 - Dissecting HyperMesh using TCL commands
- In this module, you will learn several commands and how they can be used in HyperMesh to perform operations
- “ * ” and “hm_” commands
- Week 4 - Let’s build the GUIs with TK
- In this module, you will learn how to build a GUI using TK for the TCL command used in HyperMesh
- Introduction to TK
- Creating TK popup box
- Creating TK buttons
- Creating TK input boxes
- Week 5 - Problem of normal
- In this module, you will be able to understand the problem of normals in pre-processing and how it will affect the results in a simulation. You will also learn how to automate to align the normal in a few quick mouse clicks.
- Element normals and their significance
- Fixing normals: code vs. standard
- Week 6 - Let’s take care of “zero”
- In this module, you will learn how to handle a null case when you write a code in HyperMesh to automate a process
- Handling null cases
- Delete displayed
- Delete empty
- Isolate displayed
- Week 7 - Let’s meet the CAE nightmare – Free edges
- In this module, you can understand the concept of free edges and how it will affect the simulation, and also you will be able to write a code to automate the fix for the Free edge issue that occurs during meshing.
- Free edge and their significance
- Detecting free edges using available tools
- Week 8 - Collectors
- In this module, you will learn the significance of a collector, property card, and material card along with a manual method to assign them. Once you understand that you will also be writing code to automate the process.
- Different collectors and prop and material assignment
- Renaming- as per thickness
- Week 9 - Auto reflect
- In this module, you learn the importance of Reflect command for the symmetrical models along with the manual renaming of the components and their material and property cards. Once you understand that this method is time consuming and tiring, you will also learn how this can be automated with a few lines of codes.
- Explain the physics
- Explain procedure
- CAD manipulation using TCL
- and more.