CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Issue with under relaxation in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2018, 16:14
Default Issue with under relaxation in rhoCentralFoam
  #1
New Member
 
Yash Joshi
Join Date: Mar 2017
Posts: 5
Blog Entries: 1
Rep Power: 9
yashjo is on a distinguished road
Hello,

I am trying to use under relaxation with rhoCentralFoam.

I added the following in the fvSolution but it made no difference in the solution.

Code:
relaxationFactors 
  { 
      fields 
	{
		//p 0.9;
		//rho 0.9;
		".*"	1;
		//U 0.7;
		//k 0.7;
	//	omega 0.7;
	}
      equations 
      { 
          ".*"               1; 
          //"(rho|U|k|omega|epsilon).*" 0.7; 
      } 
  }
This did not change the solver output at all (the output log files are identical with and without relaxation factors).

Is it not possible to use relaxation factors with rhoCentralFoam? Or is there some naive mistake that I am committing.
yashjo is offline   Reply With Quote

Old   May 23, 2018, 17:37
Default
  #2
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9
deepbandivadekar is on a distinguished road
Quote:
Originally Posted by yashjo View Post
Hello,

I am trying to use under relaxation with rhoCentralFoam.

I added the following in the fvSolution but it made no difference in the solution.

Code:
relaxationFactors 
  { 
      fields 
    {
        //p 0.9;
        //rho 0.9;
        ".*"    1;
        //U 0.7;
        //k 0.7;
    //    omega 0.7;
    }
      equations 
      { 
          ".*"               1; 
          //"(rho|U|k|omega|epsilon).*" 0.7; 
      } 
  }
This did not change the solver output at all (the output log files are identical with and without relaxation factors).

Is it not possible to use relaxation factors with rhoCentralFoam? Or is there some naive mistake that I am committing.

I felt the same with the tutorial case. However a working case for my intended problem still remains illusive so I am not sure if under relaxation factor indeed makes any difference in rhoCentralFoam
deepbandivadekar is offline   Reply With Quote

Old   August 3, 2021, 23:47
Default rhoCentralFoam is an explicit solver
  #3
Member
 
Jnana Bhaskar Rao
Join Date: Mar 2020
Posts: 46
Rep Power: 6
jnanabrao is on a distinguished road
rhoCentralFoam is an explicit solver. It does not use the PIMPLE algorithm to solve for the properties for the next time step. It evaluates the current spatial derivatives (fvc) and equates them with the time derivative in the conservation equation, to march forward in time. I believe the only term that is discretised in the traditional implicit manner in this solver is the viscous dissipation term in the energy equation. The under-relaxation method for equations is used to stabilize the implicit solvers by increasing the explicitly calculated terms in the equations. To maintain accuracy in traditional solvers this usually means use of higher number of innerCorectors and outerCorrectors.


If your rhoCentralFoam simulation diverges, you should set all gradSchemes to faceLimited Gauss linear 1 and the reconstruct variable to either vanLeer 1, vanAlbada 1, upwind or Gamma 1. If you don't get a solution even with these schemes, the issue must be in the gird or boundary conditions. Not to mention you must go down to at least a Courant number of 0.2 before any of these changes.
jnanabrao is offline   Reply With Quote

Reply

Tags
rhocentralfoam, steady state, under relaxation factor


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 10:54
Convergence issue in natural convection problem chrisf90 FLUENT 5 March 5, 2016 09:30
What's happening to my solution for lower relaxation factor casesam OpenFOAM Running, Solving & CFD 3 October 22, 2015 02:25
Under Relaxation factors in a transient solution JoshuaB STAR-CCM+ 2 October 8, 2014 16:02
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 09:27


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