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

Fluent Batch Mode wont converge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2015, 09:11
Default Fluent Batch Mode wont converge
  #1
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
Hi All,

I am trying to run fluent in batch mode. I used the command below

/solve/dual-time-iterate 24000 50

I found an explanation that 24000 is the number of time steps and 50 is the max number of iterations per time step. I have also set tolerance to be 1e-6 under Monitors>Residuals.

However, during the batch process, i have also tried changing the "50" to different values like 100, or 150. I realised that Fluent will conduct the exact number of iterations that I specify.

On the contrary, I have tried running the same case and dat file offline with my own computer. The number of iterations will stop at about 30, once the tolderance of 1e-6 is reached, and the iteration is terminated and the next time step starts.

What am I doing wrong and why is that when I run Fluent in Batch mode, my results won't converge and calculations are made all the way till my specified value?

Thanks!
tsaget is offline   Reply With Quote

Old   October 19, 2015, 09:17
Default
  #2
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
here are two screenshots, one in batch and the other is offline iteration.

What I meant was the exclamation mark that marks the convergence of each time step.
Attached Images
File Type: jpg batch.jpg (135.0 KB, 21 views)
File Type: jpg PC.JPG (74.3 KB, 16 views)
tsaget is offline   Reply With Quote

Old   October 19, 2015, 09:38
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
*I don't think you can change anything once the batch has started

*On your 2 screenshots, you aren't comparing exactly the same thing.
With the batch you are showing Time step 424 which didn't converged after your 50 iterations.
Within fluent you are showing the first time step which converged before your max iterations.

If the first timestep will converge in 30 iterations (for example) it doesn't mean that every time step will also converge within 30 iterations
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 19, 2015, 09:43
Default
  #4
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
*I don't think you can change anything once the batch has started

*On your 2 screenshots, you aren't comparing exactly the same thing.
With the batch you are showing Time step 424 which didn't converged after your 50 iterations.
Within fluent you are showing the first time step which converged before your max iterations.

If the first timestep will converge in 30 iterations (for example) it doesn't mean that every time step will also converge within 30 iterations

Oh my apologies, perhaps I didnt state myself clearly. The screenshot that I label "solved" by my computer is just an illustration to show the "exclamation mark".

I did not manage to capture an image of my computer's screen at time step "23575", the same time step as the batch solver. But I am fully certain that my solutions converge between 18-28 iterations at tolerance 1e-6 when I solve with my PC.

In fact, for batch mode, my solutions do not converge. and if u look closely at the image i have uploaded, some iterations cause an increase in residues. It just calculates all the way till 100 and it doesn't really care about residues.
tsaget is offline   Reply With Quote

Old   October 19, 2015, 09:50
Default
  #5
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
check at least for the first time step if both are converging
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 19, 2015, 09:52
Default
  #6
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
Hi Max,

I really thank you for your fast reply!

When running on my computer, the iterations converge at about 26-28, I couldn't really remember the exact number. But I am fully sure that it is below 30.

As for the batch mode solver the iterations do not converge at all. The iterations will just keep running till it hits my specified number.
tsaget is offline   Reply With Quote

Old   October 19, 2015, 09:59
Default
  #7
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
copy and paste your project somewhere, and just try to re-run only for the first time step in batch mode and also in GUI
Are they both converging?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 19, 2015, 10:22
Default
  #8
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
Hi Max,

I have attached 2 images, one is by batch the other is by computer. You may see that the batch solver has even reached over 400 iterations and still yet to converge... :'( The PC-solved image shows convergence at 60iterations...
Attached Images
File Type: jpg computer.JPG (52.9 KB, 8 views)
File Type: jpg aaaaa.jpg (190.2 KB, 4 views)
tsaget is offline   Reply With Quote

Old   October 19, 2015, 10:29
Default
  #9
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
no, with your batch I still see time step 424.
I wanted to see time step 1 (just like with GUI)
If both are converging, then the residuals monitoring/check is ok
Untitled.jpg
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 19, 2015, 10:52
Default
  #10
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
no, with your batch I still see time step 424.
I wanted to see time step 1 (just like with GUI)
If both are converging, then the residuals monitoring/check is ok
Attachment 42832

Oh I get it!

I have attached the image below... Thanks!
Attached Images
File Type: jpg xxxxx.JPG (146.7 KB, 6 views)
tsaget is offline   Reply With Quote

Old   October 19, 2015, 11:02
Default
  #11
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Alright,
now it is clear that your continuity isn't converging with batch.
If I compare both methods, I can see the flow-time after first time step, which means I get your dt.
If you compare them, you have dt=1e-4s for GUI and 5e-4s for batch.
So you cannot compare both methods since the one with smaller dt will converge faster than the other
Now set both dt with 1e-4s and compare again
Untitled.jpg
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 19, 2015, 11:09
Default
  #12
New Member
 
Terry
Join Date: Aug 2015
Posts: 21
Rep Power: 11
tsaget is on a distinguished road
I have changed the time step and i have attached the image for GUI. It converged before reaching 70..
Attached Images
File Type: jpg screenshot.JPG (48.2 KB, 8 views)
tsaget is offline   Reply With Quote

Old   October 19, 2015, 11:52
Default
  #13
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Set the case for batch with dt=1e-4s and re-run
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Reply


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
Stopping a Fluent batch job AND saving the data! Possible? Volker Pawlik FLUENT 13 December 28, 2020 05:16
[ICEM] icem cfd batch mode srobin11 ANSYS Meshing & Geometry 20 August 2, 2020 19:40
fluent 12.1, batch mode in linux sakalido FLUENT 13 September 27, 2017 09:55
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 09:00
Fluent batch mode unix : how do a patch? Claire FLUENT 0 February 12, 2013 11:06


All times are GMT -4. The time now is 17:15.