-
ATTENTION NEW USERS! READ THIS POST BEFORE DOING ANYTHING!
Hello all! Unfortunately the forum has recently been the victim of a spam attack, which you may have seen. We've got it under control but whilst we work to shore up the walls, so to speak, we have unfortunately gone into lockdown and you will not be able to post anything for a while. Please bear with us whilst we address…
-
New search functionality for the Ansys dev portal
Hello to our forum and portal users! We are very excited to be on the verge of rolling out our new unified search for the Ansys Developer Portal and Forums. This search will bring together the documentation and articles from the dev portal and posts and information on the forum into a new single search. Over time we will…
-
Welcome! Please Read Before Posting
Welcome to the Ansys Developer community! If you are using the developer tool packages with Ansys simulation tools then this is your community space. This community has been created to ask questions of your peers, exchange ideas, and converse about developer issues within an Ansys context. Here are some guidelines: Keep…
-
PyAEDT "export_report_to_csv" does not work
Hello, I'm automating some processes in Ansys Electronics and want to export the reports from my simulations to a .csv file. I used the code i wrote for that several times over the last weeks and everything was fine. however yesterday and today the exact same code doesn't seem to work on the same pc. I also tried it on two…
-
Creating Button in Workbench and Send Command to Mechanical
Currently, I’m creating a button in Workbench to execute a specific script. The script itself runs successfully (it creates a Static Structural analysis), but the Log window displays the message: “Extension is not properly installed” (as shown in Figure 2). I’m not sure which part of the current code is causing this error.…
-
How to set beam section results under Solution to Yes using scripting?
How to set beam section results under Solution to Yes using scripting?
-
How can we assign thickness to surface bodies automatically using scripting?
Say we have imported an external model and have hundreds of surface bodies not fully defined (missing thickness). Thus we just want to assign a shell thickness to these surface bodies to try things out (so to make sure model runs). Can this be done automatically via scripting?
-
Ansys DPF - Mapping to Coordinates
I am writing a script using DPF to map results to coordinates along a path. For a given path, I am discritizing it by 49 points. I then use these coordinates with FieldsFactory.Create3DVectorField to create the field. Then, using this field, I pass it to dpf.operators.mapping.on_coordinates() (see picture below,…
-
How to extract a list of all beams with their properties in my design using SpaceClaim Scripting?
I have a design in SpaceClaim that contains several beams, nested in components and subcomponents and I would like to extract a list of all the beams along with location and section properties for design validation.
-
How to remove files created by result object when analysis input is changed
Hi, I have ACT Result objects that using OnStartPost callback creates input.json files containing all input needed for calculations - it extracts input from .rst, Excel files and other Ansys objects. And then does all the calculations that are then saved to output.json. During Evaluate it only reads the output from the…
-
How to achieve parallel execution for syz simulation in Siwave UI using IronPython w/o interruptions
Post Description I'm facing a challenge with executing parallel syz simulations in the siwave UI using an IronPython script. I'm seeking advice on how to manage or eliminate interruptions during the process Script Functionality My IronPython script automates several key tasks necessary for setting up syz simulations: *…
-
Why is my siwave_ng syz simulation execution taking too long?
I'm encountering an issue with the execution of syz simulation using siwave_ng, and I'm hoping to get some insights or suggestions to troubleshoot this issue. Setup Overview: I have two scripts to automate my simulation tasks: autosim.py and main.py. autosim.py: * An IronPython script designed to configure the Siwave UI…
-
generalized inner product with tensor vs. matrix fields
I've a customer that reported an issue with the generalized inner product operator when using a tensor. He is trying to replicate a known example from https://www.continuummechanics.org/tractionvector.html, where a stress tensor is dotted with a vector to calculate a traction vector. The output when using a tensor is…