-
How do you transform direction stresses to a different coordinate system in DPF
In a Python Result in Mechanical I want to get stresses in a cylindrical (or any other coordinate system). Is there a built in method to transform stresses?
-
Postprocess stress over profile length for each layer of a solid composite model.
I have a solid composite model created in ACP. I would like to post-process the stress over the profile length for each layer, so for example along the curved line that passes through these nodes:
-
Import Heat Flow tabular load using APDL Commands object
I have a Heat Flow table in .csv format, with the timesteps in the first column and the load values in the second column. How can I import this load and apply it to a Face in Mechanical using APDL commands?
-
Retrieve and export contact pressure results using APDL Commands object
How can I export contact pressure results using APDL commands in Mechanical?
-
Get DPF MeshScoping from APDL component name
How can I get a mesh scoping object in DPF given an APDL component name. Use case is for Mechanical post processing where I have the APDL component name defined in a command snippet, and I want to use those node and/or element values in dpf post processing.
-
Postprocess force on remote point from remote displacement
How can I postprocess the force reaction on a remote displacement boundary condition ?
-
Export data from a chart object to text or csv using Python
Hello, I am able to access the chart object using Python, but I am not sure what function will export it to a text or csv file. I checked the list of attributes, and none of them offer the "Export" of chart data. I am guessing since the chart object has a table, there should be some way to access it. Can someone point me…
-
Separate value from unit
In the following piece of code: solution = ExtAPI.DataModel.Project.Model.Analyses[0].Solution # reference solution results = solution.GetChildren(DataModelObjectCategory.Result,True) # get list of results in solution time=list() for result in results: time.append(result.Time) print(time) I get both value of time and unit…
-
How to get value in CAD Parameters to python variable?
Hello, can you help me to get value of highlighted parameter to python variable? Thank you
-
How can i scope a remote point as mobile/reference location of a spring?
Hi, i am trying to create a free standing spring that is not connected to a meshed body. I created two free standing remote points and tried to scope the mobile/reference location of the spring as i do with named selections, but that doesnt work. If i scope a named selection with the same code it works perfectly fine.…
-
Create a Python result to plot the node ID
Do we have an example of Python result to create a new field, assign the node ids to each node and plot this back to the Mechanical model ?
-
How do I parametrize a layered section?
I want to parametrize the angle and thickness of the plies in the Mechanical object "Layered Section". How can I do that?
-
Using ACT, how can I retrieve stress results?
Using ACT, how can I retrieve stress results?
-
In Mechanical scripting, how can I get the current solver directory (dpXX/SYS/Mech)?
I am using Mechanical scripting and would like to get the path to the solver directory for a given analysis. I want to know the location that is opened if I right click on the analysis branch and click 'Open Solver Files Directory".
-
Get successive elements with max user-defined result value.
I have a user-defined result (UDR)created in Mechanical. I'd like to select an element, and based on that starting point get the successive N elements with UDR value in the depth of the solid body.
-
Get successive elements with max stress in depth of structure
I'd like to select an element, and based on that starting point get the successive N elements with max stress in the depth of the solid body.
-
Using Mechanical Scripting, how can I export images of results?
-
Convert PlotData of User Defined Result to a DPF field and plot it
In Mechanical scripting, how can I retrieve the data from a user-defined result and plot it as a Python Result ?
-
How do I export path to a text file?
How do I export path to a text file?
-
Where do I find all the Quantities/Units supported in WB / Mechanical?
Where do I find all the Quantities/Units supported in WB / Mechanical?
-
Working with legends in Mechanical scripting
Can we change legend settings through scripting in Mechanical?
-
How do I export Tabular data of selected result objects to a CSV?
How do I export Tabular data of selected result objects to a CSV?
-
Body mass modification in Mechanical ACT
(I was about to drop this in SR but maybe it will be more useful in this public space.) We have a need for modifying mass of bodies in Mechanical. That is: mass that doesn't match the material density*volume. So my question is whether there is some way to implement this either natively (enhancement request) or using ACT?…
-
Get Centroid or coordinates of Remote points
Hello, I automatize join connections in my assembly. I wrote a script to create remote points on each of components. Now I would like to measure the distance between the remote points and identify corresponding pairs. However I have not found any property of Remote point giving me its centroid or coordinates. Do you have…
-
How can I compute a curvilinear abscissa along a non-straight path in IronPython?
Say I have an edge or set of edges in Mechanical which are not straight . How can I derive an abscissa to plot some quantity against?
-
Using ACT, how can I define the ContactRegionSelection to create a force reaction probe based on a c
Using ACT, how can I define the ContactRegionSelection to create a force reaction probe based on a contact region?
-
How to export animations of all modes with Mechanical
how to export all modes, or modes based on frequency, to animation files.