Beruflich Dokumente
Kultur Dokumente
• Problem definition:
– Create a clampLoad extension
LS-3
LS 2
LS 3
– One can use the IronPython console extension to interactively explore the desired
commands
• These commands can then be implemented in the extension’s functions
– Include desired messages for the log file in the Python functions
XML
• Need a button in toolbar for
the ‘clampLoad’
• Details of the load:
– Scope to Geometry or
Named Selection
• Only allow edge selection
– A load step selector
– Displacement with
appropriate unit
Python
• Create the load under analysis
• Insert the desired APDL
commands to ‘ds.dat’ during
runtime
1. Collect the user inputs
2. Convert the user inputs to
APDL commands
3. Reuse the APDL commands
for applying the load using
the user inputs
8 © 2011 ANSYS, Inc. December 3, 2012
9 © 2011 ANSYS, Inc. December 3, 2012