Python scripting for Ansys automation

preview_player
Показать описание
This is the first video of our channel. We have demonstrated the use of Python scripting for Automating Mesh setting, Application of Load and Boundary Conditions and Results. Upcoming Videos will demonstrate more complex execution in Ansys Mechanical using Python. Like, Share and Subscribe for Updates.
Рекомендации по теме
Комментарии
Автор

#Cantilver

Model =
Geometry = Model.Geometry
Material = Model.Materials
CS = Model.CoordinateSystems
Mesh = Model.Mesh
Analysis = Model.Analyses[0]
Static_Sol = Analysis.Solution

M1 = Mesh.AddSizing()
M1.Location =
M1.ElementSize = Quantity(1, "mm")


M1 = Mesh.AddSizing()
M1.Location =
M1.ElementSize = Quantity(1, "mm")

M1 = Mesh.AddSizing()
M1.Location =
M1.ElementSize = Quantity(1, "mm")

BC = Analysis.AddFixedSupport()
BC.Location =

Load = Analysis.AddForce()
Load.Location = ExtAPI.DataModel .GetObjectsByName("Load")[0]
Load.DefineBy = LoadDefineBy.Components
Load.XComponent.Output.SetDiscreteValue(0, Quantity(-500, "N"))


USUM =
Eqv =
UDIR =
UDIR.NormalOrientation = NormalOrientationType.YAxis

Static_Sol.Solve(True)

Arthurodur
Автор

Great video sir, without any unwanted things, you have directly shown how to do what to do... What we get.... Can you please show a video how to do explicit dynamics of a REPEATED DROP WEIGHT IMPACT TEST in Ansys workbench using coding sir?

shajimjamal
Автор

Very good. show an example of how to show the range of stresses. S1( time 2) - S1(time 1)

oleg
Автор

When are you coming back? I'm waiting for your next video with complex examples using python script

ShauriePvs
Автор

Can someone tell me if Python Code that is put in component tree have different rules than Scripting Pane? The code that works in scripting pane does not work as Python Code feature in component tree and everyone seems to be making tutorials about only scripting pane...

codemind
Автор

Please take a example where we can first use the command in one model & then use the same command for other model.

karthikpillai
Автор

how to include tkinter library in the ansys workbench ?

oleg
Автор

insane video can you share the script ?

Arthurodur