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

Relaxation factor in transient problems

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By FMDenaro
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2021, 10:10
Default Relaxation factor in transient problems
  #1
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 16
HectorRedal is on a distinguished road
Hi,


I would like to raise the following question from my side:
Does relaxation factor apply in transient problems?


I am currently studying the CBS algorithm for transient problem in fluids:
https://onlinelibrary.wiley.com/doi/...3E3.0.CO%3B2-7


The algorithm uses two factors: theta1 and theta2.
They are used in the follwoing manner:
Velocity: V(t=n+theta1) = V(t=n) * (1-theta1) + V(t=n+1) * theta1
Pressure: P(t=n+theta2) = P(t=n) * (1-theta2) + P(t=n+1) * theta2


Which value of theta1 and theta2 should I use for transient problems?
Is there any recommended value?
Can these parameters be considered "relaxation factors"?


Thanks for your kind support.


Best regards
Hector
HectorRedal is offline   Reply With Quote

Old   February 5, 2021, 12:28
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by HectorRedal View Post
Hi,


I would like to raise the following question from my side:
Does relaxation factor apply in transient problems?


I am currently studying the CBS algorithm for transient problem in fluids:
https://onlinelibrary.wiley.com/doi/...3E3.0.CO%3B2-7


The algorithm uses two factors: theta1 and theta2.
They are used in the follwoing manner:
Velocity: V(t=n+theta1) = V(t=n) * (1-theta1) + V(t=n+1) * theta1
Pressure: P(t=n+theta2) = P(t=n) * (1-theta2) + P(t=n+1) * theta2


Which value of theta1 and theta2 should I use for transient problems?
Is there any recommended value?
Can these parameters be considered "relaxation factors"?


Thanks for your kind support.


Best regards
Hector



If I understand, this form is generally related to an implicit class of time integration, for theta=1/2 the well known Crank-Nicolson time integration resulting in the scheme. It is a second order accurate quadrature formula for the time integral.
HectorRedal and aero_head like this.
FMDenaro is offline   Reply With Quote

Old   February 5, 2021, 17:25
Default
  #3
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 16
HectorRedal is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
If I understand, this form is generally related to an implicit class of time integration, for theta=1/2 the well known Crank-Nicolson time integration resulting in the scheme. It is a second order accurate quadrature formula for the time integral.

I understand it now.
Thanks for your clarification.
HectorRedal is offline   Reply With Quote

Old   February 8, 2021, 12:03
Default
  #4
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 16
HectorRedal is on a distinguished road
Hi,


One question from my side: If I understand it correctly, this means tha the error for the Crank-Nicolson scheme would be in the order of c * (delta T)^3.
How big is that c, constant? My understanding is that this c would be in the order of the third derivate, right?


Now, I would like to comment that I am using different schemes in my simulation (Backward Euler, forward Euler and Crank-Nicolson), but I do not see much difference in the simulation.


Additionally, I am reducing a lot the delta T for the simulation, and the results does not change.



This is puzzling me a bit.


Best regards,
Hector.
HectorRedal is offline   Reply With Quote

Old   February 8, 2021, 15:37
Default
  #5
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by HectorRedal View Post
Hi,


One question from my side: If I understand it correctly, this means tha the error for the Crank-Nicolson scheme would be in the order of c * (delta T)^3.
How big is that c, constant? My understanding is that this c would be in the order of the third derivate, right?


Now, I would like to comment that I am using different schemes in my simulation (Backward Euler, forward Euler and Crank-Nicolson), but I do not see much difference in the simulation.


Additionally, I am reducing a lot the delta T for the simulation, and the results does not change.



This is puzzling me a bit.


Best regards,
Hector.



No, the CN scheme is second order accurate, is not a third order scheme.
You can easily see the local truncation error of the scheme by applying the trapezoidal rule to the time integral:


Int [tn,tn+1] f dt - dt *[f(tn)+f(tn+1)]/2 = LTE
aero_head likes this.
FMDenaro 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
Lets talk about relaxation factor optimization chriss85 OpenFOAM Running, Solving & CFD 35 June 21, 2019 09:54
Transient or Transient Blade Row? liucheng8602 CFX 2 June 19, 2014 07:03
max iterations in transient problems vinse FLUENT 0 November 7, 2007 05:10
Transient simulation and sliding mesh problems alige FLUENT 0 May 8, 2006 03:51
About the difference between steady and unsteady problems Lisa Main CFD Forum 11 July 5, 2000 14:37


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