Beruflich Dokumente
Kultur Dokumente
APDL Commands
in WB
Eric Stamper
March, 2013
If you are a New York or New Jersey resident you will earn continuing
education credit for attending the full webinar, participating in the polls and
completing a survey at the conclusion of the webinar.
2
Combining ANSYS
APDL and
Workbench
MAPDL Solver
4
Input File Method
In Mechanical:
— Import geometry into Mechanical.
— Highlight Solution in the Outline.
— Tools > Write ANSYS Input File… and provide a name and directory to write
the file.
5
Input File Method
All finite element data currently defined in Mechanical will be written to the
input file.
— No geometry information is written.
— If not yet meshed, Mechanical will automatically mesh the geometry and then
write the node and element information.
— All loads and boundary condition information is written.
/batch
! ANSYS input file written by Workbench version 11.0
/config,noeldb,0 ! force off not writing results to database
*get,_wallstrt,active,,time,wall
! File used for geometry attach: D:\mike\workbench\workshops_2\flange.agdb
/com,--- Data in consistent BIN units.
/units,BIN
/nopr
/track,-1
/prep7
! Turn off shape checking because checks already performed inside WB mesher.
! See help system for more information.
SHPP,OFF,,NOWARN
/nolist
etcon,set ! allow ANSYS to choose best KEYOP's for 180x elements
/com,*********** Nodes for the whole assembly ***********
nblock,3
(1i8,3e20.9e3)
1 3.740157480E+000 0.000000000E+000 2.851055118E-001
2 3.941757521E+000 0.000000000E+000 2.016000408E-001
3 4.025262992E+000 0.000000000E+000 -1.745767762E-017
4 3.941757521E+000 0.000000000E+000 -2.016000408E-001
5 3.740157480E+000 0.000000000E+000 -2.851055118E-001
6 3.538557440E+000 0.000000000E+000 -2.016000408E-001
7 3.455051969E+000 0.000000000E+000 -1.745767762E-017
6
Input File Method
In ANSYS:
— File > Read Input from … and select input file.
Note:
— The input file includes a Solve command, but the solve is only performed if
ANSYS is run in batch.
7
Why Combine Interfaces?
— ANSYS strengths:
• Direct control on element types, individual nodes and elements
• All element types and options.
• Advanced features. (for example fracture mechanics)
• APDL Customization, macros, scripting.
8
Using ANSYS Commands in Workbench