|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 55
Rep Power: 13 ![]() |
Hi everyone,
I'm trying to use pyFluent to setup and run cases, and so far everything works, if I don't want to do any activity during the calculation. The thing is, if I press the Stop button to check some reports, plots, contours... the journal jumps to the next line of the script without interrumpting it, and does not stop. Does anyone know if is there a way of fixing this and make it behave as the "classic" journal? Thank you in advance. Kind regards, |
|
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Aug 2019
Posts: 32
Rep Power: 8 ![]() |
Yup, that’s how it work. When you load series of journal commands in one go, it will queue everything for execution. You can use some scheme coding for if statement (ie only run this command after receiving simulation flag complete)
Or best you can do is to structure your journal or pyfluent into multiple sections: 1. Boundary setup journal 2. Solver setup journal 3. Post process journal |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem running case, what exactly happens deppends on what way you run the case | raptor333 | OpenFOAM Running, Solving & CFD | 0 | February 29, 2024 18:41 |
| Running Case in Parallel | Typ | Main CFD Forum | 5 | May 11, 2020 04:43 |
| interFoam running blowing up | sandy13 | OpenFOAM Running, Solving & CFD | 2 | May 5, 2015 08:16 |
| Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
| How to save a case running in background | us | FLUENT | 0 | July 6, 2005 11:43 |