Can APDL be used in Mechanical for scripting in Ansys Workbench?

AI Thread Summary
APDL can be used in Ansys Workbench for scripting, but its integration with Python is not straightforward. Users can utilize JScript alongside Python's sendcommand() for geometric modeling, although the specifics of using APDL within Python remain unclear. Recording a journal in Workbench captures operational details but does not explain the underlying processes, such as what occurs during "geometry1.Edit()". Understanding these functionalities is crucial for effective scripting in Ansys Mechanical. Further exploration of APDL's capabilities within the Workbench environment is necessary for comprehensive scripting knowledge.
mechcrazy
Messages
7
Reaction score
0
I am required to do scripting in ansys workbench...i know python, jscript and APDL can be used for this...now how do we really use them?

jscript can be used with help of sendcommand() in python for geometric modelling...can we use APDL in python?

In Mechanical(formerly simulation) can we use APDL?

We can record journal in workbench but it only give the details of operation performed...
e.g.
journal will show
# encoding: utf-8
SetScriptVersion(Version="13.0")
template1 = GetTemplate(
TemplateName="Static Structural",
Solver="ANSYS")
system1 = template1.CreateSystem()
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit()
geometry1.Exit()


but what really happens in "geometry1.Edit()"?
 
Engineering news on Phys.org
I want to know this too
 
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
Thread 'Physics of Stretch: What pressure does a band apply on a cylinder?'
Scenario 1 (figure 1) A continuous loop of elastic material is stretched around two metal bars. The top bar is attached to a load cell that reads force. The lower bar can be moved downwards to stretch the elastic material. The lower bar is moved downwards until the two bars are 1190mm apart, stretching the elastic material. The bars are 5mm thick, so the total internal loop length is 1200mm (1190mm + 5mm + 5mm). At this level of stretch, the load cell reads 45N tensile force. Key numbers...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Back
Top