I am not able insert any command in the APDL command window. Print("invoking ansys with: ",callString)Īnsyscall = "C:\\Program Files\\ANSYS Inc\\v180\\ansys\\bin\\win圆4\\MAPDL. I installed APDL editor for workbench as extension and after that my APDL command window is empty. A SET,LIST Command window will open, displaying a summary of the. For example: /INPUT part1.anf /INPUT part2.anf /INPUT part3. In the ANSYS Main Menu, click Results Summary in the expanded General Postproc list. Note You cannot enter multiple files with an individual command you must use a separate command line for each file. # make the output file be the input file plus timestamp Command(s): /INPUT GUI: File> Read Input From. Returns the number of Ansys errors encountered in the run Using the number of processors in: numprocessors Using APDL executable invoked by: ansyscall I don’t show it here, but one can change the arguments to the APDL script by having the Python program edit either the body of the APDL script or its input files.ĭef runAPDL(ansyscall,numprocessors,workingdir,scriptFilename): To generate the appropriate options and paths for your machine, set up your solve using the ANSYS launcher and then display the command that it would invoke from “Tools –> Display Command Line.” Several command line options for ANSYS are hard-coded into this script. The example below includes a Python function that runs an APDL script and then checks the output file for errors. We often want to incorporate a finite-element solve into a larger program for design automation or optimization.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |