-
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…
-
Accessing "Contact Real Constant" via python
Is there any way to access and/or export a Contact's Real Constant value? I know I can export manually an Initial Contact Information object, but could I access this Worksheet with python / JS? I would like to filter Contracts by type and then read a Contact's Real Constant.
-
How do I extract skin mesh only on the inner liner of a hollow cylinder using PyDPF?
How do I extract skin mesh only on the inner liner of a hollow cylinder using PyDPF? The named selection IC1 is created in Mechanical, scoping the inner face of the Geometry.
-
How to plot vector arrow plot for contact force?
I want to visualize total contact force result by showing them as a vector plot instead of filled contour, how can I do that?
-
PyDPF-Core: How to Extract Contact Results from LS-DYNA INTFOR File?
Hello, I'm looking for some guidance on post-processing LS-DYNA contact results (INTFOR files) using PyDPF-Core. I'm trying to extract contact interface data (like contact forces/pressures), but I'm running into issues. Context: I have an LS-DYNA simulation, and I’m using the Python PyDPF-Core library to read results. The…
-
Nodal areas for ANSYS mechanical and LS Dyna post processing
Hello, I need to do nodal summation of certain result outputs like stress for a selected - shell - layered section (layer 4). In APDL for mechanical code like below works with arnode() function. How can I do this as a python snippet? I want to process LS dyna results and cannot use APDL script. *DO, i, 1, nsel_nodes nidi =…
-
DPF: How to get the element Ids from dpf mesh element indices?
Hi team, Is there an effective way how to get the element Ids if dpf mesh element indices are known? In the following code the skin mesh is created. One of the outputs provides the link between new skin element Ids with the corresponding 3D volume element indices. But how can I link these 3D volume element indices to the…
-
DPF question on layered shell data post processing
Hello, Code like below which seems to work to read maximum principal stresses in a named selection. However, my selection is shell181 with 5 layers, and I want to get the stresses only in layer 4. I was trying a few things based on…
-
In PyAEDT, how can I change all logger levels and prevent duplicate log messages in the console?
Here are what the logs currently look like in the console when I use the "Run PyAEDT Script" button in AEDT: As you can see, I'm getting a bunch of log messages that aren't relevant to the users of my script, and each message from AEDT is getting logged twice: once with the PyAEDT INFO: format, and once with the…
-
LS-PrePost: Documented Python command 'partofelem_id' don't work (runtime error)
Here all Python DataCenter commands for LS-PrePost are listed (page 183 and following): https://ftp.lstc.com/anonymous/outgoing/lsprepost/SCLexamples/lsppscripting.pdf But if you try my example inside LS-PrePost, you get the element connectivity but not the partID: "RuntimeError: There is no partofelem_id" import…
-
How to control the click of table type buttons on the ACT interface
I want to use code to click the 'Edit" button of the table. the class of table is "Worksheet.PropertyGroupEditor.PGEditor"