In this exercise, you will learn how to:

In this exercise, you will learn how to:
•
Open a HyperMesh file
•
Import a file into a current HyperMesh session
•
Save the HyperMesh session as a HyperMesh model file
•
Export all the geometry to an IGES file
•
Export all the mesh data to an OptiStruct input file
•
Delete all data from the current HyperMesh session
•
Import an IGES file
•
Import an OptiStruct file to the current HyperMesh session
Exercise 1: Opening and Saving Files
This exercise uses the following model files: bumper_cen_mid1.hm, bumper_mid.hm,
bumper_end.igs, and bumper_end_rgd.fem. Each model file contains various sections, but
the whole bumper model is shown, following.
Step 1: Open the HyperMesh model file, bumper_cen_mid1.hm.
1. Access the Open File… dialog in one of the following ways:
•
From the Menu Bar, choose File > Open > Model.
•
From the standard toolbar, click Open Model (
)
2. Open the model file, bumper_cen_mid1.hm.
The model file, bumper_cen_mid1.hm, is now loaded. This file contains mesh and
geometry data.
HyperMesh model file,
bumper_cen_mid1.hm, opened in HyperMesh
Step 2: Import the HyperMesh model file, bumper_mid.hm, into the current
HyperMesh session.
1. Access the Import tab in one of the following ways:
•
From the Menu Bar, choose File > Import > Model
•
From the standard toolbar, click Import Model (
)
2. From the Import tab in the tab area, click the Import HM model icon
active.
3. Under File selection, click the file icon (
bumper_mid.hm.
if not already
) and browse to select the file,
4. Click Import.
The file, bumper_mid.hm, is now imported into the session.
HyperMesh model file,
bumper_mid.hm, imported on top of existing data in the HyperMesh session
Step 3: Import the IGES geometry file, bumper_end.iges, into the current
HyperMesh session.
1. From the Import tab in the tab area, click the
Geometry icon.
2. In the File type: field, select IGES from the pull-down menu.
3. Click the file icon (
) and browse to select the file, bumper_end.iges.
4. Click Import.
Geometry data is added to the model.
IGES geometry file, bumper_end.igs, imported into the session
Step 4: Import the OptiStruct input file, bumper_end_rgd.fem, into the
current HyperMesh session.
1. From the Import tab in the tab area, click the Import FE model icon
.
2. In the File type: field, select OptiStruct from the pull-down menu.
3. In the File field, click the folder icon and browse to bumper_end_rgd.fem.
4. Click Import.
This OptiStruct input file contains mesh for the bumper’s end portion. The mesh is added to
the existing data in the current HyperMesh session and will be located in the same area as
the geometry representing the bumper’s end.
OptiStruct input file, bumper_end_rgd.fem, imported on top of data in the current HyperMesh session
Step 5: Save the HyperMesh session as a HyperMesh model file called
practice.hm.
1. From the Menu Bar, click File >Save As > Model.
2. Enter the name, practice.hm.
3. Click Save.
The data currently loaded in HyperMesh is now saved in a HyperMesh binary data file of the
name you entered.
Step 6: Export the model’s geometry data to an IGES file called
practice.iges.
1. Access the Export tab in one of the following ways:
•
From the Menu Bar, choose File > Export > Model.
•
From the standard toolbar, click Export Geometry (
2. In the Export tab, click the Export Geometry icon
).
if not already there.
3. Set the File type: field to Iges.
4. Click the folder icon in the File field, browse to the desired destination folder, and enter
practice.igs.
5. Click Export.
All of the geometry loaded in HyperMesh (points, lines, surfaces) is now saved in an .iges
file with the name you entered.
6. Click Export to export the file.
Step 7: Export the model’s mesh data to an OptiStruct input file called
practice.fem.
1. In the Export tab, click the Export FE model icon
.
2. Under File selection, choose File type: OptiStruct from the pull-down menu.
3. Under File selection, click the folder icon in the File field, browse to the desired destination
folder, and enter practice.fem.
4. Click Save.
All of the finite element data loaded in HyperMesh (nodes, elements, loads, etc.) is now
saved as an .fem file with the name you entered.
5. Click Export to export the file.
Step 8 (Optional): Delete all data from the current HyperMesh session.
1. Access the delete New HyperMesh Model function in one of the following ways:
•
•
From the Menu Bar, click File > New > Model.
From the standard toolbar, click New Model (
)
2. Answer Yes to the pop-up question "Do you wish to delete the current model? (y/n)".
Step 9 (Optional): Import the IGES geometry file you created,
practice.igs.
Refer to Step 3 for detailed instructions.
Step 10 (Optional): Import the Optistruct input file you created,
practice.fem, into the current HyperMesh session.
Import practice.fem into the current session. The data in the file will be added to the existing
data in the current HyperMesh session. Refer to Step 4 for detailed instructions.
With the completion of Steps 8, 9, and 10, your current HyperMesh session should contain all of
the geometry and mesh data that existed in the HyperMesh session that was saved to a
HyperMesh file in Step 5.
Step 11 (Optional): Save your work.