-
Why is there a discrepancy between the mold flow tensor and the rebuilt global Tensor of Ansy s
Hello everyone, I have a question regarding element orientation from injection mold data mapped on the ansys mesh. I simulated with this data and I got some euler angles as you can see here below. [87.893,-5.402,89.805] Then, I tried to reconstruct the global tensor coordinate system from the local eigen value and euler…
-
Centroid of elements
I have 11 elements after meshing, I need the centroid location of each element in a list or file format for using it later. Can someone provide me with the APDL code?
-
Transfer convection coefficient and ambient temperature data from csv to Mechanical via PyMechanical
I have data in csv and want to replace the convection coeff and ambient temperatures of convection boundary conditions in my mechanical model with the values in csv. How can I do this in PyMechanical?
-
How to export Time History tabular data of Force Reaction in Mechanical as a csv file?
I have several Force reaction objects in Mechanical and I want to export the time history for each Force Reaction object as a separate csv file which should have the columns Time, Fx, Fy and F_Total
-
Getting issue while invoke callback in separate thread in ACT
Hello, In ACT for Mechanical Context, I have a callback which is called on the button click implemented in XML: <callbacks><onclick>run</onclick></callbacks> The run() routine is initialized in .py file as run(context) In such a case, the button is being pressed during the runtime of ACT, and UI is suspended. It looks…
-
DPF: time scoping in non-linear plastic structural analysis
I am new to the pyANSYS framework. Using ANSYS 2023 R2. I am running DPF in ANSYS Mechanical and post processing a structural non-linear plastic analysis with 200 substeps. I'm trying to scope my results in the time domain to the specific time that my max plasticity occurs. I do this with the following function and it kind…
-
How to set Path and Geometry scoping when defining Result object with Path as the scoping method
How to set Path and Geometry scoping when defining Result object with Path as the scoping method
-
how to get elements based on element name IDs using ansys mechanical scripting?
for example, if I want to get all the elements of CONTAC174 of ename, how do I get it?
-
How can I filter Analysis loads/results for custom ACT Solver in Ansys Mechanical?
Hi! I'm implementing a custom ACT solver for the ACT extension I am developing in Ansys Mechanical during my Ph.D. My custom ACT solver connects to a Static Structural system (just like nCode DesignLife, see image below) and implements a custom analysis routine I developed. Up to now, I managed to implement my custom…
-
Ansys mechanical scripting. How to get Element type ID's using mechanical scripting?
This figure is taken from the worksheet tab. I'm trying to use mechanical scripting to get the element type ids for element names I'm interested in. For example, if im interested in SOLID 187, I'd like to get the element type ID's for all solid187 using mechanical scripting.
-
Get max stress values at the nodes instead of averaged
Hi, I am currently working on developing a Python script model in which an rst file will be read through dpf reader (dpf.Model(rst_file)) and get the nodal stress values. But, the problem here is that the nodal stress values should not be the averaged ones but the maximum among the element contributions. I mean let's say…
-
Cyclic symmetry with Bonded Contacts
Hi, it would be appreciated, if any one can clarify for the below query. 1) Do cyclic symmetry work with open joints and the contacts between them being bonded? (Figure). 2) Furthermore, do the hoop continuity stress affects both the components due to the bonded contacts (as it behaves as a continuous component) in Cyclic…
-
How to read total deformation results for harmonic analysis in MAPDL?
At a particular frequency and particular phase angle, I get one total deformation result in WB Mechanical. I read the same .rst file in MAPDL and I see the results for the same frequency and phase angle, to my dismay, I observe a different result in MAPDL. For example, for 73.859Hz and 20°, I used SET,,,1,3,73.859,20,, in…
-
How does WB Mechanical calculates total deformation for harmonic results?
At a particular frequency and particular phase angle, I get one total deformation result in WB Mechanical. I read the same .rst file in MAPDL and I see the results for the same frequency and phase angle, to my dismay, I observe a different result in MAPDL. For example, for 73.852Hz and 20°, I used SET,,,1,3,73.859,20,, in…
-
PyMechanical example for " how to access parameter of ANSYS mechanical"
I want to use pymechanical for the remote session and access the parameter of that ANSYS Workbench Mechanical file and again solve it on remote.
-
Multi stage cyclic symmetry models
Hi, I need to work on multi-stage cyclic symmetry models in Ansys. Can anyone please guide me on how to start? Also, are there any available learning materials or tutorials on this?
-
Export Deformed Mesh for Harmonic Analysis
I want to export the deformed body mesh at a particular frequency and particular phase angle for a harmonic analysis as a .cdb file. Harmonic Analysis - Ansys Mechanical 2021R1
-
APDL solve exit command?
I manage a custom creep module linked in via usercreep.F It currently includes functionality to stop a solution when a creep limit value is reached via the erhandler function. However I gotten requests to see if it is possible to exit without error so that post processing commands are run. I tried the systop subroutine,…
-
Selecting an element/node by its Id, how to find which body the element/node corresponds to?
I have an element id, but I need the body to which the element corresponds to. In general, I have a named selection with all the elements of a body. I need to find out to which body the elements correspond to in the assembly.
-
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".
-
Using Mechanical Scripting, how can I export images of results?
-
Is it possible to use the DPF out of an ACT extension?
(Ansys Mechanical 2022 R2) Is it possible to insert a postobject with the DPF and not use the collector in an ACT extension?