




The trick was using the correct launcher log commands to manually enable "SMP". I tried to use the /PSCONTROL (/PSCONTROL,ON) apdl command in the hope of getting the issue solved but this didn´t work as well.ĭoes anyone of you has an idea how to solve this issue? However, if I run the script from python, it does not! Now, the clue is, if I run the script from Ansys Classic directly via import file, it all works fine. Now, I´ve already read in some discussions that setting the product launcher to "Use Shared-Memory Parallel (SMP)" and I did that. The label STRAIN_E is of course the varibale I declared to be stored with SENE. Item SENE has not been stored in the database. When calling the script from python the strain energy, I want to get with sene, is not callable and this error occurs in the file.err: This input file is a apdl command script. I am calling Ansys MAPDL.exe with an input file from Python. There, you can search matid and find its value.Hi, I have a very similar issue. You can also right-click on "Solution", -> "Open solver file directory", there is a ds.dat file which is the input file. However, to make the model run, you still need another line to define the section area, like this:Īfter you run the simulation, you can check the "Solution information"-> "Solver output" whether you have correctly defined the element type. It is routinely used in performing parametric design analysis, automating workflows, or even in developing vertical applications for industry-specific problems. The third row defines a section type, which defines a LINK section type, and the type id is MATID. Ansys parametric design language (APDL) is a scripting language that is used to communicate with the Ansys Mechanical APDL program. However, LINK180 does not have keyopt(3), it only has keyopt(2) and keyopt(12) according to Ansys documentation I linked below. It is used to change some element related properties. The second row is to change the key option of the link element. What it does is to change your beam element type to "LINK180". The first row of command means defines an element type (ET). If you insert a command snippet to a part in Mechanical, in the comments of that snippet, you can see that MATID is the "material number used for this body". Hopefully, this response is not too late.
