Skip to content

Start a sequence of APDL scripts in Workbench and solve them one by one automatically.

License

Notifications You must be signed in to change notification settings

achiocca1/APDL-WB-ssr-v1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APDL-WB-ssr v1.0

The sequential-script-running (ssr) starts a sequence of Ansys APDL simulations in the Ansys Workbench environment and solves them one by one automatically.

###########################################################################
######################## HOW TO USE THE SCRIPT ############################
###########################################################################

Run a series of APDL scripts automatically through these steps:
0- Put all the APDL scripts in a folder with ONLY the scripts inside (no other files are allowed!).
1- Open "Sequential_File_Running.py".
2- Under "USER DEFINED PARAMETERS" put as the directory (WorDir) the folder where you stored all the APDL scripts (point 1) and give a name to the project (NameProj).
3- Open Ansys Workbench.
4- Go to File -> Scripting -> Run Script File.
5- Run "Sequential_File_Running.py".


If you are interested in copying all or some files from the solution folders follow these steps: *This script allows you to create one folder for each simulation and then copy some results in it*
0- Open "Post_Process.py" with a python editor.
1- Under "USER DEFINED PARAMETERS" put as the directory (WorDir) the folder where you stored all the APDL scripts, provide the path of the folder where you want to save the copied results (NewWorDir), give a name at the project (NameProj) and write all the extensions you need to copy from the result folder (Ext).
2- Make sure to leave in the folder "WorDir" all the scripts used for running the simulation on ANSYS.
3- Run "Post_Process.py".

If you are interested in copying a specific type of file contained in the previously created folders follow these steps: *This script allows you to create one folder containing a specific file extension derived from the previous folders*
0- Open "Ext_Keeper.py" with a python editor.
1- Under "USER DEFINED PARAMETERS" put as the directory (WorKDir) the folder where you stored all the APDL folders deriving from "Post_Process.py". Write the extension of the files (Ext) you want to copy from the group of folders contained in "WorkDir". Give a name to the new folder (FoldName).
2- Run "Ext_Keeper.py".

Bug reports and suggestions are welcome! This software is regularly maintained.

Contact me at andrea.chiocca@unipi.it if you need assistance.

About

Start a sequence of APDL scripts in Workbench and solve them one by one automatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages