How to couple MANATEE with Hypermesh/Optistruct?


Starting from v1.06.02, MANATEE includes a coupling with Altair Optistruct® FEA software using the pre processor HyperMesh. The programming language of Hypermesh is TCL code, MANATEE therefore includes a TCL code generator to couple MANATEE to an existing Optistruct model or build a new Optistruct lamination model from scratch ("concept stator").

The following tasks can be automated:

  • definition of geometry and meshing (optional, for "concept" stator or rotor)
  • orthotropic material application (optional, for "concept" stator or rotor)
  • boundary conditions application (optional, for "concept" stator or rotor)
  • electromagnetic load application
  • solver and post processing

This feature enables to automatically create scripts to run a Frequency Response Function (FRF) or modal analysis on an ideal geometry ("concept" stator or rotor) or an existing OptiStruct model. To be more precise, the script is run in HyperMesh to create a .fem file that is then used by OptiStruct to compute the FRF/modal analysis.

The Electromagnetic Vibration Synthesis Method is advised to optimize calculation time. The synthesis methods are detailed in this paper: Numerical simulation of structural-borne vibrations due to electromagnetic forces in electric machines – coupling between Altair Optistruct and MANATEE software

TCL generation process

To use this feature, you need to create a TCL generation script. This can be done from the default template located in Mechanics\HyperMesh\Projects\default_TCL_gen.m

This script works in the same way that default_proj or default_machine does: it is a template with all the available input parameters and their description. To create a new project, you first need to copy/paste this script. As always, you have to make sure that the name of your script is unique in your Matlab path to avoid any conflict.

The TCL generation is split in three steps. Each step can be generated separately. Specific articles detail the content and options of each steps, here we will only present the main workflow.

Step 1: structure definition

The first generation step creates a "concept" (simplified) stator or rotor lamination stack. By simplified we mean that only some simple slots are available for now (and no air duct). The generated TCL draws the lamination, meshes it and creates several sets of nodes that are used in the simulation for load application and post processings. More information can be found in the geometry dedicated article.

This step is optional when applying the loads on an existing Optistruct model.

Step 2: simulation definition

The second step applies the boundary conditions (for modal analysis) and dynamic load (for FRF) according to the chosen vibration synthesis method. For now, we have 4 simulations types:

This step is (almost) geometry independent. It only uses the set of nodes defined during the concept structure generation in Step 1. The sets of nodes of an existing Optistruct model can be also used if the naming conventions are followed.

Step 3: post processing definition

The last (and easiest) step creates the cards dedicated to post processing. It includes some advanced parameters and output setup (e.g. force visualization, sets of nodes where dynamic displacement is calculated).

Generating TCL code

To generate the TCL according to your parameters you need to run the following command in matlab (in the same way as run_MANATEE):


The resulting script will be saved in VibroAcoustics\HyperMesh\Results.

Running the simulation

Once the TCL script generated, you can open HyperMesh. In the menu File/Run select "Tcl/Tk Script" and then select the generated script:

Run TCL script in Hypermesh
Run TCL script in Hypermesh

Once the execution of the script finished, you can run the OptiStruct simulation in the panel "Analysis" (in red) and button "OptiStruct" (in green):

Run OptiStruct simulation
Run OptiStruct simulation
Previous Next