Morphing and writing Macro for the side body component using Hypermesh.
Aim: To Morph the given side body component to the desired shape shown in the images below and write a Macro for the same.
Given Reference images:
Procedure:
- Open the side body component .hm file in hypermesh.
- Now go to tool-hypermorph
- Now click on domains-create-2D domains-all elements-create-return
- Now select morph volumes-create-select the displayed elements-create
- Now to split the volume select morph volumes-split/combine-split mvols-enter the number of splits required-select a line-split
- Now go to morph-move handles-select the handle nodes on display-move the nodes in desired direction
Results:
- By moving handles in different directions, we get the desired shape for the give side body component
- Writing Macro for the side body component:
- Go to this pc-documents-open the command.tcl file using notepad-copy the part related to the side body-save as .tcl file
- We can run this file by clicking the File-Run-TCL/TK file
Conclusion:
Thus, the given side body component is morphed to the given desired shape and created a macro for the same successfully.
- We have learned how to morph and modify the component
- We have learned how to create macro for the same component