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

Click For 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
 
Had my central air system checked when it sortta wasn't working. I guess I hadn't replaced the filter. Guy suggested I might want to get a UV filter accessory. He said it would "kill bugs and particulates". I know UV can kill the former, not sure how he thinks it's gonna murder the latter. Now I'm finding out there's more than one type of UV filter: one for the air flow and one for the coil. He was suggesting we might get one for the air flow, but now we'll have to change the bulb...

Similar threads

  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 7 ·
Replies
7
Views
16K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
12K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
2
Views
7K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 5 ·
Replies
5
Views
5K