CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Fluent job does not stop when submitting it via qsub (https://www.cfd-online.com/Forums/fluent/122141-fluent-job-does-not-stop-when-submitting-via-qsub.html)

majinsaha August 13, 2013 05:35

Fluent job does not stop when submitting it via qsub
 
Hello!
When I run transient Fluent case file in batch mode and the calculation fails due to divergence or some other issues, the execution stops by itself, which is fine.
The command I use is
Code:

/share/ansys_12.1/v121/fluent/bin/fluent 3ddp -g -t30 < command_script >& outputfile &
However, when I submit my calculation to the queue using command qsub, I don't see my job stopping even after the divergence. I check the Fluent log file (outputfile ), it is filled only until line "Divergence detected in AMG solver: temperature" and nothing happens after, although I expect to see some message concerning floating point exception, as it was previously. I have to stop the job myself by typing qdel command.
How can I make the job stop on its own in case of divergence or exception, as it normally should do?
The command I use inside qsub file is
Code:

/share/ansys_12.1/v121/fluent/bin/fluent 3ddp -g -t$NCPU -cnf=$PBS_NODEFILE -pib -i command_script 2>&1 > outputfile
with $NCPU and $PBS_NODEFILE defined in qsub file earlier.
Thanks.

sampathevs August 13, 2013 05:59

This divergence in AMG solver is a common case. Change your pressure solution method to standard and run. After trying, post how it is.

majinsaha August 13, 2013 06:07

Thanks for advice, I may use it, but my question was different.
How do I make qsub stop in case of divergence?

And what do you mean standard? Is it density based type? Will it be good for two-phase VOF simulation, in which one fluid is copmpressible and the other is not?

blackmask August 13, 2013 07:23

Put
Code:

/file/set-batch-options no yes no
in your command script.

In fact the only the second "yes" matters.

majinsaha August 13, 2013 07:28

Quote:

Originally Posted by blackmask (Post 445397)
Put
Code:

/file/set-batch-options no yes no
in your command script.

In fact the only the second "yes" matters.

Well, in my command script there has been always
Code:

file/sbo yes yes no
As you see, there is second "yes" there. Which means exit on error. Problem is, the job does not reach to the point when Fluent realizes there is error, although it's very close to that.


All times are GMT -4. The time now is 21:41.