Questions tagged [ansys-apdl]

12 questions
2
votes
2 answers

Creation of keypoints in PyMAPDL around another keypoint

I am trying to create a wind turbine model in PyMAPDL. I got to a point where I have a tower and a nacelle. However, I got stuck making the blades of the wind turbine. They should be 3 and separated 120 degrees between them. To give you some…
1
vote
0 answers

How to replace the stiffness matrix in ANSYS Mechanical APDL?

It is necessary to perform a calculation for a one-dimensional problem with a jump (this is some constant given in the displacements). There is a rod with areas V1 and V2, a border between them. At the border, the nodes are double numbered. There…
Igoshechka
  • 11
  • 1
0
votes
0 answers

pyvista._vtk error. Bug located in mapdl.aplot()

Description of the bug I have a problem when I ran mapdl.aplot(show_area_numbering=True, color_areas=True) This is output of my problem There are something issue in pyvista._vtk when it try to import VTK9 Which Operating System are you…
0
votes
0 answers

How to minimize the .rst file size of a transient structural analysis in Ansys APDL?

I am running a transient structural analysis for a 600 secs time durarion, with a time step 0.1. The problem is that the .rst file is exceeding 1TB in size. From the expected results, I only need the displacement of a specific node and the von Mises…
0
votes
0 answers

Stress history In Ansys Mechanical APDL

I'm trying to get the stress history of an element, but when i define the variable with The ESOL command, ALL the The data is empty. I'm running a full transient analysis. Any gelo would be aprecciate. Thanks! I tryed to set the outres, ESOL, sites,…
0
votes
0 answers

Finding the crack tip location or crack path coordinate of a ANSYS Mechanical APDL simulation

I am dealing with a crack simulation using ANSYS APDL mechanical. For some purpose, I need to extract the location of crack tip under every substep of simulation. The simulation was done by 2D XFEM method. Is there any commands to find the crack tip…
0
votes
1 answer

Ansys APDL : use of the MVERT_6P function

I am decrypting an old ansys apdl code. This code uses the MVERT_6P function like this: MVERT_6P,A1,A2,A3,A4,A5,A6,'MR0_R1',PAS. I can't find any information about this function in the Ansys help. A1,2,3,4,5,6 correspond to 3D coordinate…
user917
  • 1
  • 1
0
votes
1 answer

AttributeError: 'MapdlGrpc' object has no attribute 'load_parameters'

Pyansys load_parameters (): Has the official API of parameters () been changed? If so, what has it been changed to? enter image description here When I ran the previous code, because the pyansys version at that time was very low (0.39.10), it may no…
qiancha
  • 1
  • 1
0
votes
2 answers

How to call an external program (.exe) after modal solution in Ansys MAPDL script

I'm trying to call a .exe file (Matlab routine) after a modal solution in an Ansys MAPDL script. Is there an APDL command for this?
0
votes
1 answer

ANSYS pyMAPDL output from string to array

I'm studying ANSYS pyMAPDL, following the tutorial https://www.youtube.com/watch?v=szHmg-xW_hM&t=1s It was understood from both the tutorial code itself and pyMAPDL documentation that prnsol returns a str object, but it has the enriched method…
0
votes
1 answer

ANSYS: Change working directory while executing a macro

I have a macro which creates a new folder in the current working directory while running it. Now what I want to do is as soon as the macro creates the new folder in the working directory, all the further files including .db and .rst should be saved…
koolraj09
  • 13
  • 2
  • 7