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

Stopping a running case with pyFluent script

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2025, 04:56
Default Stopping a running case with pyFluent script
  #1
Member
 
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 55
Rep Power: 13
alexvaleije is on a distinguished road
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,
alexvaleije is offline   Reply With Quote

Old   December 19, 2025, 13:06
Default Stopping a running case with pyFluent script
  #2
Member
 
Join Date: Aug 2019
Posts: 32
Rep Power: 8
lolno is on a distinguished road
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
lolno is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


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