hypermesh 12.0 tutorials-ansys

60

Click here to load reader

Upload: do-minh-duc

Post on 22-Dec-2015

592 views

Category:

Documents


98 download

DESCRIPTION

tai lieu huong dan ansys

TRANSCRIPT

Page 1: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 TutorialsANSYS Solver Interface

Page 2: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering Support Contact Information Web site www.altairhyperworks.com

Location Telephone e-mail

Australia 61.3.9016.9042 [email protected]

Brazil 55.11.3884.0414 [email protected]

China 86.21.6117.1666 [email protected]

France 33.1.4133.0992 [email protected]

Germany 49.7031.6208.22 [email protected]

India 91.80. 6629.4500 1.800.425.0234 (toll free)

[email protected]

Italy 39.800.905.595 [email protected]

Japan 81.3.5396.2881 [email protected]

Korea 82.70.4050.9200 [email protected]

Mexico 55.56.58.68.08 [email protected]

New Zealand 64.9.413.7981 [email protected]

North America 248.614.2425 [email protected]

Scandinavia 46.46.286.2052 [email protected]

United Kingdom 01926.468.600 [email protected]

In addition, the following countries have resellers for Altair Engineering: Colombia, Czech Republic, Ecuador, Israel, Russia, Netherlands, Turkey, Poland, Singapore, Vietnam, Indonesia

Official offices with resellers: Canada, China, France, Germany, India, Malaysia, Italy, Japan, Korea, Spain, Taiwan, United Kingdom, USA

Copyright© Altair Engineering Inc. All Rights Reserved for: HyperMesh® 1990-2013; HyperCrash® 2001-2013; OptiStruct® 1996-2013; RADIOSS®1986-2013; HyperView®1999-2013; HyperView Player® 2001-2013; HyperStudy® 1999-2013; HyperGraph®1995-2013; MotionView® 1993-2013; MotionSolve® 2002-2013; HyperForm® 1998-2013; HyperXtrude® 1999-2013; Process Manager™ 2003-2013; Templex™ 1990-2013; MediaView™ 1999-2013; BatchMesher™ 2003-2013; TextView™ 1996-2013; HyperMath® 2007-2013; ScriptView™ 2007-2013; Manufacturing Solutions™ 2005-2013; HyperWeld® 2009-2013; HyperMold® 2009-2013; solidThinking® 1993-2013; solidThinking Inspire™ 2009-2013; solidThinking Evolve™ 1993-2013; Durability Director™ 2009-2013; Suspension Director™ 2009-2013; AcuSolve® 1997-2013; and AcuConsole® 2006-2013.

In addition to HyperWorks® trademarks noted above, GridWorks™, PBS GridWorks®, PBS Professional®, PBS™, PBS Works™ and Portable Batch System® are trademarks of ALTAIR ENGINEERING INC. All are protected under U.S. and international laws and treaties. Copyright© 1994-2013.

Additionally, the Altair software is protected under patent #6,859,792 and other patents pending. All other marks are the property of their respective owners.

ALTAIR ENGINEERING INC. Proprietary and Confidential. Contains Trade Secret Information. Not for use or disclosure outside of ALTAIR and its licensed clients. Information contained in HyperWorks® shall not be decompiled, disassembled, or “unlocked”, reverse translated, reverse engineered, or publicly displayed or publicly performed in any manner. Usage of the software is only as explicitly permitted in the end user software license agreement.

Copyright notice does not imply publication.

Page 3: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface iAltair Engineering

Proprietary Information of Altair Engineering

HyperMesh 12.0 Tutorials - ANSYS Solver Interface

........................................................................................................................................... 1ANSYS

............................................................................................................................................... 2HM-4400: Exploring the ANSYS Interface

............................................................................................................................................... 9HM-4410: Setting Up a Model in ANSYS

............................................................................................................................................... 21HM-4420: Defining ANSYS Contacts for 2-D Models in HyperMesh

............................................................................................................................................... 30HM-4430: Defining ANSYS Contacts for 3-D Models in HyperMesh

............................................................................................................................................... 40HM-4440: Introduction to the Contact Manager

............................................................................................................................................... 50HM-4450: Introduction to HyperBeam

Page 4: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface1 Altair Engineering

Proprietary Information of Altair Engineering

ANSYS

The following ANSYS tutorials are available:

HM-4400: Exploring the ANSYS Interface

HM-4410: Setting Up a Model in ANSYS

HM-4420: Defining ANSYS Contacts for 2-D Models in HyperMesh

HM-4430: Defining ANSYS Contacts for 3-D Models in HyperMesh

HM-4440: Introduction to the Contact Manager

HM-4450: Introduction to HyperBeam

Page 5: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 2

Proprietary Information of Altair Engineering

HM-4400: Exploring the ANSYS Interface

In this tutorial, you will learn about:

ANSYS FE-input reader

ANSYS Template

ANSYS Utility Menu

ANSYS Interface Online Help

ANSYS User Profile

Model Import

Model Export

HyperMesh’s ANSYS FE input reader, template, macro menu, and user profile sets thefoundation for using ANSYS with HyperMesh.

Tools

ANSYS FE Input reader

ANSYS Solver is one of the leading software products in the computer aided engineering(CAE) field. This software is used to simulate designs in general engineering and aerospaceindustries. ANSYS has the capability to solve structural, thermal, and fluid models. Differentanalyses like static structural, dynamic, modal, harmonic, buckling, spectrum, steady stateand transient thermal, and radiation can be solved. Both linear and non-linear analyses aresupported by ANSYS.

HyperWorks has recognized ANSYS as one of the major solvers available in the current CAEfield. HyperWorks has extended its support to ANSYS solver by recognizing its element types,solution methods, and file formats. You reap benefits from using both HyperWorks tools andANSYS solver. During pre-processing of the model, you can define ANSYS elements and applyloads and boundary conditions that can be read by ANSYS. Once the analysis is done inANSYS, both deck and result files can be read back in HyperMesh and HyperView. You canpost-process the results of the analysis solved by ANSYS.

ANSYS solver writes analysis model data in the form of a script file. It also writes the model inbinary file format. HyperMesh and HyperView can read the model data written in script format.These files are saved with file extension .cdb. Newer versions of ANSYS use BLOCK format towrite their model data in script file. HyperMesh and HyperView can transfer the ANSYS modeldata into HyperMesh. ANSYS solver writes model data in BLOCK format. Older ANSYS (ANSYS5.4 or earlier) use APDL format. HyperMesh can read both types.

Page 6: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface3 Altair Engineering

Proprietary Information of Altair Engineering

ANSYS Utility Menu

The ANSYS Utility Menu contains the following macros and tools.

Macro Description

Update Pre 8.0 HM Model The Update Pre 8.0 HM Model macro updates old version[prior to 70-SA2-043 update] .hm files to .hm 8.0 version

