Function based application of loads/boundary conditions in PyMAPDL #1484
-
Hello Community, I am performing a PyMAPDL thermal analysis. The loading and BCs should be applied in the analysis on the chosen set of nodes based on the dedicated mathematical functions with variables in space and time domains (X, Y, Z, t). I have done it in the MAPDL through the function editor tool which gives me a TABLE and it has been applied through *DIM and *SET commands. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @shekhars85 well, you can do this several ways. If you have the table and load in an APDL input file you could use the convert utility to convert it to PyMAPDL format and just copy/paste to your existing PyMAPDL model. Or you can code this up from scratch in the PyMAPDL script and use the load_table function to send the data as a (load) table, then use that table in a load definition. See the "Lathe Cutter" model here for a simple example: https://mapdl.docs.pyansys.com/examples/index.html Mike |
Beta Was this translation helpful? Give feedback.
Hi @shekhars85 well, you can do this several ways. If you have the table and load in an APDL input file you could use the convert utility to convert it to PyMAPDL format and just copy/paste to your existing PyMAPDL model.
Or you can code this up from scratch in the PyMAPDL script and use the load_table function to send the data as a (load) table, then use that table in a load definition. See the "Lathe Cutter" model here for a simple example:
https://mapdl.docs.pyansys.com/examples/index.html
Mike