Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Workbench Job script on HPC Reply To: Workbench Job script on HPC

ErKo
Ansys Employee

 

 

 

Hi

First of all try to get RSM as this is the easiest way – talk to your University , but I do not think there is not a licence (RSM), and a cost for that as far as I know

Not that straight forward. You need to supply a script (.py) in the batch line using the -R argument:

 

runwb2 -B -F “D:\\OTHER\\sunbatch\\test.wbpj” -R ” D:\\OTHER\\sunbatch\\test.py”

 

The test.py can include the settings as :

https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/act_script/SolveProcessSettings.html

 

 

 

config2 = ExtAPI.Application.SolveConfigurations["My Computer, Background"]
x = config2.Default
y = config2.Settings.License
z = config2.SolveProcessSettings.ManualSolverMemorySettings.Workspace
config2.SolveProcessSettings.ManualLinuxSettings.UserName = "jane.doe"
config2.SolveProcessSettings.MaxNumberOfCores = 12

See here for more info:
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/act_script/SolveProcessSettings.html

All the best
Erik
[bingo_chatbox]