CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Solver: Autoshutdown (

pps July 1, 2013 05:48

Solver: Autoshutdown

Is there a possibility to let the CFX-Solver shut down the computer after he finished calculating?

JuPa July 1, 2013 06:05

You can write a simple batch script to tell your computer when the CPU usage is < 1% for > 10 mins then turn the computer off.

Unfortunately I don't know how to write batch files so can't help you with that. If you Google around I'm sure you'll find something.

ghorrocks July 1, 2013 07:50

You do not need to monitor the CPU. That is a very dodgy way of doing it, what happens if the CPU has a pause while saving a results file (as it commonly does) - your machine will turn off!

You simply have a batch/script file with the following:


cfx5solve -def whatever.def

That's all. When the solver run is completed it will then shutdown.

All times are GMT -4. The time now is 14:20.