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

Under-Relaxation factors for Simple Consistent method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2020, 14:23
Default Under-Relaxation factors for Simple Consistent method
  #1
New Member
 
Deutschland (DEU)
Join Date: Jan 2020
Posts: 3
Rep Power: 6
Abhinav_Nagarajan is on a distinguished road
Dear Foamers,
I am new to openFoam and am having troubling setting optimum under-relaxation factors for my case. My problem statement is as such:

I want to simulate a reactor (see pic attached) with laminar incompressible flow, using SimpleFoam. The Reynold's number suggests that the flow within the reactor is well within 2000, hence is laminar through out the reactor.

Problem:
I am using the SimpleC algorith for my solver, and when I set the under-relaxation factors for the velocity to a high value such as 0.9 it leads to an oscillatory behaviour and the solution does not converge.
I changed the under relaxation factor to a low value such as 0.001, and the solution converges, however I am unsure of the solution. I have tried a list of relaxation factors in between, and all exhibited a non-convergent behaviour.

I need to know if I am going wrong somewhere with the low values for the under-relaxation factors. Could you guys please guide me on this?

I have attached the fvSchemes, fvSolution files as well for reference. The dimensions mentioned in the jpeg image of the reactor are in mm.

This is a bit urgent, since its a part of my master thesis, please help me out guys.

Thank you for your time and consideration.
Sincerely,
Abhinav
Attached Images
File Type: jpg Untitled.jpg (21.7 KB, 36 views)
Attached Files
File Type: txt U.txt (969 Bytes, 5 views)
File Type: txt p.txt (960 Bytes, 3 views)
File Type: txt fvSolution.txt (1.4 KB, 17 views)
File Type: txt fvSchemes.txt (1.3 KB, 9 views)
Abhinav_Nagarajan is offline   Reply With Quote

Old   March 22, 2020, 17:59
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
SHUBHAM9595 is on a distinguished road
Well fvSchemes looks good, now coming to the relaxation factor, 0.001 is too much for sure. Go for something like
Code:
relaxationFactors
{
    fields
    {
        p               0.3;
    }
    equations
    {
        U               0.7;
    }
}
Also considering the geometry, you can use 2/3 nonorthogonal correctors.


Regarding this,

Quote:
I have tried a list of relaxation factors in between, and all exhibited a non-convergent behaviour.
have you scaled your mesh ? If not then you can execute
Code:
convertToMeters    0.001;
after reading the mesh as OF works in meters only. It's also nice to once have a look at the output of checkMesh for aspect ratio and non-orthogonality.
SHUBHAM9595 is offline   Reply With Quote

Old   March 22, 2020, 22:51
Default
  #3
New Member
 
Deutschland (DEU)
Join Date: Jan 2020
Posts: 3
Rep Power: 6
Abhinav_Nagarajan is on a distinguished road
Thank you Shubam for your prompt reply. I have attached the checkMesh file for your reference. I have already tried with the orthogonal correctors and the higher relaxation factors as well. Nothing seems to work.

Quote:
Originally Posted by SHUBHAM9595 View Post
Well fvSchemes looks good, now coming to the relaxation factor, 0.001 is too much for sure. Go for something like
Code:
relaxationFactors
{
    fields
    {
        p               0.3;
    }
    equations
    {
        U               0.7;
    }
}
Also considering the geometry, you can use 2/3 nonorthogonal correctors.

Sure Shubam, I will try it out.

Regarding this,


have you scaled your mesh ? If not then you can execute
Code:
convertToMeters    0.001;
after reading the mesh as OF works in meters only. It's also nice to once have a look at the output of checkMesh for aspect ratio and non-orthogonality.
I have already scaled the mesh.
Attached Files
File Type: txt checkMesh.txt (3.8 KB, 10 views)

Last edited by Abhinav_Nagarajan; March 23, 2020 at 01:16.
Abhinav_Nagarajan is offline   Reply With Quote

Old   March 23, 2020, 06:01
Default
  #4
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
SHUBHAM9595 is on a distinguished road
As you can clearly see your checkMesh has failed bcz of concave cells. For 2D geometry, it should not affect that much. But for your case, I'll suggest you to have a look at the 3rd post of the following link.

About OpenFOAM and concave faces or cells

After this, u can import the case in paraView and can easily visualize the local cells where u need to perform further refinement to avoid their concave shape.
SHUBHAM9595 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
Explicit Relaxation Factors ebtedaei FLUENT 0 February 20, 2018 13:48
Under relaxation factors amjadfirst FLUENT 4 October 6, 2016 22:28
A problem in applying Non-Stationary relaxation method (GMRES) mb.pejvak Main CFD Forum 0 February 4, 2014 22:57
Under Relaxation Factors Abdul CFX 5 October 21, 2008 03:16
relaxation factors and time accuracy Mike Main CFD Forum 7 May 21, 2005 13:41


All times are GMT -4. The time now is 01:24.