|
[Sponsors] |
[ANSYS Mechanical] How get data from a probe using API scripting |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Tom Langshaw
Join Date: Aug 2024
Location: uk
Posts: 1
Rep Power: 0 ![]() |
I have automate a simulation using PyANSYS however I am struggling to find a way to extract information from a simulation using scripting commands. I can find no examples of how to extract information from a probe (the recording feature also does not record anything when doing it using the interface).
The current block of code I have written returns a zero value for any parameter stored for the probe. Code:
model = ExtAPI.DataModel.Project.Model analysis = model.Analyses[0] solution = analysis.Solution probe = solution.Children[3] probe.NormalZAxisStrain |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PostProcess Probe data of U.component(0) | Trailblazer_CFD | Main CFD Forum | 0 | June 1, 2024 04:12 |
Request for Guidance on Exporting and Updating CFD Data for 3D Reduced Order Models | romi | Main CFD Forum | 3 | May 31, 2024 16:47 |
Viscoelastic Fluid Flows using OpenFOAM The solver viscoelasticFluidFoam | jovani | OpenFOAM Running, Solving & CFD | 475 | January 13, 2023 08:21 |
save data output at specific point using probe | foam_noob | OpenFOAM | 0 | March 11, 2010 02:13 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |