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

How to avoid Fluent taking a different solution path?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sescobar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2014, 15:08
Default How to avoid Fluent taking a different solution path?
  #1
Member
 
Join Date: Feb 2013
Posts: 60
Rep Power: 13
ansys_matt is on a distinguished road
I ran a simulation with exporting data set to every iteration to see if it looked correct the first 20 iterations. Everything ran just fine. So I went back in and set the export to only write a file every 10 iterations since I am going to run this forever. I also reinitialized the solver. When I ran it again, this time it failed to converge on the 12th iteration!?

How is that possible? I thought that reinitializing the solution simply took it back to where it was before the last solution began. So how could it be that fluent finds a different (divergent) solution when I changed nothing except how often it exports the data??

I am not using adaptive mesh or time stepping.
ansys_matt is offline   Reply With Quote

Old   August 26, 2014, 03:22
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
You must have changed something. Are you sure that you used the same initialization?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   August 26, 2014, 07:11
Default
  #3
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Quote:
Originally Posted by ansys_matt View Post
I thought that reinitializing the solution simply took it back to where it was before the last solution began.
No, reinitializing means that Fluent throws away the solution, and starts with an almost empty solution.
In most cases, it is the same, but now always.

If you initialize a case (iteration number zero), do a simulation for 100 iterations, and then reinitialize, Fluent will be in the same state as in iteration number zero, which happens to be where it was before the last solution began. (if you do initialization in the same way)

If you initialize a case (iteration number zero), do a simulation for 100 iterations, change some parameters and do a simulation for 50 iterations, you end up in iteration 150. If you then reinitialize, Fluent will go back to iteration 0, not to iteration 100, so you are not back at where you were before the last solution began.

(Excuse me if you already understood this, but I thought it'd be best to explain it anyway.)
pakk is offline   Reply With Quote

Old   August 26, 2014, 12:22
Default
  #4
Member
 
Join Date: Feb 2013
Posts: 60
Rep Power: 13
ansys_matt is on a distinguished road
Quote:
If you initialize a case (iteration number zero), do a simulation for 100 iterations, and then reinitialize, Fluent will be in the same state as in iteration number zero, which happens to be where it was before the last solution began. (if you do initialization in the same way)
That is what I thought too. Apparently changing the export interval can change the solution outcome. Strange.
ansys_matt is offline   Reply With Quote

Old   August 27, 2014, 12:02
Default
  #5
New Member
 
Join Date: Jun 2011
Posts: 22
Rep Power: 15
sescobar is on a distinguished road
It is very unlikely that export interval influences the solution. Something changed in your model set up or initial condition.
Changing between double and single precision may also lead to different solutions for the same case and initial condition. I don't know if this us your case.
RodriguezFatz likes this.
sescobar 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
define a water-salt solution in fluent arashmarahel180 FLUENT 7 February 13, 2019 01:26
Info message -> Fluent does not start Jenson FLUENT 0 December 22, 2011 18:21
Fluent jobs through pbs ibnkureshi FLUENT 5 June 9, 2011 14:43
few quesions on ANSYS ICEMCFD and FLUENT Prakash.Paudel ANSYS 0 August 12, 2010 13:07
How to use a solution as an inlet boundary condition in another problem in fluent geryes FLUENT 0 February 25, 2010 17:32


All times are GMT -4. The time now is 16:06.