-
I signed up but I can't post because of a "Permission Problem", how can I fix this?
So I came here to post a question, but I logged in and now I can't post? I get this error Who do I need to talk to to get this fixed?
-
What do you think of the forum? We want to hear from you!
Hello Everyone! The Ansys Developer Forum has been in operation for some time now and we want to hear what you (non-Ansys users) think of it. If you have any feedback on how things could be developed further, areas you think could be improved and how useful the site has otherwise been for you and your company please please…
-
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…
-
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…
-
How can we automatically (say via mechanical scripting) create directional point masses?
How can we automatically (say via mechanical scripting) create directional point masses, say by first reading some data from a csv file (where the first column in that file gives the named selection to scope to, and the other columns contain the directional mass in x, y , z respectively for that point mass - so every row…
-
What is the correct approach between Merge and Share Topology, and how does each option affect:the p
Hi, In my current FEM model, the substrate is modeled as a solid block, and another layer is created on top region of the substrate to define a separate body with a thickness of 5–25 µm. The two bodies are geometrically in contact and form a common interface.In SpaceClaim, I see the options “Merge” and “Share'' Topology.…
-
How can we define body to ground springs from a named selection (vertex) using scripting?
Say we have a named selection containing vertices, and we want to automatically define body to ground springs using scripting?
-
Failed to preprocess Swan Test model
Hello, I am having an issue with Ansys Scade One. When running the simulation, the following error appears: Unable to build simulator files Failed to preprocess Swan Test model Groups – Invalid connection of instance No errors are shown in the modules, blocks, or connections in the editor. I would like to note that I have…
-
Question about the FEA Paths function
I am wondering how to check the FEA Paths result on each time step. I do not find any settings to display the sampling result by time step. I change the current timestep in FEA result scene, but when I open the Graph Viewer to check the path which I created, the result do not change at all, even I refresh the list. And, I…
-
Can I export the result of magnetic vector potential on each mesh?
-
Can you provide an example of using the materials module in Mechanical?
Can you provide an example of using the materials module in Mechanical?
-
How can we write some tabular result data to a file , where each result type is next to each other?
Say we have several different result objects and each of them are time dependent. We want to write some tabular result data to a file. Each result object results data should come next to each other, so if we have 4 columns per results object and 2 result objects (say displacement and stress), then the second stress result…
-
Is there a way to automatically format a script for reporting?
Hello everyone, I have an Ansys Mechanical (24R2) project that uses a bunch of scripts. As they are fundamental to the information that is generated, I would like to add them to a project report, and have this be as accessible as possible to its readers. In the scripting editor, the script is given colors to make it more…
-
How can I generate python results for every time step?
An excellent question. If you have a model with multiple time steps you can use a python code object to grab the time and create a unique python result. The python code object script example below will get the time steps: #analysis = ExtAPI.DataModel.Project.Model.Analyses[0] steps = analysis.AnalysisSettings.NumberOfSteps…
-
Get tabular data information
I want to retrieve information from the tabular data of a load or a result in Mechanical
-
Modify number of steps and step end time by reading an Excel file
How to modify number of steps and step end time by reading an Excel file?
-
How to get Damage Matrix in nCode GUI?
DesignLife embedded Add-On, available in Mechanical, allows to plot the Damage Matrix of a node. Is there any way to get the same plot in nCode GUI?
-
Define imported body temperature
I want to automate inserting an Imported Load / Imported Body Temperature in Mechanical, importing a comma separated text file and specifying that the first two columns are coordinates and all other columns are temperatures.
-
PyAnsys - How to get node deformations/displacements fast?
Hello, is there a way to access node displacements with PyAnsys without querying each node individually? For large models it takes a very long time due to the loop. Does Ansys offer the option of querying the displacements of all nodes directly , e.g. as array or list? Or are there other suggestions to speed up the…
-
Modify data for imported body temperature
I have created an Imported Load /Imported Body Temperature object in Mechanical: I would like to modify the magnitude, analysis time, scale and offset value for this imported load, for all time steps: The values I would like to use are placed in columns of an Excel file.
-
Using an Excel file to modify a model setup in Mechanical
I've developed this tool that demonstrates how to use an Excel file to modify a model setup in Mechanical. It is available on the Ansys Github, on this link: https://github.com/ansys/ACE-demo-excel_template_for_mechanical_model_setup This repository provides the code to a demo of using an Excel file to modify a model setup…
-
How to plot on a Named Selection of Nodes in PyDPF core
I want to create a plot like this: Where the mesh not associated with the results is translucent or trans parent. All I can get with DPFPlotter is this: It should not be so difficult to plot results scoped to a named selection
-
SpaceClaim script to list component/body suppress-for-physics status
Hello, I'm trying to make a script to list all the components / bodies and their suppress-for-physics status (true or false) in a SpaceClaim model. But the suppressed body still shows suppressed = false status. Would somebody be able to point out what's wrong about my script? # Python Script, API Version = V242document =…
-
How to set probe label colour according to legend colour with scripting?
The user wants to automatically change the colour of probe labels to match the colour of the corresponding value of the legend for a result plot. Like in the image below:
-
Static Structural Connections Quesetion
Currently have a two piece model. * Base "table" piece that is rigid and has been modeled as such * Bracket piece that is attached to the base structure and is to be assed for forces and how it reacts/stress Current have contact surfaces as shown in images below between the hooks on the bracket which connect to the studs…
-
DPF in Mechanical for topology optimization
Hi everyone, I would like to ask if there is a way to access displacement results from topology optimization in Ansys Mechanical using Python (assuming hdf5 file result). I am able to retrieve the displacement results successfully when working with standalone PyDPF, but I have not been able to achieve the same within…
-
How to activate Influence Volume?
Under Face Sizing, how can we activate this advanced option?
-
pyMAPDL MapdlDidNotStart error on HPC
Hello, I am getting the following error when trying to run pyMAPDL on my university's HPC system. CRITICAL - - logger - handle_exception - Uncaught exceptionTraceback (most recent call last): File "/home/amia0004/scratch/conda/envs/fsi/lib/python3.11/site-packages/ansys/mapdl/core/launcher.py", line 570, in…
-
Im having troubles whenever i want to debug in Scade One, Can any one help me out?
I've been using Ansys Scade v241 with no problem whatsoever, but recently i've downloaded Ansys scade One, im just trying to get through the tutorial, but whenever I need to Debug, it throws me the shown error. I get that maybe a problem could be that my username is 'Benjamin Villafuerte...' and the space in between may be…
-
How do I use Mapping Workflows with PyDPF?
How do I use Mapping Workflows with PyDPF?
-
How do you access the node numbers for a Beam Connection with ACT?
I can use the following to get the element number that's written to the ds.dat file for a beam connection object, but how do you access the node numbers? beam = ExtAPI.DataModel.GetObjectsByType(DataModelObjectCategory.Beam)[0] Analysis = Model.Analyses[0] SolverData = Analysis.Solution.SolverData BeamData =…
-
Issue in Results and RST File After Using Remove API in ANSYS Mechanical Tree
The Python code executes successfully; however, post-execution issues are observed in specific analysis types. For Static Structural analysis, the plot legend changes automatically, and the result contours appear only in red or blue, deviating from the original color scale. For Electro-Thermal (ET) analysis, the result…
-
STK 4.2: Handling of Pure Line Breaks in LTXT Attributes
Hi Guys, First of all a happy new you to all of you! :smile: I just stumpled across some weird behavior of MI, but I'm not absolutely sure whether to blame MI oder STK for it =D Let's have some long text attribut containing just a line break without anything else. It'll will look pretty inconspicuous in MI Viewer: However,…
-
Is it possible to extract a BoM from Mechanical as an XML file?
For BoM analytics in Granta, an XML file containing the relevant information (part, quantity, material, volume) is required as input. To automate the workflow, I would like to know whether it is possible to extract the BoM from Mechanical—either using pyAnsys or another approach—in XML format, so that it can be read by…