Escolar Documentos
Profissional Documentos
Cultura Documentos
Login: ftp
Trademark Acknowledgments:
All other trademarks and registered trademarks are the property of their respective owners.
ANSYS Translation Overview
The HyperMesh ANSYS interface allows you to:
• Read an ANSYS ASCII database
• Create and edit an ANSYS ASCII database from within HyperMesh
• Preview and edit ANSYS cards after they are created
• Summarize ANSYS elements, loads, and properties
• Output an ANSYS ASCII database
• Convert an ANSYS binary results file into a HyperMesh binary results file that can be read into
HyperMesh for post-processing
• Assign macro commands to modify HyperMesh’s default ANSYS output
HyperMesh treats ANSYS as a card image code
HyperMesh supports ANSYS element types for STATIC, THERMAL, and MODAL analyses using
ANSYS versions 5.7 and below. In addition, ANSYS results files *.rst and *.rth are supported.
Warnings and error messages are written to a file called ansys.msg. Unrecognized lines are written
to a *.hmx file. These files are created in the directory from which HyperMesh is launched.
Importing Decks
Diagnostic messages are added to a file called ansys.msg, located in the directory from which
HyperMesh is launched. Errors or warnings are printed to this file.
The command.cmf file is also created and appended for each HyperMesh session. This file is
described in Tips and Techniques .
The *.hmx file contains the cards that are not recognized by the input translators.
NOTE The ansys.msg file is added during each read session. To conserve disk space, you
can delete these files as necessary.
If a deck (a.ans) is imported into HyperMesh and you want to import another deck (b.ans), the above
three HMOFFSET commands should be added to the beginning of the b.ans deck before it is
imported. The typeid, realid and matid can be determined using Method #1 and/or Method #2
(described below). If the a.ans deck has NUMOFF commands in it, Method#1 can be used. If the
a.ans deck does not have NUMOFF commands, Method#2 should be used.
If components are created in HyperMesh and then a deck is imported into HyperMesh, the three
HMOFFSET commands should be added to the beginning of the deck before it is imported. The
typeid, realid and matid can be determined using the Method#2.
Method #2
Do card edit for comps in HyperMesh. typeid is the maximum ET TYPE among all the comps.
Do card edit for comps and props. realid is the maximum R NSET value among all comps and props.
Do card edit for mats. Matid is the maximum MPDATA id or TBDATA id among all the mats.
3. Click EXTERNAL.
4. Click translator = and enter /ansys/ansys.exe, or click translator = again to browse the
directory structure to access the ansys.exe file.
5. Click filename = and enter the name of your ANSYS file, or click filename = again to browse the
directory structure for your file.
6. Click import.
Exporting Decks
The output translator outputs only the cards that the input translator recognizes. The CDWRITE
cards are output as regular format cards. The output translator writes only the numeric form of the
type in the ET card. For example, ET, 999, SHELL63 is written as ET, 999, 63.
The ansys.tpl template supports the following ANSYS element types:
1, 3, 4, 5, 8, 10, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 28, 31, 32, 33, 34, 35, 42, 43, 44, 45,
46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 60, 61, 63, 64, 66, 69, 70, 71, 72, 73, 75, 77, 78, 82, 83, 87,
90, 91, 92, 93, 95, 96, 97, 98, 99, 143, 151, 152, 169, 170, 171, 172, 173, 174, 181, 188, 189
The templates also support the ANSYS CP card (rigidlink) and the CERIG card (rigid element).
The templates write HyperMesh components (such as any unique combination of REAL, MAT, TYPE,
and SECNUM) as ANSYS components (CM card).
In order to maintain the HyperMesh component names and colors, the templates write out the
HyperMesh comments HMNAME and HMCOLOR for each HyperMesh component. The templates
write the loads in each HyperMesh load collector as ANSYS load steps.
Note For a new local coordinate system defined in HyperMesh and assigned an ID number
between 1 and 10, the templates shift the ID number by a factor of the maximum ID
number existing in the deck plus 10.
If you run a single load step analysis, it is recommended that you define all your loads using a single
load collector. If you have more than one load collector, use Organize to move all loads into one
load collector and delete the remaining load collectors.
If you have more than one load collector, ANSYS recognizes only those loads which are defined in
the last load collector. The other load collectors are written by ANSYS to ANSYS ASCII load step
files, which may be re-imported into ANSYS during the /SOLUTION phase.
4. Click TEMPLATE.
A new input field, template =, is displayed if not already displayed.
5. Click template = and specify the file name of the template file (for 3-D problems,
../hm21/template/feoutput/ansys/ansys.3d).
6. Click all or displayed to output only some or all contents of the deck.
7. Click write.
4. Click retrieve.
5. Click return.
2. Click comps.
4. Click select.
5. Click return.
The ANSYS element number is displayed in the elem type = text box.
or
Type a valid ANSYS element number in the elem type = text box.
7. Click update to update the element type for the elements in the selected components.
or
Click return to return to the ANSYS macro menu without updating the elements.
8. Repeat steps 1-7 to update the element type for each additional element.
4. Click retrieve.
5. Click return.
Supported Cards
The HyperMesh input translator recognizes the ANSYS cards listed below. If HyperMesh finds an
unsupported field in a card, a message is displayed on the status bar. The messages are also
printed to the file ansys.msg. General slash commands, SOLUTION commands, POST1
commands, and POST26 commands are referred to as control cards. Unrecognized cards are
written to a *.hmx file.
ANTYPE
• Type, Status
/BATCH
• List
BF
• FLUE and HGEN labels are supported under the flux panel.
CE
/COM
CP, NSET
CSYS, KCN
D, NODE
DOF
EBLOCK
• N, SOLID
EBLOCK
EMORE
• Q, R, S, T, U, V, W, X
EN
EN
• R5.1, Type, NumN, I1, I2, I3, I4, I5, I6, I7, I8
EN
• R5.5, ATTR, #nodes, mat, secnum, esys, ele#, solid, death, exclude
ET, ITYPE
• Ename
• Where the ET card supports the following element types (both alphanumeric and numeric formats
are recognized, for example SHELL43 or 43):
1, 3, 4, 5, 8, 10, 12, 13, 14, 16, 18, 19, 20, 21, 22, 24, 25, 31, 32, 33, 34, 35, 42, 43, 44, 45, 48, 49,
51, 52, 53, 54, 55, 57, 58, 60, 63, 64, 66, 69, 70, 71, 72, 73, 75, 77, 78, 82, 83, 87, 90, 92, 93, 95,
96, 97, 98, 99, 143, 152, 169, 170, 171, 172, 173, 174, 188, 189.
EXPASS
• Key
• You can create or edit this as a control card
F, NODE
FINISH
IC, NODE
KEYOPT
LOCAL
• KCN, KCS, XC, YC, ZC, THXY, THYZ, THZX, PAR1, PAR2
• Even if KCN>10, HyperMesh adds 10 to the current value
MAT
• MAT
MODE
• MODE, ISYM
• You can create or edit this as a control card.
MODOPT
MP
MPDATA
MPDATA
MPTEMP
MPTEM
• N, SOLID
POST1
/PREP
PRESOL
REAL
• NSET
RLBLOCK
RMODIF
RMORE
RSYS
• KCN
SECDATA
SECOFFSET
SECTYPE
SOLVE
SFE
SFE
/SOLU
SOLU
TB
TBDATA
• STLOC, C2(i)
TBTEMP
• TEMP, KMOD
/TITLE
TOTAL
TREF
TUNIF
Card Previewer
The HyperMesh ANSYS interface includes the template, ansys.tpl. This template must be loaded
to display and edit ANSYS cards.
The ansys.tpl template supports the following ANSYS element types:
1, 3, 4, 5, 8, 10, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 28, 31, 32, 33, 34, 35, 42, 43, 44, 45,
46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 60, 61, 63, 64, 66, 69, 70, 71, 72, 73, 75, 77, 78, 82, 83, 87,
90, 91, 92, 93, 95, 96, 97, 98, 99, 143, 151, 152, 169, 170, 171, 172, 173, 174, 181, 188, 189
The templates also support the ANSYS CP card (rigidlink) and the CERIG card (rigid element).
The card image element names have been modified. The current names are the full ANSYS names.
For example, the name ETR42 has been modified to PLANE42. The elements are sorted by their
number.
The ESYS (Element Coordinate System) has been added to the element card previewer.
2. Select the template you want to use in the template file= field.
One or more of the following options can be used. Use the command hmansys –u to obtain these
options.
Flag Meaning
-d Displacements
-rf Reaction Forces
-rm Reaction Moments
-sx1 X Stress (T)
-sy1 Y Stress (T)
-sz1 Z Stress (T)
-sxy1 XY Stress (T)
-syz1 YZ Stress (T)
-sxz1 XZ Stress (T)
-sx2 X Stress (B)
-sy2 Y Stress (B)
-sz2 Z Stress (B)
-sxy2 XY Stress (B)
-syz2 YZ Stress (B)
-sxz2 XZ Stress (B)
-sx X Stress (max(T,B))
-sy Y Stress (max(T,B))
-sz Z Stress (max(T,B))
-sxy XY Stress (max(T,B))
-syz YZ Stress (max(T,B))
-sxz XZ Stress (max(T,B))
-ntemp Nodal Temperatures
-vonmises1 von Mises Stress (T)
-vonmises2 von Mises Stress (B)
-vonmises von Mises Stress (max(T,B))
-ps1t Principal Stress 1 (T)
-ps2t Principal Stress 2 (T)
-ps3t Principal Stress 3 (T)
-ps1b Principal Stress 1 (B)
-ps2b Principal Stress 2 (B)
-ps3b Principal Stress 3 (B)
-ps1 Principal Stress 1 (max(T,B))
-ps2 Principal Stress 2 (max(T,B))
-ps3 Principal Stress 3 (max(T,B))
-snx1 X Strain (T)
-sny1 Y Strain (T)
-snz1 Z Strain (T)
-snxy1 XY Strain (T)
-snyz1 YZ Strain (T)
-snxz1 XZ Strain (T)
-snx2 X Strain (B)
-sny2 Y Strain (B)
-snz2 Z Strain (B)
-snxy2 XY Strain (B)
In addition, the following parameters are also available when the results translation is not performed
on the analysis machine and when the results file is binary. One of these parameters may need to be
specifed to indicate where the analysis result file was created:
NOTE To use the mom_of_inertia template, create a planar area with shell43/shell63 elements
(quads and trias) in the x-y plane.
3. Click summary.
Creating Cards
Select the ansys.tpl template before creating ANSYS cards. To load the corresponding template,
enter the template name in the template = field on the global panel.
3. Click return.
4. Click return.
NOTE It is not possible to assign a system ID unless a coordinate system was previously
created.
2. Click nodes.
3. Click nodes and select a node by ID or pick the node from the model.
4. Click edit.
3. Click clear.
3. Pick the nodes for which you want to display the IDs.
4. Click on.
4. Click origin.
5. Pick the node that indicates the origin. (If the nodes are not visible, use the temp nodes panel to
add all nodes.)
8. Select the coordinate system type you want to create: rectangular, spherical, or cylindrical.
4. Click nodes.
6. Click systems.
2. Click the switch and select systs for the type of entity to be deleted.
4. Click delete.
6. Click create/edit.
8. Click return.
7. Click create/edit.
9. Click return.
4. Click name = and enter the name corresponding to the component collector for shell/solid
elements or pick the name corresponding to the property collector for 1-D elements.
6. Click create/edit.
8. Click return.
5. Click move.
2. Select the bar2 subpanel for both two-noded and three-noded beams.
The bar3 subpanel is for curved beam elements and is not supported for ANSYS.
3. Click property = and select a previously created property collector.
í Enter x = 1, y = 0, z = 0.
í Select z direction.
6. Click update.
7. Select property.
8. Click update.
4. Click node after independent: and select the node by ID or by picking it on the screen.
NOTE HyperMesh assigns an NSET ID to this rigidlink element. By default, this element is
assigned to the active component. You can create a new component and reassign the
elements to that collector.
4. Click config.
5. Select rigidlink.
6. Click edit.
HyperMesh displays the CP card in a separate panel.
NOTE By default, this element is assigned to the active component. You can create a new
component and reassign the elements to that collector. Update the newly created
rigid element to the appropriate dof set.
NOTE Unlike elements, the systems and forces do not have to be organized into collectors.
HyperMesh creates a system collector and a load collector and assigns the systems
and loads to those collectors. You can organize the loads into several collectors.
HyperMesh does not support surface loads on 1-D elements, with the exception of
SHELL51 type elements.
6. Click create.
The equation is displayed.
7. Click update and reassign the appropriate weights and dofs for each node.
í By vector - projects a vector on the element plane. A coordinate system, in which the x-axis
í is parallel to the defined vector, is created and assigned to the element as ESYS.
í The by system axis and by angle options are not available for this template.
• Visualization of the ply direction on a layer-by-layer basis. Visualizes the angles defined in the R
card with respect to the element orienation.
• Setting the values for a common property set (REAL constant set) for each pair.
• Creating new material for each pair or pointing the pair to an existing material.
• Reviewing the normal of the Target/Contact elements and flipping them if necessary.
• The Target/Contact body edges/faces are extracted automatically depending upon the model
type (2-D or 3-D analysis). For 2-D models, the target/contact elements are selected after
extracting the edges of the target/contact bodies (HyperMesh components). For 3-D models,
the target/contact elements are selected after extracting the faces of the target/contact bodies
(HyperMesh components).
• Appropriate target or contact components are created automatically with the selected target
or contact surface elements, respectively. The ANSYS Element Type (HyperMesh
component card image) is determined automatically depending upon the target or contact
body type.
• You may define both target and contact KEYOPTs by selecting them using toggles.
• A property collector (ANSYS REAL constant set) is created if the Target/Contact bodies are
2-D. Both the target and contact components point to this property collector.
• For 3-D Target/Contact bodies, the same real constant set (with same ID) is created at the
component level for both the target and contact components.
• You have the option of pointing the Target/Contact pair to a new material collector that is
created automatically, or you can point the pair to an existing material.
• You can review the normals of either the target element or the contact element, or both the
target element and contact element, while controlling the vector size. If the normals are not
pointing to each other, they can be flipped.
í The loaded model contains 2-D ANSYS PLANE elements or 3-D ANSYS SOLID elements.
For each Target/Contact pair, either first order or second order elements might be selected as
CONTACT bodies, but not both of them.
Note: This restriction does not apply for TARGET bodies because TARGE169 (2-D) and
TARGE170 (3-D) are both first and second order element types.
í Click retrieve.
í Click return.
5. Click on the Help button to access information regarding the current dialog.
See also