Discussions about developer tools, engineering simulation, and physics for Ansys software.
Tool-specific discussions, relating to developer tools within Ansys' engineering simulation packages.
Language help, reference questions, errors and troubleshooting, a "second set of eyes"? Here's your place to discuss anything programming related/
Important information about the Ansys Developer Ecosystem.
Hello, I would like to update one mesh with another mesh using a PyMAPDL command. Specifically, I have a .db file that I'll load using the PyMAPDL command mapdl.resume(). After loading it, I save the mesh as a new parameter, let's call it original_mesh. Next, I make some modifications to node locations using the mapdl.n()…
Hello, Is it possible to plot the stress values of my model at certain coordinates (theoretical weld transition) in Mechanical? The coordinates result from the joint lines of two plates and a defined evaluation distance to the joint lines. Thus, they usually do not lie exactly on a node, but can also lie in the middle of…
How can I remove all boundary conditions with PyAEDT script? In AEDT GUI, I can right click on the "Thermal" in the "Project Manager" panel and select "Delete All" in the context menu. All boundary conditions is then removed in a second. Is there a function in PyAEDT?
I'm trying to create a Workbench Mixed Wizard, to analyze a simple cantilever beam. I managed to make the geometry generation script to work for any SpaceClaim instance I open as standalone. Although, when it's part of a step of a Wizard, I get the following error: I feel like I should import the SpaceClaim scripting…
When using DPF to extract stresses are the values returned in the global system, or the local element system?
How can I get the centroid of a surface and show it in a dialogue box?
How can I create a Group/Named Selection inside SC from selected faces that are obtained by the small faces tool?
I have integrated the Ansys Viewer into one of the Ansys web application, and it is using OptisLang as a flagship product. Now I have FMOP data to visualize my CAD file in the Python 3D viewer, but I want to visualize it in the Ansys viewer. As Statics of Structure (OptisLang tool) does not have the facility to convert…
I am currently working with a model that has a "surface coating" applied in Mechanical and trying to pull results using the DPF. Essentially it appears the DPF is pulling two different element shapes from my selected mesh ids (most likely both the 3D elements on the part and the 2D shells created by the surface coating).…
Can you provide an example of using the materials module in Mechanical?
for rotating the stress tensor I use the dpf.operators.geo.rotate function with an op.inputs.fields_container and an op.inputs.coordinate_system for an rotation field the problem is, the rotation is just performt for the first entry in the rotation field, not used as a field as I expected. Use case is getting stress in a…
This is an example of how to make an embedded side-panel of user controls for inputs, geometry selections, tree object selections, file selection etc.. You can then take these inputs to run routines on this user-defined data via buttons.
I am validating one of my models for a 20Ah battery. I am giving a 1 C rate discharge and want to check the discharge characteristics plotted as cell voltage vs battery capacity in Ah. I cant figure out how to make this plot in fluent. I am using the ECM model btw. I also want temperature to be plotted along capacity.
First, I had a problem while importing forces from Ansys Maxwell to harmonic response. Then, I read an article on customer support portal which instructed me to download a python script an then run it, which will generate an excel sheet containing all the moments and…
This forum is a Vanilla forum, and we USED TO use the Vanilla "rich editor*", however, it can be a little unclear how to use it initially. How do you use it? *We have moved to using Markdown and a simple ribbon.
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…
You are not currently signed in. Registered users can post questions and answers, and are allowed access to restricted areas. Sign in or register here!