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
 
Thread 'Turbocharging carbureted petrol 2 stroke engines'
Hi everyone, online I ve seen some images about 2 stroke carbureted turbo (motorcycle derivation engine). Now.. In the past in this forum some members spoke about turbocharging 2 stroke but not in sufficient detail. The intake and the exhaust are open at the same time and there are no valves like a 4 stroke. But if you search online you can find carbureted 2stroke turbo sled or the Am6 turbo. The question is: Is really possible turbocharge a 2 stroke carburated(NOT EFI)petrol engine and...
I need some assistance with calculating hp requirements for moving a load. - The 4000lb load is resting on ball bearing rails so friction is effectively zero and will be covered by my added power contingencies. Load: 4000lbs Distance to travel: 10 meters. Time to Travel: 7.5 seconds Need to accelerate the load from a stop to a nominal speed then decelerate coming to a stop. My power delivery method will be a gearmotor driving a gear rack. - I suspect the pinion gear to be about 3-4in in...
Back
Top