files. Load old .hm files, then click on this macro button.Otherwise, interface data such as ANSYS element types,properties, and sections will be lost. For complete transferof the data, it is advised that you complete the model in allrespects in old version before transferring to new interface.

Component Manager This is a component table where you can view / edit /create HyperMesh components. The same table is openedwhen you click info table in the Component Collectorpanel. This table is available across all solvers, but thistable has been customized to ANSYS needs. You can listthe element types, thickness for shell elements, propertytype, material name, number of elements and nodes in thecomponent for each component. The ComponentManager can be changed to editable mode so that youcan update the element attributes. To create newcomponents, click on Action and select New…. to openthe Create New Component dialog. The Remarks columnwill show if any one of the components is not createdproperly. This column briefly describes what is wrong in thecomponent. Also, incorrect components will be shown inred.

Material This macro is used to create/edit/view material collectors inthe model. You can create both MP and MPDATA materialsets by this macro. You can edit the name and ID of thematerial set, as well as the material values.

Section You can create beam and shell sections using this macro.When started, the Section dialog opens. It lists all existingbeam or shell sections with subtypes. Click on New… tocreate new sections. You can use HyperBeam to createsections and attach to beamsection card images. Edit…can be used to edit sections by their name, ID and type.

Real Sets ANSYS real properties can be created/updated using thisdialog. When started, a table that lists the real sets in themodel opens up, where you can review the values in eachproperty set. Use the New… button to create new realsets, or go to the card images of each real set. Use the Edit… button to update by ID, element type or values.

Page 7: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 4

Proprietary Information of Altair Engineering

ET Type ANSYS ET Types can be created/updated using this macro.When you click this button, a table listing ET Types in themodel opens up. You can review the values in each ETType. The New… button can be used to create new ETTypes or to go to card images of each ET Type. Updatingby ID, element type or values can be made by using Edit…

Contact Manager This is used to create 2-D and 3-D contact pairs. Thisautomatically generates the correct contact pairs. You canadd contact properties, material properties and set normalsfor contacts. Tutorials have been added on online help todescribe how to use the Contact Manager to createcontacts.

Ansys to OptiStructConvert...

This macro converts ANSYS models to OptiStruct orNastran models. See the conversion online help for moredetails.

Convert to Spl. 2ndOrder...

This utility macro converts fully second order elements tospecial second order elements. Please see the online helpunder Utility Menu section for more details on this macro.

Page 8: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface5 Altair Engineering

Proprietary Information of Altair Engineering

Import Tab

The Import tab can be accessed from the menu bar. Click File > Im port > and thenthe type of file you wish to import. The options are Session, Model, Solver Deck,

Geometry, and Connectors... You can also click on the Im port icon on thetoolbar.

Import type: Use these icons to select the type of model you will be importing. For

this exercise you will import an FE model .

File type: If you are in the ANSYS user profile then ANSYS should already beselected as the file type.

File: Used to browse to the location of the file you would like to import. The arrowsto the left of Import options displays further import options.

Import: Allows you to select or deselect the entities to import into HyperMesh. Thefollowing options are not available during the Ansys import: Solver options, Createcomponent, and Include File.

Page 9: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 6

Proprietary Information of Altair Engineering

Include files: You can choose if you want to preserve, skip, or merge your includefiles into HyperMesh.

FE overwrite: The imported models ID numbers will override the ID numbers currentlyin the model.

ID Offset: Allows you to define what ID numbers your entities will start theirnumbering.

Display import errors: Displays any errors while importing the model.

Export tab

The Export tab can be accessed from the menu bar. Click File > Export > and thenthe type of file you wish to import. The options are H3D Model, Solver Deck, Geometry,Connectors, and Curves.. You can also click on the Export icons on the toolbar.

Export type: Use these icons to select the type of model you will be exporting. For

this exercise, select FE model .

Page 10: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface7 Altair Engineering

Proprietary Information of Altair Engineering

File type: Select ANSYS as the File type to export a .cdb file.

Template: When you select ANSYS as the File type the default ANSYS template willbe loaded.

File: The location and name of the file you will export.

Export: You can choose to export All, Displayed, or Custom entities.

Include connectors: Check this box if you would like to include the connectors duringexport.

Include Files: The only option with ANSYS export is to merge the include files.

Prompt to save invalid elements: Check this box to activate this option.

Prompt before overwrite: Check this box to activate this option.

Online Help

The HyperMesh online help lists the entities supported for the ANSYS solver, cards available inHyperMesh, and summary templates available for ANSYS interface.

To access the online help do the following:

From the menu bar, select Help > HyperW orks Desktop. This opens the online help.

To view tutorials about using the ANSYS interface:

On the Contents tab go to HyperW orks Desktop > Tutoria ls, then go toHyperW orks Desktop> HyperMesh Solver Interfaces Tutoria ls. There you will finda section for ANSYS and a list of all the interfacing tutorials.

Exercise

Step 1: Load the ANSYS user profile

Setting the user profile to ANSYS saves you time.

1. Open HyperMesh.

2. From the menu bar, select Preferences > User Profiles

3. Select the radio button for ANSYS and click OK.

Step 2: Import a model

HyperMesh can import ANSYS model data in script format. The following steps explain theprocess of importing an ANSYS deck written by the ANSYS solver. The same procedure canbe followed to read a HyperMesh-written deck:

Page 11: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 8

Proprietary Information of Altair Engineering

1. From the menu bar select File > Im port > Solver Deck.

2. Verify the Import Solver Deck icon is selected

3. If you are in the ANSYS user profile, the File type: field should be set to ANSYS.

4. Click the Open File icon.

5. Browse to the file Tuning_fork_ansys.cdb.

6. Click Im port.

The model has been imported.

Step 3: Export the model

HyperMesh can export ANSYS model data in script format. The following steps explain theprocess of exporting an ANSYS model from HyperMesh.

1. From the menu bar select File > Export > Solver Deck.

2. Select the Export Solver Deck icon .

3. Set the File type: field to Ansys.

4. Browse to the location you would like to export your file and name the file 4400_export.

5. Click Export.

Your model is now exported.

Page 12: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface9 Altair Engineering

Proprietary Information of Altair Engineering

HM-4410: Setting Up a Model in ANSYS

In this tutorial, you will learn how to:

Load the ANSYS user profile

Retrieve the HyperMesh model files for this tutorial

Add an element type

Apply the real constants for the elements of the model

Apply the material properties for elements of the model

Update each component with respective element type

Update each component with respective real constants

Update each component with respective material properties

The model setup includes: setting up of element type, real constants, material properties andcomponent structure in HyperMesh for ANSYS.

Exercise 1

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profile dialog displays.

3. Select Ansys from the list of user profiles.

4. Click OK.

This sets the defaults for ANSYS and displays the ANSYS Utility Menu.

Page 13: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 10

Proprietary Information of Altair Engineering

Step 2: Retrieve the model file

