-
-
February 11, 2024 at 11:23 pm
mkhademi
SubscriberHi everyone,
I know that the syntax for Rocky in batch mode is something like thisÂ
Rocky --simulate "project.rocky" --resume=0 --use-gpu=1
but what about when you want to assign some cpu cores (40 cores for example) to Fluent and use one GPU for Rocky in a two way coupling?
-
February 15, 2024 at 12:05 pm
Lucas Bertollo Baggio
Ansys EmployeeÂ
Â
Â
Helo mkhademi,
Â
You should assign CPU cores for the Fluent through Rocky interface in CFD Coupling | 2-Way | Fluent | Solver Processes.
This can be done via API:PrePost with a script, that you can run to finish your setup and then simulate your (existing) project, both in batch mode.Â
Â
FOR EXAMPLE
Â
Rocky.exe --script "script_name.py" --headless "project.rocky"
Rocky.exe --simulate "project.rocky" --resume=0 --use-gpu=1Â
You may check on Section 7.4.4–Use the Command Line to Process a Simulation–of the User Manual (that you can access from Rocky Menu | Help | Manuals | User Manuals) for more information.Â
Kind regards,Â
Lucas
Â
Â
Â
-
- The topic ‘How to assign CPU or GPU to a two-way coupling of Rocky-Fluent in batch mode’ is closed to new replies.
-
3597
-
1283
-
1107
-
1068
-
983
© 2025 Copyright ANSYS, Inc. All rights reserved.