GithubHelp home page GithubHelp logo

achiocca1 / apdl-wb-ssr-v1.0 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 41 KB

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

License: GNU General Public License v3.0

Python 100.00%
ansys-apdl solver ansys-workbench

apdl-wb-ssr-v1.0's Introduction

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 [email protected] if you need assistance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.