1. From the menu bar, click File > Open > Model.

2. Browse to the file<installation_directory>\tutorials\hm\interfaces\ansys\chapter2_1.hm .

3. Click Open or double-click the file name.

4. Click on the Shaded Elem ents and Mesh Lines icon in the toolbar, if not alreadyset.

Step 3: Add the element type

1. On the menu bar, select Tools > EtTypes Table.

The ET Type dialog appears.

2. Click on New....

The Create ETType dialog appears.

3. Initially the ET Type Number is set to 1. The next time you want to create another

element type, it sets the number automatically to (n+1).

4. From the Element type drop down menu select SHELLS and then SHELL63 element.

SHELL63 has both bending and membrane capabilities. Both in-plane and normal loadsare permitted. The element has six degrees of freedom at each node: translations in thenodal x, y, and z directions and rotations about the nodal x, y, and z-axes. Stressstiffening and large deflection capabilities are included.

5. Click C reate. The element type Shell63 is created.

Click on C reate/Edit if you want to simulate the element stiffness, set the stressstiffening option, extra displacement shapes, extra stress output, pressure loading, massmatrix, stress stiffness matrix, define the element coordinate system and specify the datastorage using the respective keyopts.

6. Now the ET Type Number is set to 2. From the Element type drop down menu, select

MASS and then MASS21 element.

7. Click on C reate/Edit. In the card image, toggle the kopt3 option to 2-D m ass withoutrotary inertia. Then, click return.

MASS21 is a point element having up to six degrees of freedom: translations in the nodalx, y, and z directions and rotations about the nodal x, y, and z axes. A different massand rotary inertia may be assigned to each coordinate direction.

8. Click on C lose to exit the Create ETType dialog.

9. Click on C lose to exit the ET Type dialog.

Page 14: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface11 Altair Engineering

Proprietary Information of Altair Engineering

Step 4: Apply the real constants for the elements of the model

1. On the menu bar, select Tools > RealSets Table.

2. Click on the New... button. The Create Real Sets dialog pops up.

Initially the Real set number is set to 1. The next time you create an element type, the

number is automatically set to (n+1).

3. From Element type drop down menu select SHELLS and then SHELL63 element.

4. Click on the C reate/Edit button.

5. The property card image for the Shell63 element is displayed. In the TKI (1) field, enter10 units. This indicates shell element thickness value at node I.

Note: If the element has a constant thickness, only TKI (1) needs be input. If there is avariable thickness, you need to specify TKJ (2), TKK (3) and TKL (4).

6. Click return.

7. The Real set number is set to 2. Using steps 3 through 6, create the Shell63 element

type for 5 units.

8. The Real set number is set to 3. From Element type drop down menu, select MASS and

then MASS21 element.

9. Click on the C reate/Edit button.

The property card image for the MASS21 element is displayed.

10. Toggle the kopt3 option to 2-D mass without rotary inertia. In the MASS (1) field, enter0.001.

11. Click return.

12. Click C lose to exit the Create Real Sets dialog.

13. Click on C lose to exit the Real Sets dialog.

Step 5: Apply the material properties for the elements of the model

1. On the menu bar, click Tools > Materia l Table.

The Material dialog opens.

2. Click on the New button.

The Create Material dialog opens. Initially the Material ID is set to 1. The next time

you create a material, the number is automatically set to (n+1).

3. In the Name field, enter Steel and enter 1 for the ID.

4. Under Material Type, select the radio button for MP.

5. In the table under Material Prop, use the drop down menu to select EX.

6. Next to EX, in the C0 column, enter 2.1E5

Page 15: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 12

Proprietary Information of Altair Engineering

7. In the table under Material Prop, under the EX line, use the drop down menu to selectNUXY.

8. Next to NUXY, in the C0 column, enter 0.3.

9. Click C reate to exit the Create Material dialog.

10. Click C lose to exit the Material dialog.

Step 6: Update each component with the respective element type

1. On the menu bar, click the Tools > C om ponent Table.

2. From the Table drop down menu, activate the Editable option. This enables you to editthe contents of the table containing the component information.

3. In Assign values field, select ET Ref. No.. This will list all the element types loaded tothe model.

4. For the component Base row, click on the column ET Ref No. so that the entire row getshighlighted. Toggle the button before Set to 1-(ET_1)SHELL63.

5. Click on Set. The message "Do you want to change the ET Ref. No.?" pops up. Click onYes.

The component Base is updated with Et Ref. No. as 1 and the ET Type as SHELL63.

6. Repeat step 4 for component Rib.

The component Rib is updated with Et Ref. No. as 1 and the ET Type as SHELL63.

7. Select the component Mass row. Keeping the Assign values field set to ET Ref. No.,toggle the other button to 2-(ET_2)MASS21.

8. Click on Set. The message "Do you want to change the ET Ref. No.?" pops up. Click onYes.

The component Mass is updated with Et Ref. No. as 2 and the ET Type as MASS21.

The CERIG defines a rigid region (link, area or volume) by automatically generatingconstraint equations to relate nodes in the region. Hence no element type is required.

Step 7: Update each component with the respective real constants

1. In the Assign values field, select Real Set No.. This will list all the Real Constantsloaded to the model.

2. For the component Base row, click on the column Real Set No. so that the entire rowgets highlighted. Toggle the button before Set to 1-(PROP_1)SHELL63.

3. Click on Set. The message "Do you want to change the Real Set. No.?" pops up. Click onYes.

The component Base is updated with Real Set. No. as 1. The 1(PROP_1)-SHELL63

real constant has the thickness of 10 units already defined.

Page 16: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface13 Altair Engineering

Proprietary Information of Altair Engineering

4. Repeat steps 2 and 3 for component Rib, but make sure you toggle it to 2-(PROP_2)SHELL63.

The component Rib is updated with Real Set No. as 2-(PROP_2)SHELL63. The 2-(PROP_2)SHELL63 real constant has the thickness of 5 units already defined.

5. Select the component Mass row. Keeping the Assign values field set to Real Set. No.,toggle the other button to 3-MASS21.

6. Click on Set. The message "Do you want to change the Real Set. No.?" pops up. Click onYes.

The component Mass is updated with Real Set No. as 3.

Step 8: Update each component with the respective material properties

1. Set the Assign values option to Mat Set No.. This will list all the material propertiesloaded to the model.

2. While holding the Control button down, click on the rows Base, Rib and Mass so that allthree rows become highlighted.

3. Toggle the button before Set to the 1-Steel option, if not already set.

4. Click on Set. The message "Do you want to change the Mat Set No.?" pops up. Click onYes.

The component Base, Rib and Mass is updated with Mat Set No. as 1.

5. From the Table drop down menu, select Quit to exit the window.

6. To save the model, from the menu bar select File > Save As > Model.

7. In the File name field, enter exercise2A.hm and click on Save.

Proceed to Exercise 2 to apply boundary conditions and create load steps.

Page 17: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 14

Proprietary Information of Altair Engineering

Exercise 2

Introduction to ANSYS Load Steps

This exercise introduces the concept of ANSYS load steps in HyperMesh. In HyperMesh, youneed to have each load or constraints in a separate load collector (load cols). With the helpof these load collectors, you can create the multiple load steps depending on therequirement. The combination of loads with constraints forms a load step. If you have createdload steps in the model, then the exported *.cdb file will have all the load step information.

This *.cdb file when imported into ANSYS, automatically creates the *.so files in the working

directory which can be used later if needed.

In this tutorial, you will learn how to:

Load the ANSYS user profile.

Retrieve the HyperMesh model file for this tutorial.

Create constraints load collector.

Apply the constraints to the model.

Apply the force on mass elements with force1 load collector.

Apply the force on mass elements with force2 load collector.

Apply the force on mass elements with force3 load collector.

Create multiple load steps.

Add /SOLU & LSSOLVE in control cards

Export the deck to ANSYS *.cdb format

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profiles dialog displays.

3. Select Ansys from the list of user profiles.

4. Click OK.

This sets the defaults for ANSYS and displays the ANSYS Utility Menu.

Step 2: Retrieve the HyperMesh model file

1. From the menu bar, select File > Open > Model.

2. Browse to the chapter2_2.hm file.

3. Click Open or double-click the file name.

Page 18: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface15 Altair Engineering

Proprietary Information of Altair Engineering

4. Click on the Shaded Elem ents and Mesh Lines icon in the toolbar, if not alreadyset.

HyperMesh displays the model as shown below.

Step 3: Create a constraints load collector

1. Right click in the Model Browser and select C reate > Load C ollector.

2. In the Name field, enter constraints as name of the load collector.

3. Click on C olor and select a color the for load collector.

4. Uncheck the option for Close dialog upon creation.

5. Click C reate.

6. Repeat steps 2-4 to create load collectors with the names force1, force2 and force3.

7. Click C ance l to close the panel.

Page 19: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 16

Proprietary Information of Altair Engineering

Step 4: Apply the constraints to the model

1. In the Model Browser, expand the Load Collector folder.

2. Right click on constraints and select Make C urrent.

Any new loads created will be placed in this collector.

3. From the menu bar, select BC s > C reate > C onstra ints.

4. Select all degrees of freedom.

5. Click the ye llow nodes button and select by path from the extended entity selectionmenu.

6. Graphically select the starting node and the end node on the left side.

7. Click create.

8. Repeat steps 5 and 6 for the right side of the model.

The nodes along the left and right edges of the model are selected as shown in the figurebelow.

9. Click return to exit the Constraints panel.

Page 20: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface17 Altair Engineering

Proprietary Information of Altair Engineering

Step 5: Apply the force on mass elements with the force1 load collector

1. In the Model Browser, under the Load Collector folder, right click on force1 andselect Make C urrent.

2. From the menu bar, select BC s > C reate > Forces.

3. Toggle the switch to nodes, if necessary.

4. Select the two nodes at the center of the two bolt holes as shown below.

5. Set the magnitude field to 500.

6. Switch the toggle to z-axis for the direction of application of the force.

7. Set the uniform size field to 20.

8. Click on create.

9. Click return to exit the Forces panel.

Step 6: Apply the force on mass elements with the force2 load collector

1. Use the Model Browser to set force2 as the current load collector.

2. For better visualization, hit F5 on your keyboard to bring up the Mask panel.

3. Click the switch and change the entity type to loads. Graphically select the twopreviously created forces and click m ask.

4. From the menu bar, select BC s > C reate > Forces.

Page 21: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 18

Proprietary Information of Altair Engineering

5. Toggle the switch and select nodes.

6. From the toolbar, select the XY Top Plane View icon .

7. Select the left side node which is at the center of the bolt hole.

8. Set the magnitude field to 500.

9. Select z-axis for the direction of application of the force.

10. Click on create.

11. Select the right side node which is at the center of the bolt hole.

12. Set the magnitude field to -500.

13. Select z-axis for the direction of application of the force.

14. Click on create.

15. Click return to exit the Forces panel.

Step 7: Apply the force on mass elements with the force3 load collector

1. Select force3 as the current load collector.

2. For better visualization, hit F5 on your keyboard to bring up the Mask panel.

Page 22: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface19 Altair Engineering

Proprietary Information of Altair Engineering

3. Click the switch and change the entity type to loads. Graphically select the twopreviously created forces and click mask.

4. From the menu bar select BC s > C reate > Forces.

5. Toggle the switch and select nodes.

6. Select the two nodes at the center of the two bolt holes.

7. Set the magnitude field to -500.

8. Select z-axis for the direction of application of the force.

9. Click on create.

10. Click return to exit the Forces panel.

Step 8: Create multiple load steps

1. From the menu bar, click Setup > C reate > Load Steps.

2. In the Name field, enter the load step name as Step1.

3. Click on loadcols and select the constraints and force1 load collectors. Click se lectand click create.

Page 23: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 20

Proprietary Information of Altair Engineering

4. In the Name field, enter the load step name as Step2.

5. Click on loadcols and select the constraints and force2 load collectors. Click se lectand click create.

6. In the Name field, enter the load step name as Step3.

7. Click on loadcols and select the constraints and force3 load collectors. Click se lectand click create.

8. Click return to exit the Load steps panel.

Step 9: Add /SOLU & LSSOLVE in the control cards

1. From the menu bar, click Setup > C reate > C ontrol C ards.

2. Click on the /SOLU control card to exit the PREP7 preprocessor and enter the SOLUpreprocessor.

3. Click return to exit the card image panel.

4. Click on the LSSOLVE control card.

5. Set the load step minimum by setting the LSMIN field to 1, set the maximum number of

load steps by setting the LSMAX field to 3, and set the load step increment by setting

the LSINC field to 1. This command directs the solver to solve all 3 load steps.

6. Click return to exit the Card image panel.

7. Click return to exit the Control cards panel.

Step 10: Export the deck to ANSYS *.cdb format.

1. From the menu bar select File > Export > Solver Deck to open the Export tab.

2. Set the File type field to Ansys.

If you are in the ANSYS profile then the default ANSYS template will automaticallyloaded.

3. Click the Open file icon to select the location and name of your file.

4. Enter the file name as 4410_export.cdb.

5. Click Export to export the file.

Page 24: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface21 Altair Engineering

Proprietary Information of Altair Engineering

HM-4420: Defining ANSYS Contacts for 2-D Models inHyperMesh

For this tutorial it is recommended that you complete the introductory tutorial, HM-1000:Getting Started with HyperMesh.

The HM-ANSYS Contact Manager allows you to automate the procedure to create surface-to-surface target/contact element-pairs.

This tutorial demonstrates how to use the Contact Manager to create ANSYS 2-D surface-to-surface target/contact element-pairs.

It is highly recommend to complete the Exploring the ANSYS Interface tutorial beforecompleting this exercise.

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profile dialog displays.

3. Select Ansys from the list of user profiles.

4. Click OK.

This sets the defaults for ANSYS and loads the the ANSYS Utility Menu.

Step 2: Retrieve the model file

1. From the menu bar, select File > Open > Model.

2. Browse to the file hm-ansys_contact_manager_2-d_tutorial.hm.

3. Click Open or double-click the file name.

The model loads into HyperMesh.

4. If the loads are shown, turn the display of them off by clicking the + next toLoadCollector in the Model Browser and then clicking the m esh icon.

Page 25: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 22

Proprietary Information of Altair Engineering

5. Click once in the graphics area to make it the current window for keyboard commands,then hit f on the keyboard to fit the model to the screen.

HyperMesh displays the model as shown in the figure below.

Step 3: Launch the ANSYS Contact Manager

1. In the menu bar select Tools > C ontact Manager.

The Ansys Contact Manager dialog (shown below) is displayed. The window can beresized by clicking and dragging any edge or corner.

Step 4: Create a new 2D contact

1. Click New... to create a new contact.

The Create New Contact Pair dialog is displayed.

2. Under Creation method choose Flexible.

3. Under Contact type choose 2D.

4. Under Create from choose Surface to surface.

Page 26: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface23 Altair Engineering

Proprietary Information of Altair Engineering

Step 5: Select the target body component

1. Click Pick Target to choose the target body component.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named DISK_42.

4. Click se lect and click proceed.

Step 6: Select the target surface elements

1. In the Target Elements Selection dialog, click the yellow Elem ents button.

The Target Selection panel is shown.

2. Hold down the Shift button and drag the mouse button to draw a window to select thelower half of the edge elements, as shown below:

3. Click proceed.

The Next button in the Selecting Target Elements dialog will be activated.

4. Click the Next button, and the Target Component Details dialog will be displayed.

Page 27: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 24

Proprietary Information of Altair Engineering

Step 7: Define the target component details

The Name and ID of the Target Component and ET Type can be modified.

Click the Color box to change the default target/contact component colors. Select thenew color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

1. Click the Next button in the Target Component Details dialog. A full model displays asshown in the following figure below. The Contact Components Selection dialogdisplays.

Page 28: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface25 Altair Engineering

Proprietary Information of Altair Engineering

Step 8: Select the contact body component

1. In the Contact Components Selection dialog, click the yellow C om ponents button.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named BOX_42.

4. Click se lect then proceed.

5. Click the Next button in the Contact Components Selection dialog.

The edges of the selected contact body will be extracted and displayed as shown in thefollowing figure.

The Contact Elements Selection dialog displays.

Step 9: Select the contact surface elements

1. Click the yellow Elem ents button.

The Target Selection panel is shown.

2. Hold down the Shift key and drag the mouse across the window to select the elementson the top, as shown in the image below:

Page 29: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 26

Proprietary Information of Altair Engineering

3. Click proceed.

4. Click Next in the Contact Elements Selection dialog.

The Contact Component Details dialog is displayed.

Step 10: Define the contact element component

The Name and ID of the Contact Component and ET Type can be modified.

Click the Color box to change the default target/contact component colors. Selectthe new color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

Page 30: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface27 Altair Engineering

Proprietary Information of Altair Engineering

1. Click the Next button in the Contact Component Details dialog. The full model will bedisplayed as shown in the figure below.

The Contact Property dialog is displayed.

Step 11: Define the contact property

The target and associated contact elements are identified by a shared real constantset. This real constant set includes all real constants for both the target and contactelements.

A new property with the real constant values will be created by default. Both targetand contact components will be pointed to this new property. Click the radio button None if you do not want to assign any real constants to the target/contact elements.

Optionally, modify or enter the target/contact elements real constant values. Clickthe Reset Default button to reset the default values at any time.

1. Click the Next button in the Contact Property dialog. The Contact Material dialog isdisplayed.

Page 31: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 28

Proprietary Information of Altair Engineering

Step 12: Define the contact material

It is optional to define a new material for the target/contact elements or to select an existingmaterial.

To define a new material:

1. Under Define Material select the New radio button.

2. Enter appropriate material values then click Next.

3. Go to Step 13 (below).

To select an existing material:

1. Under Define Material select the Sam e as radio button.

2. Choose an existing contact material from the drop down menu.

3. Click Next.

4. Go to Step 13 (below).

If do not want to assign any material properties:

1. Under Define Material, select the None radio button.

2. Click Next.

Page 32: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface29 Altair Engineering

Proprietary Information of Altair Engineering

Step 13: View a summary of the contact

A summary of the contact is displayed.

To create another contact click New

You can modify any of the existing contact details by clicking in the appropriate cellthen clicking Edit

Click the C lose button to close the Contact Manager.

Page 33: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 30

Proprietary Information of Altair Engineering

HM-4430: Defining ANSYS Contacts for 3-D Models inHyperMesh

Before starting this tutorial, it is recommended that you complete the introductory tutorial, HM-1000: Getting Started with HyperMesh.

This tutorial demonstrates how to use the Contact Manager to create ANSYS 3-D surface-to-surface target/contact element-pairs.

It is highly recommend to complete the Exploring the ANSYS Interface tutorial beforecompleting this exercise.

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profile dialog is displayed.

3. Select Ansys from the list of user profiles.

4. Click OK.

This sets the defaults for ANSYS and displays the ANSYS Utility Menu.

Step 2: Retrieve the HyperMesh model file

1. From the menu bar select File > Open > Model.

2. Select the file hm-ANSYS_contact_manager_3-D_tutorial.hm.

3. Click Open or double-click the file name.

4. If the loads are shown, turn the display of them off by clicking the + next toLoadCollector in the Model Browser and then clicking the m esh icon.

5. Click once in the graphics area to make it the current window for keyboard commands,then hit f on the keyboard to fit the model to the screen.

HyperMesh displays the model as shown in the figure below.

Page 34: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface31 Altair Engineering

Proprietary Information of Altair Engineering

Step 3: Launch the ANSYS Contact Manager

1. From the menu bar select Tools > C ontact Manager.

The Ansys Contact Manager dialog is displayed at the top-left corner of the screen. Atthis point, you may want to adjust the size of the HyperMesh window.

Step 4: Create a new 3D contact

1. Click New.. to create a new contact.

The Create New Contact Pair dialog is displayed.

2. Under Creation method choose Flexible.

3. Under Contact type choose 3D.

4. Under Create from choose Surface to surface.

Step 5: Select the target body component

1. Click Pick Target to choose the target body component.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named CYLINDER_SOLID45.

Page 35: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 32

Proprietary Information of Altair Engineering

4. Click se lect and click proceed.

The faces of the selected target body are extracted and displayed as shown below.

Step 6: Select the target surface elements

1. In the Target Elements Selection dialog, click the ye llow Elem ents button.

The Target Selection panel is shown.

2. From the toolbar select the XY Top Plane View .

3. Hold the Shift key down while dragging the mouse over the lower half of the model, asshown below.

The Selecting Target Elements dialog is displayed.

4. Click proceed.

Page 36: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface33 Altair Engineering

Proprietary Information of Altair Engineering

5. Click Next.

Step 7: Define the target component details

The Target Component Details dialog displays the default target component ID and type.You cannot modify these.

The Name and ID of the Target Component and ET Type can be modified.

Click the Color box to change the default target/contact component colors. Selectthe new color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

1. Click the Next button in the Target Component Details dialog. A full model displays asshown in the following figure below. The Contact Components Selection dialog thendisplays.

Page 37: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 34

Proprietary Information of Altair Engineering

Step 8: Select the contact body components

1. In the Contact Components Selection dialog, click the yellow C om ponents button.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named BOX_SOLID95.

4. Click se lect then proceed.

5. Click the Next button in the Contact Components Selection dialog.

The edges of the selected contact body will be extracted and displayed as shown in thefollowing figure.

The Contact Elements Selection dialog will be displayed.

Step 9: Select the contact elements

1. Click the yellow Elem ents button.

The Target Selection panel is shown.

2. Pick one element on top of the upper face of the box.

3. Click elem s.

The extended entity selector will be displayed. Select the by face selection method. Thecontact surface elements are selected as shown in the figure below.

Page 38: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface35 Altair Engineering

Proprietary Information of Altair Engineering

4. Click proceed.

5. Click Next in the Contact Elements Selection dialog. The Contact Component Detailsdialog will be displayed.

Step 10: Define the contact element component

The Name and ID of the Contact Component and ET type can be modified.

Click the Color box to change the default target/contact component colors. Selectthe new color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

Page 39: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 36

Proprietary Information of Altair Engineering

1. Click the Next button in the Contact Component Details dialog. The full model will bedisplayed as shown in the figure below.

The Contact Property dialog will be displayed.

Step 11: Define the properties

The target and associated contact elements are identified by a shared real constantset. This real constant set includes all real constants for both the target and contactelements.

Page 40: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface37 Altair Engineering

Proprietary Information of Altair Engineering

A new property with the real constant values will be created by default. Both targetand contact components will be pointed to this new property. Click the radio button None if you do not want to assign any real constants to the target/contact elements.

Optionally, modify or enter the target/contact elements real constant values. Clickthe Reset Default button to reset the default values at any time.

1. Click the Next button in the Contact Property dialog. The Contact Material dialog isdisplayed.

Step 12: Define the contact material

It is optional to define a new material for the target/contact elements or to select an existingmaterial.

To define a new material:

1. Under Define Material select the New radio button.

2. Enter appropriate material values then click Next.

3. Go to Step 13 (below).

To select an existing material:

1. Under Define Materia l select the Sam e as radio button.

2. Choose an existing contact material from the drop down menu.

3. Click Next.

4. Go to Step 13 (below).

Page 41: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 38

Proprietary Information of Altair Engineering

If do not want to assign any material properties:

1. Under Define Material select the None radio button.

2. Click Next.

Step 13: Review the normals

The Contact/Target Normal dialog is displayed, as well as the element normals. The targetand contact elements normal should point towards each other. If they do not, the solutionwill not be performed correctly in ANSYS. Please review the normal vector direction andreverse them if needed.

To show or hide the normals check or uncheck the appropriate box under Display

C om ponent and click the icon.

You can adjust the size of the normals by changing the Size value then pressing the

icon.

To reverse a normal check the appropriate box for TARGET or CONTACT and then click

the icon.

Click OK after reviewing the normals.

Page 42: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface39 Altair Engineering

Proprietary Information of Altair Engineering

Step 14: View a summary of the contact

A summary of the contact is displayed.

To create another contact click New

You can modify any of the existing contact details by clicking in the appropriate cellthen clicking Edit

Click the C lose button to close the Contact Manager.

You are encouraged to create another pair of target/contact elements by selecting the CYLINDER_SOLID45 as the target body component and BOX_SOLID45 as the contact bodycomponent. Please note the BOX_SOLID45 elements are first order elements, whereas theBOX_SOLID95 elements are second order which is why you have to create the contactsseparately.

Page 43: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 40

Proprietary Information of Altair Engineering

HM-4440: Introduction to the Contact Manager

This tutorial introduces you to creating a surface-to-surface contact in HyperMesh using the Contact Manager. You will also learn about how to assign non-linear analysis solution controlfor ANSYS through HyperMesh.

The model used in this tutorial contains two component collectors: one indicating the contactbody and the other indicating the target body. Here CONTA171 is used to represent contactand sliding between 2-D "target" surfaces (TARGE169) and a deformable surface, defined bythis element. Contact occurs when the element surface penetrates one of the target segmentelements (TARGE169) on a specified target surface. The 2-D contact surface elements areassociated with the 2-D target segment elements (TARGE169) via a shared real constantset.

In this tutorial, you will:

Load the ANSYS user profile.

Retrieve the HyperMesh model for this tutorial.

Create a constraints load collector.

Create contact elements with the Contact Manager.

Apply the constraints to the model.

Apply displacement to the two end nodes of the component "contact".

Activate control cards for Nonlinear Analysis Solution Control.

Export the deck to ANSYS *.cdb format.

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profiles dialog displays.

3. Select Ansys from the list of user profiles.

4. Click OK.

This sets the defaults for ANSYS and displays the ANSYS Utility Menu.

Step 2: Retrieve the HyperMesh model for this tutorial

1. From the menu bar select File > Open > Model.

2. Browse to the file chapter2_3.hm.

3. Click Open or double-click the file name.

Page 44: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface41 Altair Engineering

Proprietary Information of Altair Engineering

4. Click on the Shaded Elem ents and Mesh Lines icon in the toolbar just below thegraphics area.

HyperMesh displays the model as shown below.

Step 3: Launch the ANSYS Contact Manager

1. In the menu bar select Tools > C ontact Manager.

2. Click C ontact Manager .

The Ansys Contact Manger (shown below) is displayed. The window can be resized byclicking and dragging any edge or corner.

Step 4: Create a new 2D contact

1. Click New.. to create a new contact.

The Create New Contact Pair dialog is displayed.

2. Under Creation method choose Flexible.

3. Under Contact type choose 2D.

4. Under Create from: choose Surface to surface.

Page 45: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 42

Proprietary Information of Altair Engineering

Step 5: Select the target body component

1. Click Pick Target to choose the target body component.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named target.

4. Click se lect and click proceed.

Step 6: Select the target surface elements

1. In the Target Elements Selection dialog, click the yellow Elem ents button.

The Target Selection panel is shown.

2. Hold down the Shift button and drag the mouse button to draw a window to select theupper left edge of the elements, as shown below:

3. Click proceed.

The Next button in the Selecting Target Elements dialog will be activated.

4. Click the Next button, and the Target Component Details dialog will be displayed.

Step 7: Define the target component details

Page 46: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface43 Altair Engineering

Proprietary Information of Altair Engineering

The Name and ID of the Target Component and ET type can be modified.

Click the Color box to change the default target/contact component colors. Select thenew color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

1. Click the Next button in the Target Component Details dialog. The ContactComponents Selection dialog then displays.

Step 8: Select the contact body component

1. In the Contact Components Selection dialog, click the yellow C om ponents button.

The Target Selection panel is shown.

2. Click the yellow com ps button.

3. Select the component named contact.

4. Click se lect then proceed.

5. Click the Next button in the Contact Components Selection dialog.

The edges of the selected contact body will be extracted and displayed as well as theContact Elements Selection dialog.

Step 9: Select the contact surface elements

1. Click the yellow Elem ents button.

The Target Selection panel is shown.

2. Hold down the Shift key and drag the mouse across the window to select the elementson the bottom right, as shown in the image below:

3. Click proceed.

4. Click Next in the Contact Elements Selection dialog.

The Contact Component Details dialog will be displayed.

Page 47: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 44

Proprietary Information of Altair Engineering

Step 10: Define the contact element component

The Name and ID of the Contact Component and ET type can be modified.

Click the Color box to change the default target/contact component colors. Selectthe new color from the pop-up menu.

The KEYOPT values will be assigned to the target component by default. Uncheckthe Apply KEYOPTS box if you do not want to assign any KEYOPTS to the targetcomponent.

Optionally, select a value for any KEYOPT by choosing it from the pull down menu inthe Value column.

1. Click the Next button in the Contact Component Details dialog. The full model will bedisplayed as shown in the figure below.

The Contact Property dialog is displayed.

Page 48: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface45 Altair Engineering

Proprietary Information of Altair Engineering

Step 11: Define the contact property

The target and associated contact elements are identified by a shared real constantset. This real constant set includes all real constants for both the target and contactelements.

A new property with the real constant values will be created by default. Both targetand contact components will be pointed to this new property. Click the radio button None if you do not want to assign any real constants to the target/contact elements.

Optionally, modify or enter the target/contact elements real constant values. Clickthe Reset Default button to reset the default values at any time.

1. Click the Next button in the Contact Property dialog. The Contact Material dialog isdisplayed.

Page 49: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 46

Proprietary Information of Altair Engineering

Step 12: Define the contact material

1. Under Define Material: select the New radio button.

2. Enter 0.45 for MU and click Next.

Step 13: View a summary of the contact

A summary of the contact is displayed.

You can modify any of the existing contact details by clicking in the appropriate cellthen clicking Edit

Click the C lose button to close the Ansys Contact Manager.

1. To save the model, select Save As > Model from the File menu. Type the nameboundary.hm and then click Save.

Page 50: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface47 Altair Engineering

Proprietary Information of Altair Engineering

Step 14: Create a constraints load collector

1. In the Model Browser, right-click and select C reate > Load C ollector.

2. In the Name: field, enter Constraints.

No card image is needed for constraints.

3. Click the colored box and assign any desired color.

4. Click C reate.

Step 15: Apply the constraints to the model

1. From the menu bar, select BC s > C reate > C onstra ints.

2. Select all degrees of freedom.

3. Click nodes and select the left end nodes of the contact component and the right end ofthe target component as shown below.

4. In the size= field, enter 2.

5. Click create.

Step 16: Apply a displacement constraint to the two mid nodes of thecomponent contact

1. Select the two mid nodes at the end of contact as shown below.

Page 51: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 48

Proprietary Information of Altair Engineering

2. Select dof2 only and in the text box, type -5 for the displacement value of the selected

mid nodes at the component contact in the global –Y direction.

3. Click create.

4. Click return to exit the Constraints panel.

Step 17: Activate control cards for nonlinear analysis solution control

1. From the menu bar, select Setup > C reate > C ontrol C ards. Set the following controlcards by clicking on each respective control card and typing the values as listed below.

ANTYPE: Specifies the analysis type and restart status. Ensure that underneath typeit says STATIC. Click return to go back to the control cards page.

LNSRCH: Activates a line search to be used with Newton-Raphson. Click on the OFFbutton which is next to the text LNSRCH and select ON from the pop up menu.

NLGEOM: Includes large-deflection effects in a static or full transient analysis. Clickon the OFF button which is next to the text NLGEOM and select ON from the pop upmenu.

Page 52: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface49 Altair Engineering

Proprietary Information of Altair Engineering

NSUBST: Specifies the number of sub steps to be taken this load step.

o NSBSTP: Number of sub steps to be used for this load step. Click on [NSBSTP]

and enter 100 in the text box.

o NSBMX: Maximum number of sub steps to be taken (minimum time step size) if

automatic time stepping is used. Click on [NSBMX] and enter 1000 in the text

box.

o NSBMN: Minimum number of sub steps to be taken (maximum time step size) if

automatic time stepping is used. Click on [NSBMN] and enter 20 in the text box.

o Carry: Time step carryover key. Default set to OFF.

/SOLU: Enters into the solution.

SOLVE: Solves the model.

2. Note that when the color of the control card button is green, the card exists in thedatabase and will be written when the Export Data panel is used with the currenttemplate. Click on return.

3. To save the model, select Save > Model.

Step 18: Export the model

HyperMesh can export ANSYS model data in script format. The following steps explain theprocess of exporting an ANSYS model from HyperMesh.

1. From the menu bar select File > Export > Solver Deck.

2. Set the File type: field to Ansys.

3. Browse to the location you would like to export your file and name the file exercise2b.

cdb.

4. Click Export.

Page 53: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 50

Proprietary Information of Altair Engineering

HM-4450: Introduction to HyperBeam

In this tutorial, you will learn:

How to assign a standard beam section using the Section panel.

How to assign the arbitrary beam section using the HyperBeam panel.

How to couple degrees of freedom.

The steps involved are:

Loading the ANSYS user profile

Retrieving the HyperMesh model files for this tutorial

Adding element types

Creating collectors

Creating beam elements

Coupling DOF – Rigid elements creation

Creating standard circular beam section

Creating arbitrary beam section

Updating component collectors with respective beam section collector

The image below is a pictorial representation of the original model. The model can be simplifiedin such a way that we can extract represent the whole model with a set of shell elementsrepresenting the plate part of the model and two lines indicating the beam.

Page 54: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface51 Altair Engineering

Proprietary Information of Altair Engineering

Exercise

Step 1: Load the ANSYS user profile

1. Launch HyperMesh or clear the current model.

2. From the menu bar, click Preferences > User Profiles.

The User Profile dialog displays.

3. Select Ansys from the list of user profiles

This sets the defaults for ANSYS and displays the ANSYS Utility Menu.

Step 2: Retrieve the HyperMesh model file

1. From the menu bar select File > Open > Model.

2. Browse to the file chapter3.hm.

3. Click Open.

4. Click the Shaded Elem ents and Mesh Lines icon in the tool bar.

HyperMesh displays the model as shown above. This model contains a plate collectorcontaining shell elements. The plate component is updated with the necessary elementtype, real constant, and material properties.

Step 3: Add the element type

1. From the menu bar select Tools > EtTypes Table.

The ET Type dialog appears.

2. Click on New....

The Create ETType dialog appears.

3. From the Element type drop down menu select BEAMS and then BEAM188.

4. Click C reate and then click C lose twice to close the Create ETType dialog and the ETType dialog.

Step 4: Create collectors

1. From the menu bar select Tools > C om ponent Table.

2. From the top menu select Action > C reate New...

3. From the Create Component dialog enter the Component name as beam_std.

4. Select 2-(ET_21)Beam188 for the Element reference number.

Page 55: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 52

Proprietary Information of Altair Engineering

5. Select 1-Steel as the Material reference number.

6. Choose a color for the beam collector.

7. Click C reate.

8. Repeat steps 3-7 to create another component collector with the name beam_asec.

9. Click C lose to close the Create Component dialog.

10. Close the Component Manager.

Step 5: Create a beam element

1. From the menu bar, select Mesh > Assign > E lem ent Type and then select the 1Dsubpanel.

2. Click bar2 and select the BEAM188 element type.

3. Click return to exit the Elem types panel. In the Model Browser notice that thecurrent component is beam_asec collector.

4. From the menu bar, select Mesh > C reate > 1D Elem ents > Bars and select the bar2subpanel.

5. Click the orientation switch and then select plane.

6. Click on the switch and select para lle l to XY for the Beam Axis.

7. Select two nodes which form the ends of the Arbitary_Beam_Section line (this isshown as a tag in the graphics area).

8. In the Model Browser, right click on the beam_std component and select MakeC urrent.

9. Repeat steps 4 to 6 to create one more BEAM188 element indicated by the lineStd_Circular_Beam_Sec.

Page 56: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface53 Altair Engineering

Proprietary Information of Altair Engineering

10. Click return to exit the bar2 subpanel.

Step 6: Create coupled DOF – rigid elements

1. From the menu bar, select Mesh > Assign > Elem ent Type and then select the 1Dsubpanel..

2. Click on rigid and select C ERIG as the element type.

3. Click return to exit the Elem types panel.

4. From the menu bar select Mesh > C reate > 1D Elem ents > Rigids.

5. Click the switch to choose the multiple nodes option for the dependent node.

6. Check all of the dof boxes.

7. Right-click on the beam_asec component in the Model Browser and select MakeC urrent.

8. At Arbitary_Beam_Section, select the end of beam element as an independent nodeand the other nodes from the plate component as dependent nodes, as shown below. Usethe nodes by path option from the extended selection menu to select the dependentnodes. You can access it by clicking the ye llow nodes button.

9. Click create.

10. Set beam_std as your current component and follow a procedure similar to the previousstep to create rigid elements at the Std_Circular_Beam_Sec beam element with thenodes of the plate component.

11. Click return to exit the Rigids panel.

Page 57: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 54

Proprietary Information of Altair Engineering

Step 7: Create a standard circular beam section

1. From the menu bar, select Tools > Section Table.

2. Click New and type Circular_sec as the Section name.

3. Select Beam as the Section type.

4. Select C SOLID from the Sub section type drop down list.

5. Click C reate/Edit.

Page 58: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface55 Altair Engineering

Proprietary Information of Altair Engineering

6. Type a value of 15 for the SECDATA, R solid rod circular section radius.

7. Click return to exit the Section panel.

8. By default, HyperMesh will allow you to create one more beam section, returning you tothe Create Section dialog. Click C lose.

9. Click C lose to exit the Sections panel.

Step 8: Create an arbitrary beam section

1. Right click in the Model Browser and select C reate > Beam _Section.

2. In the Name field, enter arbi_sec as name of the beam section collector.

3. From the Card image drop down menu, select SEC TYPE.

4. Click the C reate button.

5. From the Model Browser turn the display of elements off by clicking on the buttonnext to the components beam_std, beam_asec, and Plate. Now you should be able tosee only geometric entities on the screen.

6. From the menu bar, select Properties > HyperBeam and select the solid sectionsubpanel.

7. Click the switch and select lines.

8. Select all the lines (in grey color) that form the arbitrary beam section, as shown below.

Page 59: HyperMesh 12.0 Tutorials-ANSYS

Altair Engineering HyperMesh 12.0 Tutorials - ANSYS Solver Interface 56

Proprietary Information of Altair Engineering

9. Click the switch under section base node and select centroid. Keep all other settingsas default.

10. Click create. The HyperBeam Data Model window opens. HyperBeam meshes the areaenclosed by the selected lines with quadrilateral elements, and the properties arecalculated using these elements.

11. Click File, then Exit.

12. In the Model Browser, right click on the Beam Section arbi_sec and select C ard Edit.The card image of the beam section collector appears, through which cross sectionproperties of the beam element are assigned.

13. Click the Select a beam section[OPTIONAL] button and select solid_section.0 as thesection.

14. Click return.

Step 9: Update the component collector with the respective beamsection collector

1. From the menu bar, select Tools > C om ponent Table.

2. From the Table menu, select Editable. This setting enables you to edit the table thatcontains the component information.

3. In the Assign values field, use the toggle to select the Section Set No. panel.

4. Select the beam_std component row.

5. Toggle the button next to the Set button and select 1-(Circular_sec)BEAM.

6. Click on Set. The message "Do you want to change the Section Set No.?" pops up. Clickon Yes.

The component beam_std is updated with beam section collector 1-BEAM containingCircular_sec section.

7. Follow the above procedure to update the beam_asec component, with 2-(arbi_sec)BEAM section collector containing the arbitrary beam section ASEC.

8. From the Table menu, select Quit to exit the Component Manager.

9. From the menu bar, select File > Save As > Model.

10. For File name, enter chapter3_final.hm and click Save.

Step 10: Export the deck in the Ansys *.cdb format

1. From the menu bar select File > Export > Solver Deck to open the Export tab.

2. Set the File type: field to Ansys.

If you are in the ANSYS profile then the default ANSYS template will automaticallyloaded.

Page 60: HyperMesh 12.0 Tutorials-ANSYS

HyperMesh 12.0 Tutorials - ANSYS Solver Interface57 Altair Engineering

Proprietary Information of Altair Engineering

3. Click the Open file icon to select the location and name of your file.

4. Enter the file name as chapter3.cdb.

5. Click Export to export the file.