CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

How to interrupt SU2 during a computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2014, 04:08
Default How to interrupt SU2 during a computation
  #1
New Member
 
Alexandre Sapet
Join Date: Jun 2014
Posts: 3
Rep Power: 12
alexandresapet is on a distinguished road
Good morning,

I am actually programming a tool in Python that integrates SU2.
I would like to read the history file during a computation and, based on this information, interrupt the computation.

Is there some built-in function that could allow me to do that properly ?

Thanks,
Alexandre
alexandresapet is offline   Reply With Quote

Old   October 20, 2014, 14:27
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by alexandresapet View Post
Good morning,

I am actually programming a tool in Python that integrates SU2.
I would like to read the history file during a computation and, based on this information, interrupt the computation.

Is there some built-in function that could allow me to do that properly ?

Thanks,
Alexandre
Thank you for your interest in SU2.
First of all, you may find it useful to reference the SU2 python scripts in the SU2_PY folder (if you are not already doing that)

My suggestions would be to either kill the SU2 process and restart from the most recent restart file with the number of iterations needed, or to modify the source code with a new convergence criteria which provides the functionality you need.
hlk is offline   Reply With Quote

Reply

Tags
computation, kill, python, script, su2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2 Parallel Computation problem Gramanzini SU2 5 September 29, 2018 13:32
Parallel computation problems with SU2 3.2 akun646 SU2 2 July 19, 2014 13:04
parallel computation with SU2 V3.2 454514566@qq.com SU2 1 June 24, 2014 21:46
Tool to download: SU2 post-processing Combas SU2 2 June 5, 2014 15:55
SU2 Parallel Computation pdp.aero SU2 Installation 5 June 19, 2013 15:02


All times are GMT -4. The time now is 01:33.