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

Diverging simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 06:01
Default
  #41
Member
 
Join Date: Sep 2015
Posts: 30
Rep Power: 11
czhongrong is on a distinguished road
Alright, so I will set my deltaT as 0.25E-4, maxCo as 0.5 and make the changes in the PIMPLE block, and see how it goes.

Just wondering, would maxCo = 0.5 make my simulation to run for ages? Because initially I set it as 0.5 and its really crawling and I do not have that luxury of time.
czhongrong is offline   Reply With Quote

Old   November 20, 2015, 06:57
Default
  #42
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
I saw this strange place in your fvSolution just now:

Code:
relaxationFactors
{
    U               0.1;
    nuTilda         0.1; 
    p                 0.1;
    k                 0.1;
    omega                0.1;
}
If you are doing transient simulation, you must set relaxation factors for all fields to 1. But, if you need only a steady-state solution, you can set relaxation factors as folows:
Code:
relaxationFactors
{
    U               0.3;
    nuTilda      0.5; 
    p                 0.2;
    k                 0.5;
    omega        0.5;
}
Then, you must set nOuterCorrectors to larger value, let's say about 10-50. And this will let you to increate deltaT to values with Co >> 1
Code:
PIMPLE
{
    nOuterCorrectors    20;
    nCorrectors         2;
    nNonOrthogonalCorrectors 0;
    pRefCell            0;
    pRefValue           0;
}
mkraposhin is offline   Reply With Quote

Old   November 20, 2015, 08:08
Default
  #43
Member
 
Join Date: Sep 2015
Posts: 30
Rep Power: 11
czhongrong is on a distinguished road
Yes, I'm running transient simulation. If I set all the relaxationFactors to 1, do I still need to set the nOuterCorrectors to 20 as well?
czhongrong is offline   Reply With Quote

Old   November 20, 2015, 08:15
Default
  #44
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Quote:
Originally Posted by czhongrong View Post
Yes, I'm running transient simulation. If I set all the relaxationFactors to 1, do I still need to set the nOuterCorrectors to 20 as well?
No, if you are running transient simulation, you don't need to use outer corrections, so you msut set nOuterCorrectors to 1. And all relaxation factors must be set to 1.
mkraposhin is offline   Reply With Quote

Old   November 21, 2015, 00:22
Default
  #45
Member
 
Join Date: Sep 2015
Posts: 30
Rep Power: 11
czhongrong is on a distinguished road
It seemed to be able to simulate past the error point. But its taking way too long~(about 6hours to reach 0.01) What are some ways where I can speed up the process without having it to diverge again?
czhongrong is offline   Reply With Quote

Old   November 21, 2015, 08:17
Default
  #46
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
1) Increase maxCo to 0.8-0.9, but at the cost of chance of divergence
2) Use more CPU
mkraposhin 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
Huge file sizes when Running VOF simulation aarratia FLUENT 0 May 8, 2014 13:27
Supersonic Nozzle Exhaust Simulation mikeh FLUENT 0 May 1, 2014 22:28
Exporting data of transient simulation DURING a simulation, at user locations ? Milan2013 CFX 0 April 18, 2014 04:47
Simulation of a complex wing in solidworks flow simulation niels1900 FloEFD, FloWorks & FloTHERM 6 April 20, 2011 11:44
GUI crash and simulation engine still running RPJones FLOW-3D 2 November 9, 2010 09:18


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