-
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…
-
What are the keywords in the pyaedt-command analyze_setup(allowed_distribution_types=...)
Hello, I am trying to automate a Maxwell2D simulation using pyaedt. To do so, I have the command: M2D.analyze_setup(name="Setup1", use_auto_settings=False, num_tasks=10, num_cores=21,allowed_distribution_types=['Optimetrics', 'Transient Solver']). But it seems that the strings that command the allowed_distribution_types…
-
Is there any way to speed up the script for processing a 30GB .rst file using PyDPF ?
.rst file consists of transient analysis.
-
Download results after remote (hpc) job finished - FetchRemoteResults / Status
Hello. The aim here is to initialize downlaoding of results after remote job has finished (ideally given that no error has occured). While remote solving, Model.Analyses.Solution.Status returns Ansys.Mechanical.DataModel.Enums.SolutionStatusType.SolveRequired Unfortunately the same status is returned when the job has…
-
Result>Contact Tool
Can I select only arbitrary conditions? For example, is it possible to specify contact conditions between Part A and Part B?
-
How can I extract real and imaginary equivalent stress parts in a cyclic symmetry analysis?
I'd like to get an array of the SEQV values I get from PRNSOL,S,PRIN or /CYCPHASE,LIST after doing a stress phase sweep. I've tried using *VGET or *GET in a loop to retrieve the nodal values but MAPDL warns that the values are unprocessed (meaning not expanded). I've tried calculating SEQV from the base and duplicate nodal…
-
Mechanical addon issue
When I try to load two of my Mechanical extensions at the same time, I have the message in the logger : "An item with the same key has already been added" even if the guid in the xml are different between those two extensions. Would you have any idea what cause this error message? Thanks.
-
How can I promote imported connections to remote points in Mechanical?
I have a model with many imported connections (read from an external FE input file), how can I edit them and promote them to remote points in Mechanical via scripting?
-
Incorrect Surface Normal Stress in Harmonic Analysis with Structural Damping - ANSYS 2024R2
Incorrect Surface Normal Stress in Harmonic Analysis with Structural Damping - ANSYS 2024R2 Problem Description I have identified what appears to be an error in ANSYS 2024R2's implementation of harmonic analysis using the "full" solution method. The surface normal stress at a boundary does not match the applied pressure…
-
How can I modify a Chart in Mechanical?
Hello everyone, I want to modify a chart using Mechanical Scripting, and I managed to get the settings I wanted with this function: def postprocessing(): charts = ExtAPI.DataModel.GetObjectsByName("Chart") chart = charts[0] # Assuming there's only one chart chart.VisibleProperties[1].InternalValue = 5…
-
How can I get the centroid of multiple edges,
I have two questions below, * Is there a way to get edge loops similar to the “extend to limits” function? I need to use the counts in edge loops for further development. * How can I get the centroid of multiple edges, similar to the edges summary in selection information? I could use ExtAPI.UserInterface.GetPane to get…