HM-3440: Model Build and Assembly

This tutorial is about using the Part Browser for model building and assembly.

In this tutorial you will learn how to:
  • Import a PLMXML file
  • Load and create a Common representation and NVH representation for modal analysis
  • Import connector parts, add connector representations, and realize connectors
  • Edit part attributes using the Entity Editor to reflect design changes
  • Activate configurations
  • Import and Export an assembly as a Solver Deck
  • Renumber entities using the ID-Manager
  • Check for errors using the Model Checker

This exercise uses the files located in the HM-3440 folder, which can be found in the hm.zip file. Copy the file(s) from this directory to your working directory.

Start HyperMesh Desktop

In this step you will start HyperMesh Desktop and load the OptiStruct user profile.

  1. Start HyperMesh Desktop.
  2. In the User Profile dialog, select OptiStruct.
  3. Click OK.

Import the PLMXML File

In this step you will import the PLMXML file.

  1. Open the Import - BOM tab by clicking File > Import > BOM from the menu bar.
  2. In the File field, open the BOM_input.xml file.
  3. Click Import.
    Part assemblies and parts are imported into the session.


    Figure 1.

Load and Create a Common Representation

In this step you will load and create a common representation.

Steps 3.4 - 3.6 below are optional as the Common representation can be created without loading the CAD into the session. Since the Common representation forms the basis of subsequent discipline specific mesh representations, its creation is a prerequisite for the next steps.

  1. Open the Part Browser by clicking View > Browsers > HyperMesh > Part from the menu bar.
  2. In the Part Browser, right-click and on one of the column headers and enable the following columns from the context menu: PDM PID, PDM MID, PDM Material, PDM Thickness, and PDM MeshFlag.
    These columns show the PDM metadata that is parsed upon importation of the PLMXML file. This information is also shown in the Entity Editor, PDM Data pane.


    Figure 2.
  3. Right-click on the Frame_Assembly_000495 part assembly and select Representations > Load > From Session from the context menu.
  4. In the Change Representations dialog, Load tab, select the CAD representation.


    Figure 3.
  5. Click OK.
    All available CAD representations are imported into the session.


    Figure 4.
  6. Right-click on the Frame_Assembly_000495 part assembly and select Representations > Create from the context menu.
  7. In the Change Representations dialog, Create tab, select Common (0/8).


    Figure 5.
  8. Click OK.
    Available CAD representations are sent to the BatchMesher for processing.
    Note: In the case of sheet metal parts, the BatchMesher extracts the midsurface from the solid CAD representation. You can choose a Midsurface method, include Skin, Offset, Offset + Planes, Offset + Planes + Sweeps.


    Figure 6.
  9. In the BatchMesher dialog, click Yes to load the new representations for the eight parts.
  10. Repeat Steps 3.7 through 3.10 to create NVH10 and NVH15 representations.

Add Connector Representations

In this step you will add connector representations.

  1. In the Part Browser, right-click on the Connectors_000481_part assembly and select Representations > Load > from Session from the context menu.
  2. In the Change Representation dialog, Load tab, select the Connector representation.


    Figure 7.
  3. Click OK.
    Connectors are loaded and the Representation column shows the Connector representation loaded.


    Figure 8.

Modify Part Attributes

In this step you will modify the center rail part attributes.

  1. In the Part Browser note the PID of parts CenterInner_var2_A_000431_Safety and CenterOuter_var2_A_000432_Safety.


    Figure 9.
  2. In the Model Browser, switch the view mode to Properties.
  3. Select PID 103 and 104.
    The Entity Editor opens and displays the two properties common corresponding attributes.


    Figure 10.
  4. In the Entity Editor, T field, type 3.0.
  5. In the Part Browser, notice the attribute modification you made is updated in the Thickness columns. Save these changes to ensure that they are available if the current representation is unloaded.


    Figure 11.

Create Part Sets

In this step you will create part sets Var1 and Var2 for Variant 1 and Variant 2 in the Part Set view.

  1. In the Part Browser, enable the Part Set view.


    Figure 12.
  2. Create two part sets:
    1. In the Part Set view, right-click and select Create > Part Set from the context menu.
    2. Name the part sets Var1 and Var2.
  3. Group common and unique parts by dragging-and-dropping parts from the Part view onto the part set.
    Var 1:
    • Center_Rail_Connectors_var1_000484
    • CenterInner_A_000428_Safety
    • CenterOuter_A_000429_Safety
    Var2
    • Center_Rail_Connectors_var2_000485
    • Center_Rail_Connectors_var2_000485
    • CenterOuter_var2_A_000432_Safety


    Figure 13.

Create Configurations

In this step you will create configurations Var1 and Var2 for part sets Var1 and Var2 in the Configuration view.

  1. In the Part Browser, enable the Configuration view.


    Figure 14.
  2. Create two configurations.
  3. In the Part Set view, right-click and select Create > Configuration from the context menu.
  4. Name the configurations Var1 and Var2.
  5. Group part sets that are unique by dragging and dropping part sets from the Part Set view onto the configuration.
    1. Group the Var1 part set into the Var 1 configuration.
    2. Group the Var2 part set into the Var 2 configuration.


      Figure 15.

Activate the Var2 Configuration

In this step you will activate the Var2 configuration.

In the Part Browser Configuration view, Active column, enable the checkbox for Var2.
All of the parts, part assemblies, components, and part sets not associated with Var2 become inactive.


Figure 16.

Export the Assembly

In this step you will export the assembly as a Solver Deck.

  1. Open the Export - Solver Deck tab by clicking File > Export > Solver Deck from the menu bar.
  2. In the File field, type frame_var2_model.fem.
  3. Under Export Options:
    1. Set Export to Custom to ensure that inactive parts are not written to the solver deck.
    2. Under Comments, select the Part Assemblies/Parts checkbox.
  4. Click Export.
  5. Save the model as frame_assembly.hm.

Import Assembly Solver Decks

In this step you will import assembly solver decks.

  1. Start a new HyperMesh Desktop session.
  2. Open the Import - Solver Deck tab by clicking File > Import > Solver Deck from the menu bar.
  3. In the File field, locate the frame_var2_model.fem solver deck.
  4. Click Import.
  5. In the Part Browser, verify that the BOM was imported correctly.
    Note: All part assembly and part metadata in the original model should be present, with the exception of the Representation name.

Import Realizations

In this step you will import realizations.

  1. Open the Import - Model tab.
  2. Click , then open the Realizations.hm file.
  3. The Spotweld component in the Realizations.hm file references a material that has the same ID as a material that already exists in the current session, therefore, under Entity Management, set Materials to Keep Existing Attributes.


    Figure 17.
  4. Click Import.
    The connector parts are imported.

Realize Connectors

In this step you will realize connectors.

  1. In the Part Browser, right-click on the Spotwelds component and select Make Current from the context menu.
  2. In the Part Browser, right-click on the Longitudinal_Rail_Connectors and select Hide from the context menu.
    The display of the component’s connectors is turned off in the graphics area enabling you to get a better visual of each component's connectors.
  3. Open the Connector Browser by clicking View > Browsers > HyperMesh > Connectors from the menu bar.
  4. In the Connector Entity Browser, select the acm (shell gap) connector folder.
  5. In the Entity Editor, set Property Script to no/skip post script.
    Note: Connector links are defined via Parts to ensure that connectors realize even if you, accidentally, renumber all of the entities in the model.


    Figure 18.
  6. In the Connector Entity Browser, select all connectors.
  7. Right-click on the selected connectors and select Rerealize from the context menu.
  8. In the Part Browser, right-click on the Spotwelds part and select Isolate Only from the context menu. Verify that the realized FE resides in the SpotWelds component.

Renumber Nodes and Elements

In this step you will renumber nodes and elements.

  1. Open the ID-Manager by clicking Tools > ID-Manager from the context menu.
  2. In the ID-Manager, select Components, Properties, and Materials then right-click and select Exclude from the context menu.
  3. For the Master Model, type 1,000,000 in the Min field, and 1,500,000 in the Max field.


    Figure 19.
  4. Correct ID overflow by right-clicking on the Master Model and selecting Correct > Overflow from the context menu.

Run the Model Checker

In this step you will run the model checker.

  1. Open the Model Checker by clicking Tools Model > Checker > OptiStruct.
  2. In the Model Checker, right-click and select Run from the context menu.
  3. Verify that the model is error free.

Export the Solver Deck

In this step you will export the solver deck.

  1. From the menu bar, click File > Export > Solver Deck.
  2. In the Export - Solver Deck tab, File field, type the name frame_var2_assembled.fem.
  3. Under Export options, Comments, select the Part Assemblies/Parts checkbox.
  4. Click Export.