Replies: 2 comments 2 replies
-
You can try to use this older runopenradioss.py attached here, from before it was added to the official tools and made more integrated to the gui You need to put it in a folder at same level as exec/openradioss_gui etc it should run all engines present in the folder where the starter is (unless the ‘starter’ flag is set to ‘yes’ The vars/syntax for input are:
So e.g. OLDrunopenradioss.py jobname_0000.rad 1 1 dp no no yes no Or in a batch script: e.g. "C:\Program Files\Python312\python.exe" "C:\OpenRadioss\SIMPLESUB\OLDrunopenradioss.py" C:\Temp\Test_Run_0000.rad 1 1 dp no no yes no Would run with nt 1, np 1, double precision, no vtk, no csv, starter only, no d3plot It requires an input for every field, but you ought to be able to modify it if needed it also looks for mpi path in the path_to_intel-mpi.txt if you have an install, you can fill that in there |
Beta Was this translation helpful? Give feedback.
-
It needs to be in a folder in your OpenRadioss main install folder at the same level as the 'exec, extlib, hm_cfg_files' etc folders, it looks like you don't have the solver itself installed under 'ORtools'? e.g. this is my structure, I put the OLDrunopenradioss.py in the SIMPLE_SUB folder, but it would also work from openradioss_gui folder if I put it there. If you are downloading the source code from Tools as you show, rather than the packaged installation executable, then the openradioss_gui that is located under Tools as you have it would also need to be moved for that to work (but you don't need to do this if you aren't going to use the gui) |
Beta Was this translation helpful? Give feedback.
-
Hello all you smart people!
I am working on a project, where I need to run loads of smaller OpenRadioss simulations. I would like a way to automate the run process in Python, such that I do not have to rely on the gui. Being able to make a couple of changes to my run files ("_0000.rad") and execute the solver within Python would greatly increase the simplicity of this
I was looking into implementing this myself, but I wanted to ask if anyone has any experience with this issue. Perhaps there is a very simple fix I'm missing or someone has a similar script. Any help would be very appreciated to be sure.
I've already implemented any mesher and run-file editors I will need, in Python. All I'm missing is the script that executes the solver.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions