HyperMesh 12.0 Tutorials-PAMCRASH

Embed Size (px)

Citation preview

  • HyperMesh 12.0 TutorialsPAM-CRASH Solver Interface

  • 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; RADIOSS1986-2013; HyperView1999-2013; HyperView Player 2001-2013; HyperStudy 1999-2013; HyperGraph1995-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.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface iAltair Engineering

    Proprietary Information of Altair Engineering

    HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface

    ........................................................................................................................................... 1PAM-CRASH

    ............................................................................................................................................... 2HM-4700: Using the PAM-CRASH Interface in HyperMesh

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface1 Altair Engineering

    Proprietary Information of Altair Engineering

    PAM-CRASH

    The following PAM-CRASH tutorial is available:

    HM-4700: Using the PAM-CRASH Interface in HyperMesh

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 2

    Proprietary Information of Altair Engineering

    HM-4700: Using the PAM-CRASH Interface inHyperMesh

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

    This tutorial introduces the HyperMesh interface to PAM-CRASH 2G. The following exercisesare included:

    Load a prepared HyperMesh file

    Select the Pam-Crash 2G user profile

    Create control cards

    Assign element types

    Define materials

    Define HyperMesh groups: sliding interface

    Define a rigid wall

    Creating boundary conditions

    Create time histories

    Creating a function

    Creating a sensor card

    Exporting a Pam-Crash 2G data deck from HyperMesh

    Exercise

    Step 1: Load a prepared HyperMesh fileA prepared model with elements and nodes is included in the \tutorials\hm\interfaces\pamcrash directory. The file name of theexample is rail-dyna.hm. This is the basic example on which the tutorial is based.

    1. Click File > Open > Model or click the Open Model icon.

    2. Browse to the file rail-dyna.hm.

    3. Click Open.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface3 Altair Engineering

    Proprietary Information of Altair Engineering

    Step 2: Select the PAM-CRASH 2G user profileTo use HyperMesh with a specific solver, the solver user profile must be loaded. Uponopening, HyperMesh prompts you to select a user profile. Select the Pam -C rash 2G profile.

    Selecting the Pam-Crash 2G user profile sets the FE input reader to Pam-Crash 2G andloads the Pam-Crash 2G 2006 FE output template. It also loads a Pam-Crash 2G UtilityMenu with numerous tools specific to this interface. The graphical user interface is tailoredto Pam-Crash 2G users.

    Steps 3-6: Create Control Cards for PAM-CRASH 2GThis section explains how to create control cards for the CONTROL SECTION of the PAM-CRASH 2G deck.

    Note: The settings of the control cards influence the default values for defining materials.No PAM-CRASH 2G deck can be executed without error if control cards are undefined.

    Step 3: Define the title card1. Click Setup > C reate > C ontrol C ards.

    2. Scroll through the options to select the Title subpanel.

    3. In the TITLE / field enter This is my first PAM-CRASH example.

    4. Click return.

    Step 4: Define the output control cards1. Click Output C ontrol Param eters.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 4

    Proprietary Information of Altair Engineering

    2. In the TIOD field, enter the value 0.005.

    3. In the PIOD field, enter the value 0.005.

    4. Click return.

    5. Click End of Run Definition.

    6. In the TIME field, enter the value 0.06.

    7. Click return.

    Step 5: Define the file optional keyword1. Scroll through the options to select the File Nam e subpanel.

    2. In the File field, enter rail-dyna.hm.

    3. Click return.

    Step 6: Define the time step optional keyword1. Scroll through the options to select the Tim estep C ontrol Param eters subpanel.

    2. At the bottom of the card image click the SHELL_TIMESTEP_OPT check box.

    3. Set the Shell Criteria to LARG E (default) from the pop-up menu.

    4. Click the switch below Thickness Term and set BEND (default) from the pop-up menu.

    5. Click return twice to exit the panels.

    Step 7: Assign Element Types for PAM-CRASH 2GDepending on the analysis requirement, the HyperMesh basic element type can be changed. For example, a quad4 can be a SHELL or a MEMBR element. The tria3 element can be aTRIA_C, SHELL, or MEMBR element. The tetra4, the penta6, and the hexa8 elements definethe SOLID elements of PAM-CRASH. Properties can be added for the selected element typeby using the control cards.

    1. Click Mesh > Assign > Elem ent Type.

    2. Select the 2D & 3D subpanel and click quad4 = and select SHELL from the pop-upmenu.

    3. Click elem s and select all from the extended entity selection menu.

    4. Click update.

    5. Click return to exit the panel.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface5 Altair Engineering

    Proprietary Information of Altair Engineering

    Steps 8-10: Define material and /PART cards forPAM-CRASH 2GBefore proceeding with the tutorial you will rename the component tmp.

    1. Right click the tm p component in the Model Browser and click Renam e.

    2. Enter topbottom and click Enter.

    Step 9: Define a Material Type 1021. Right click in the Model Browser and click C reate > Materia l.

    2. Click in the Name field and enter new mat.

    3. Click C ard Im age: and select MAT_2D.

    Note: The template provides MAT_1D, MAT_2D, and MAT_3D dictionaries. Materialtypes from 200 to 230 are defined with MAT_1D. Materials types from 100 to 151are defined with MAT_2D. Material types from 1 to 41 are defined with MAT_3D.To switch the material type, use the card previewer.

    4. Click the C ard edit m ateria l upon creation to activate the option, if not already done.

    5. Click C reate to create the material and edit the card.

    6. Click the switch below Material Type and select Type 102 from the pop-up menu

    7. In the Density field, enter the value 7.85e-9.

    Note: You can use the TAB or SHIFT TAB key on the keyboard to go to the next orprevious edit field.

    8. In the Name field, enter This is a new material.

    9. In the E field, enter the value 20000.

    10. In the Yield field, enter the value 250.

    11. In the v field, enter the value 0.3.

    12. Click return.

    Step 10: Assign material and thickness to side and topbottom collectors1. Click the C om ponent icon in the toolbar and open the update subpanel.

    2. Click on com ps. Place a checkmark next to the side and topbottom components andclick se lect.

    3. Click on card im age = and select Part_2D.

    4. Click on m ateria l = and select new m at.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 6

    Proprietary Information of Altair Engineering

    5. Click update/edit.

    6. Click on h= and enter the value 2.5 (Note h corresponds to thickness).

    7. Click return twice to exit the panel.

    Steps 11-14: Define HyperMesh Groups: SlidingInterface for PAM-CRASH 2GThis section describes how to define a self contacting sliding interface. A second interface isdefined only for tutorial purposes.

    The procedure below explains how to define a type 36 self contacting sliding interface.

    Step 11: Define the group1. Click BC s > C reate > Interfaces.

    2. Click nam e = and enter self_impact.

    3. Click type = and select C NTAC 36 from the pop-up menu.

    Note that the card image is updated simultaneously.

    4. Click interface color and select a color.

    5. Click create/edit.

    6. In the SLFACM field, enter 1.0.

    7. In the TITLE field, enter the name: This is the selfimpact interface.

    8. Click return.

    Step 12: Add the slave components1. Select the add subpanel.

    2. Click nam e = twice and select se lf_im pact.

    3. Click the switch below slave: and select com ps from the pop-up menu.

    4. Click com ps and select side and topbottom.

    5. Click se lect.

    6. Click update.

    If update is not clicked, no changes to the previous definition are made. No changes aremade to the graphics window, because the master and slave component list is notdisplayed.

    Note: If you edit this interface with the card previewer, the master and slave set andcomponent definition are not shown; however, they are still defined in the addsubpanel.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface7 Altair Engineering

    Proprietary Information of Altair Engineering

    Step 13: Define an additional contactThis procedure explains how to define a type 34 master slave (element - node) contact.

    1. Click BC s > C reate > Interfaces.

    2. Click nam e = and enter masterslave.

    3. Click type = and select C NTAC 34 from the pop-up menu.

    Note that the card image is updated simultaneously.

    4. Click interface color and select a color.

    5. Click create/edit.

    6. In the SLFACM field, enter 1.0.

    7. Click return.

    Step 14: Add the master elements and slave nodes1. Select the add subpanel.

    2. Click the switch below master: and select entity from the pop-up menu.

    3. Click the switch below slave: and select entity from the pop-up menu.

    4. After master:, click elem s to highlight the box with the blue input cursor.

    5. Select two elements on the model.

    6. Click the upper right green add button.

    7. After slave:, click nodes to highlight the box with the blue input cursor.

    8. Select two nodes on the model.

    9. Click the lower right green add button.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 8

    Proprietary Information of Altair Engineering

    10. Click return to exit the panel.

    You should now see the master elements (elements with x) and the slave nodes displayedon the model.

    Steps 15-19: Define a Rigid Wall for PAM-CRASH 2GThis section explains how to define a type 4 infinite rigid wall with a base node at -1.00, 0.0,0.0.

    Step 15: Create a base node for the rigid wall1. Click G eom etry > C reate > Nodes > XYZ.

    2. In the X= field, enter the value 1.0.

    3. In the Y= field, enter the value 0.0.

    4. In the Z= field, enter the value 0.0.

    5. Click create node.

    6. Click return to exit the panel.

    Step 16: Create and define the rigid wall card1. Click BC s > C reate > Rigid W alls.

    2. Click nam e = and enter rwall1.

    3. Click type = and select RWALL from the pop-up menu.

    4. Click rgdwall color and select a color.

    5. Click size = and enter the value 100.

    This specifies the display size of the rigid wall.

    6. Click create.

    Step 17: Define rigid wall geometry1. Select the geom subpanel.

    2. Click nam e = twice and select rwall1.

    3. Click the switch after shape: and select plane from the pop-up menu.

    4. Click the toggle after shape: and select infinite.

    5. Click the switch below normal vector: and select vector.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface9 Altair Engineering

    Proprietary Information of Altair Engineering

    6. Click the second switch and select x-axis from the pop-up menu.

    7. Click base node to highlight the box with the blue input cursor.

    8. Select the created node in the graphics area.

    You may need to to zoom out to see the node.

    9. Click update.

    The rigid wall is now shown in the graphics area.

    Step 18: Add slave nodes for the rigid wall1. Select the add subpanel.

    2. Click the switch below slaves: and choose nodes from the pop-up menu.

    3. Click the yellow nodes button twice and select by id from the extended entity selectionmenu.

    4. Enter the value 1-21 and press Enter.

    Note that 21 nodes at the interface of the rail and the rigid wall are highlighted. Alsonote that one of the nodes was not selected.

    5. Click the node that was not highlighted.

    or

    Click the yellow node button and enter the value 1012 in the id field.

    6. Click add.

    The selected nodes are now set as slaves.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 10

    Proprietary Information of Altair Engineering

    Step 19: Add motion to the rigid wall1. Select the motion subpanel.

    2. Click the switch below name = and select components from the pop-up menu.

    3. Click x com p = and enter the value 1.0.

    4. Click the switch below type of motion: and select velocity from the pop-up menu.

    5. Click update.

    6. Click return to exit the panel.

    Step 20: Define attributes in the card previewer

    1. Select the card edit icon .

    2. Click groups and select rwall1.

    3. Click se lect.

    4. Click edit.

    5. Click the switch below Friction type flag and select No Sliding from the pop-up menu.

    6. Click the switch below Rigid Wall Descriptor Plane Type and select Type 4 from thepop-up menu.

    Note: The card previewer of the rigid wall changed according to the definitions made.Now it is possible to define the mass and the initial velocity for moving rigid wallwith finite mass.

    7. In the mRW field, enter 1.

    8. In the VINIT field, enter 2000.0.

    9. Click return twice to exit the panels.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface11 Altair Engineering

    Proprietary Information of Altair Engineering

    Steps 21-22: Create boundary conditions for PAM-CRASH 2GThis section explains how to create model boundary conditions.

    Step 21: Create a load collector1. Right click in the Model Browser and click C reate > Load C ollector.

    2. Click the Name: field and enter boundary conditions.

    3. Click the Card image: switch and pick none.

    4. Click C olor and select a color from the pop-up menu.

    5. Click C reate.

    The boundary conditions collector is now the current collector. All loads created will beplaced in the boundary conditions collector.

    Step 22: Specify the constraints1. Click BC s > C reate > C onstra ints.

    2. Click load types = and choose BOUNC from the pop-up menu.

    All constraints that are now created will be displacement boundary conditions.

    3. Click nodes and select by id from the pop-up menu.

    4. Enter the value 990-1011 and click Enter.

    5. Click size = and enter the value 10.

    6. Click create.

    The constraints are now added to the nodes.

    7. Click return to exit the panel.

    Steps 23-26: Create Time Histories for PAM-CRASH2GFor PAM-CRASH 2G, time histories may be defined for nodes, elements, and local coordinatesystems. For this exercise, you will only create time histories for some nodes and elements. The operation is the same for any type of time history that is created.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 12

    Proprietary Information of Altair Engineering

    Step 23: Create a node time history card1. In the Model Browser, expand the LoadCollector folder.

    2. Right-click on Boundary Conditions and select Hide.

    The display of loads is now off.

    3. Click Setup > C reate > Output B locks.

    4. Click nam e = and enter node_thp.

    5. Click the switch and select nodes from the pop-up menu.

    6. Use the mouse to select a few nodes in the graphics area.

    7. Click create.

    The time history for nodes is now created.

    Step 24: Create an element time history card1. Click nam e = and enter elem_thp.

    2. Click the switch and select elem s from the pop-up menu.

    3. Use the mouse to select a few elements in the graphics area.

    4. Click create.

    Step 25: Review time histories entities1. Click rev iew.

    2. Select elem _thp.

    The entities associated with this time history are highlighted.

    3. Click return to exit the panel.

    Step 26: View the time history card image1. Right click on the elem _thp output block in the Model Browser and click C ard Edit.

    The time history card is displayed as it will look in the output.

    2. Click return twice to exit the panel.

    Step 27: Create a functionThis section describes how to generate curves, which corresponds to the function cards /FUNCT in PAM-CRASH2G. This curve should serve as a function for a logical sensor switchingon and off. At time=0, the sensor is on, at time=0.01 the sensor is switched off.

  • HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface13 Altair Engineering

    Proprietary Information of Altair Engineering

    1. Click XY Plots > C reate > C urve > Single C urve.

    2. Select m ath subpanel.

    3. In the x = field, type {0, 0.01, 0.1} (including the brackets).

    4. In the y = field, type {1, 0, 0} (including the brackets).

    5. Click create.

    6. Click return

    Step 28: Create a sensor cardSensors are implemented as properties in HyperMesh. In this example we refer to the curvedefined in the preceding Help topic.

    1. From the Analysis page, select safety and then select sensors.

    2. Click nam e = and enter sensor.

    3. Click card im age = and select SENSOR from the pop-up menu.

    4. Click create/edit.

    5. In the TITLE field, enter This is a logical function sensor.

    6. Click the switch below Sensor type and select logical function switch from the pop-upmenu.

    7. Click LC S twice and select curve1.

    8. Click return twice to exit the panels.

  • Altair Engineering HyperMesh 12.0 Tutorials - PAM-CRASH Solver Interface 14

    Proprietary Information of Altair Engineering

    Step 29: Exporting a PAM-CRASH 2G data deck from HyperMeshThis section explains how to generate a PAM-CRASH 2G input deck from HyperMesh.

    1. Click File > Export > Solver Deck.

    2. In the File: field, enter rail.pc.

    rail.pc is the PAM-CRASH2G file you will create.

    3. Check to ensure that the Template: field shows the Pamcrash2G2007 file.

    4. Click Export.

    HyperMesh writes the deck. A message in the footer bar will indicate when the process iscompleted.

    5. Click C lose.

    PAM-CRASHHM-4700: Using the PAM-CRASH Interface in HyperMesh