Você está na página 1de 7

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

Setting Up Nastran Static Analysis in HyperMesh - HM-4200


In this tutorial, you will learn how to: Define a model in HyperMesh Apply boundary conditions in HyperMesh Write the Nastran input deck View the results

You will use the HyperMesh Nastran interface to create finite elements on the geometry of a plate with a hole, apply boundary conditions, and perform finite element analysis.

Exercise
Step 1: Retrieve the model file
1. Upon opening, HyperMesh prompts you to select a user profile. Select the Nastran profile. 2. From the File menu, select Open or click the Open .hm File icon .

3. Browse to the file <installation_directory>/tutorials/hm/interfaces/nastran/plate_hole.hm. 4. Click Open.

Step 2: Create material collectors and components


1. From the Materials menu, select Create. 2. In the mat name= field, type steel. 3. Click Type= and select ISOTROPIC. 4. Click card image= and select MAT1. 5. Click create/edit. 6. In the E= field, type 2E5. 7. In Nu field, type 0.30. 8. In the Rho field, type any number (if needed). 9. Click return to close the card image, and then return again to close the Material panel. 10. From the Collectors menu, select Create and select Components. 11. In the comp name= field, type shells. 12. Click the create prop button. 13. In the prop name= field, type pshells. 14. Click type= and select 2D . 15. Click card image= and select PSHELL. 16. Click material= and select steel. 17. Click create. 18. Click return. 19. Pick the desired color for the component and click create. 20. Click return to close the panel.

Step 3: Mesh the geometry


The automeshing panel allows you to mesh interactively on surfaces. It also includes tools for manipulating surface edges and meshing fixed points (locations where the mesher is required to place a node.) The elements generated are organized into the current component

1 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

and shells. 1. Press F12 to access the automesh panel. 2. Click surfs and click displayed. 3. Click mesh. 4. Click return and go to the size and bias sub-panel. 5. Click surfs and click displayed. 6. In the element size= field, type 40. 7. Toggle to elems to current comp. 8. Click mesh. 9. Click return to save the mesh in the shells component. 10. Click return to close the panel.

Plate mesh using element size of 40mm

Steps 4-6: Apply boundary conditions to the model


In this section, the model is constrained so that two of the four edges cannot move. A total lateral load of 1000N is applied at the edge of the hole so that all forces point in the positive z-direction.

Step 4: Create collectors


Before creating boundary condition and loads, load collectors are created first. These load collectors are used for boundary conditions and loads. 1. From the Collectors menu, select Create and select Load Collectors. 2. Click loadcol name = and enter spcs. 3. Click color and select desired color. 4. Click create. The collector is created. 5. Click loadcol name = again and enter forces. 6. Click color and select the desired color. 7. Click create. The collector is created. 8. Click return to close the panel.

Step 5: Create constraints


1. Press G on the keyboard to access the global panel. 2. Click loadcol = and select spcs.

2 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

3. Click return. 4. On the Analysis page, click constraints. 5. Select the create sub-panel. 6. Click nodes and select by window from the extended entity selection menu. HyperMesh opens the Build Window panel. 7. Click interior, if not already selected. 8. Create a window around the left and right edges of the model. Do this by picking points on the screen with your mouse. 9. Click select entities. The nodes along the left and right edges of the model are selected (see the following image). HyperMesh returns to the constraints panel.

Select these nodes to apply single point constraints

10. Click dof1-dof6, if not already selected. Note Dofs that are checked are constrained. Dofs 1, 2, and 3 are x, y, and z translation degrees of freedom Dofs 4, 5, and 6 are x, y, and z rotational degrees of freedom

11. Click create to apply these constraints to the selected nodes.

Step 6: Create forces on the nodes around the hole


1. Press G on the keyboard to access the global panel. 2. Click loadcol = and select forces. 3. Click return. 4. Click return again to access the main menu. 5. On the Analysis page, click forces . 6. Click nodes and select by window from the extended entity selection menu. HyperMesh opens the Build Window panel. 7. Select interior. 8. Create a window around the hole of the model. Do this by picking points on the screen with your mouse. 9. Click select entities. The nodes around the hole of the model are selected (see the image below). HyperMesh returns to the constraints panel.

3 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

Select these nodes to create loading around hole.

10. Click nodes and select save from the extended entity selection menu. 11. Click return. 12. On the Tool page, click count. The nodes are counted automatically so that a calculation can be made to create a total force of 1000N. 13. Click the upper left switch and select nodes. 14. Click nodes and select retrieve from the extended entity select menu. The nodes saved in the forces panel are retrieved. 15. Click selected to count the number of nodes around the hole (note the number of nodes selected). 16. Click return. 17. On the Analysis page, click forces. 18. Click nodes and select retrieve from the extended entity selection menu. 19. Click magnitude = and enter 1000/47 or /number of nodes found in the count panel. The total load on the nodes around the hole is 1000N. 20. Click the plane and vector definition switch below magnitude = and select z-axis. 21. Click create. 22. Click return.

Steps 7-9: Create a Nastran subcase (a load step in HyperMesh)


Step 7: Create the loadstep
1. Select the loadsteps panel on the Analysis page. 2. Click name = and enter lateral force. 3. Click SPC, click the = button, and select the spcs load collector. 4. Click LOAD , click in the field, and select the forces load collector. 5. Click create. 6. Click edit. 7. Click Output.

Step 8: Create a Displacement output request


1. Click Displacement. 2. Click Arguments. 3. Click Argument2. This will print on the DISPLACEMENT card.

4 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

4. Click PRINT on the DISPLACEMENT card and select PUNCH.

Step 9: Create a Stress output request


1. Click Stress. 2. Click StressArguments. 3. Click StressArgument2. This will print on the STRESS card. 4. Click PRINT on the STRESS card and select PUNCH. 5. Click return. 6. Click return again to close the panel. The complete subcase is created.

Step 10: Create control cards


1. From the Setup menu, select Create and then select Control Cards. 2. Click SOL. 3. Click the switch below the Analysis label and select Statics from the pop-up menu. 4. Click return. 5. Click PARAM . 6. Click AUTOSPC. 7. Click return. 8. Click return again to close the panel.

Steps 11-12: Write the Nastran input deck


In this section, write the Nastran input deck file, specified with the .dat extension, before running Nastran.

Step 11: Write your file


1. On the toolbar, click the Export icon . .

2. At the top of the dialog, click the Export FE Model icon 3. Set the File Type: field to Nastran.

4. Select the desired directory and enter plate_hole.dat in the File: field. 5. Click Save. 6. Click Export. This writes your HyperMesh database as a Nastran ASCII input deck.

Step 12: Save your file and exit HyperMesh


1. From the File menu, select Save As. 2. Select the desired directory, and type plate_hole_new.hm in the File name field. 3. Click Save. 4. Exit HyperMesh.

Steps 13-16: View the results


After running Nastran, the punch file plate_hole.pch is created. This file contains displacement and stress results for your linear static analysis. This section describes how to view those results in HyperMesh. Use the utility program hmnast to translate the .pch file into a HyperMesh results file.

5 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

Step 13: Translate the punch file to a HyperMesh binary file


1. Start HyperMesh and remove any model that is currently loaded: Select the delete panel on from the bottom toolbar. Click delete model. Select Yes from the pop-up window.

2. Retrieve the input deck that was used to run the Nastran job: From the top toolbar, select the Import icon . to import an FE model.

At the top of the Import dialog, click the FE Model icon Select Nastran for the File Type: field. Click the folder icon Click Open. Click Import. and choose plate_hole.dat.

3. Go to the Analysis page. 4. Click solver. 5. Toggle to hmnast. 6. For input file, select the .pch punch file. 7. For output file, select the desired directory and write hole.hmres. 8. For options window, write -d von_max. 9. Click solve. 10. Click return.

Step 14: Load the binary file into HyperMesh


1. On the toolbar, click the Load Results File icon 2. Browse to plate_hole.hmres. 3. Click Open. 4. Click return. .

Step 15: View a deformed shape


1. From the Post drop down menu, select Deformed. 2. Click simulation =. LATERAL FORCE SC 1 is the only simulation. If you had created two load steps, two simulations would exist: xxxx SC 1 and xxxx SC 2. The subcase IDs reflect your HyperMesh load step IDs. 3. Click LATERAL FORCE SC 1. 4. Click data type=. 5. Select Displacement. 6. Click model units = and enter 250. 7. Click deform to view a deformed plot of your model overlaid on the original, undeformed mesh (refer to the figure below).

6 of 7

3/16/2014 1:14 PM

HyperMesh > HyperMesh Solver Interfaces Tutorials > Nastran > Setting ...

file:///L:/Nastran_HM_installation/HM/help/hm/setting_up_nastran_static...

Isometric view of deformed plot overlaid on original undeformed mesh. Model units are set to 250.

Step 16: View a contour plot of stresses and displacements


1. From the Post drop down menu, select Contour. 2. Click simulation = and select LATERAL FORCE SC 1. 3. Click data type = and select Displacements. 4. On the toolbar, select the user views icon 5. Select top from the pop-up menu. 6. Click contour. 7. Click data type = and select von Mises Stress(max,all). 8. Click assign. 9. Click contour and compare your model to the picture below. .

von Mises stress plot using discrete contours (in performance graphics mode).

Go to HyperMesh Tutorials

7 of 7

3/16/2014 1:14 PM

Você também pode gostar