CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Convergence issue with Fractional Step Method using RK2 method for time integration

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2015, 05:49
Default
  #21
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by mihirmakwana6 View Post
I found the bug in my code. Actually I was modifying the source term in the poisson solver which actually needs to be fixed till the pressure loop runs. Now, My code runs well and I get my results quite fast.

Also, if I use

P[fixedPoint] = P_fixedValue

than it takes more time then the case when i don't use it.

Thankyou Filippo Maria Denaro sir and Michael Prinkey sir for all your replies

- Mihir


ok, have you checked that you get convergence even without fixing the value? That would be the final guarantee you have the correct source term in the Poisson equation
FMDenaro is offline   Reply With Quote

Old   June 6, 2015, 06:12
Default
  #22
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 10
mihirmakwana6 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
ok, have you checked that you get convergence even without fixing the value? That would be the final guarantee you have the correct source term in the Poisson equation
1) yes sir. If i did NOT fix the value at scalar grid point for pressure , then also the solution converges.




2) Also, I am using the entire value of optimum omega for my code as I am using SOR. I plotted graphs for number of Iterations the PRESSURE solver takes for both the RK2 steps. The number of iterations decrease as the solution reaches steady state.

However, I found that just before the STEADY STATE, the number of iterations for both the RK2 steps fluctuate.

I mean, say i get, for the last 6 NUMBER of iterations of the poisson solver

for step 1 : a b a b a b ( where a , b are some integers )

for step 2 : c d c d c d ( where a , b are some integers )

What can be the possible reason for this?
mihirmakwana6 is offline   Reply With Quote

Old   June 6, 2015, 06:43
Default
  #23
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by mihirmakwana6 View Post
1) yes sir. If i did NOT fix the value at scalar grid point for pressure , then also the solution converges.




2) Also, I am using the entire value of optimum omega for my code as I am using SOR. I plotted graphs for number of Iterations the PRESSURE solver takes for both the RK2 steps. The number of iterations decrease as the solution reaches steady state.

However, I found that just before the STEADY STATE, the number of iterations for both the RK2 steps fluctuate.

I mean, say i get, for the last 6 NUMBER of iterations of the poisson solver

for step 1 : a b a b a b ( where a , b are some integers )

for step 2 : c d c d c d ( where a , b are some integers )

What can be the possible reason for this?

when you approach the steady state you should still decrease your threshold for convergece....that appens because the guess field used to start will be very close to the correct solution and your solver does to many iterations to correct
FMDenaro is offline   Reply With Quote

Old   June 6, 2015, 06:58
Default
  #24
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 10
mihirmakwana6 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
when you approach the steady state you should still decrease your threshold for convergece....that appens because the guess field used to start will be very close to the correct solution and your solver does to many iterations to correct
sir I did not get it.
mihirmakwana6 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
Fractional Step Method and SIMPLE Ha Lim Choi Main CFD Forum 14 June 14, 2017 11:17
time step directories naming issue Andrea_85 OpenFOAM 3 April 3, 2014 08:38
VOF convergence issue manxu FLUENT 5 December 12, 2013 20:30
Comparing between the Fractional step method and the SIMPLE method ghlee Main CFD Forum 1 April 10, 2012 16:59
Implicit, fractional step method!! Frederic Felten Main CFD Forum 2 November 15, 2002 07:06


All times are GMT -4. The time now is 05:08.