|
[Sponsors] |
why pisoFoam take such a long time to converge? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
October 14, 2013, 12:38 |
why pisoFoam take such a long time to converge?
|
#1 | ||
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
Hello
I have a PC with 4GB RAM 2 processors.. Ihave run a simulation with pisoFOam and today is 48 hours since i last start.. and still convergence not acheived..!! Can anyone give me a better way to acheive convergence easier with pisoFoam? I am attaching my fv solution just so that you may know what i did.. Quote:
Quote:
|
|||
October 14, 2013, 14:50 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Good evening,
pisoFoam is intended for transient simulations, which does not necessarily have a steady state solution. Also, to my knowledge, the pisoFoam does not check for the residualControls, which you have in your fvSolution file. For steady state simulations you would probable want to look into e.g. simpleFoam. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
October 14, 2013, 23:56 |
|
#3 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
hi..
simpleFoam is not working at all for the case that running... hence am running with pisoFoam, and its working with pisoFoam.. but taking such a long time!!!! |
|
October 15, 2013, 04:35 |
|
#4 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
Is this a transient simulation or steady state?
__________________
The skeleton ran out of shampoo in the shower. |
|
October 15, 2013, 04:47 |
|
#5 | |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
steady state..
Quote:
|
||
October 15, 2013, 04:55 |
|
#6 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
You are using the wrong solver. You solve for a transient simulation, time-scheme is Euler and your time-step is 0.5ms.
This is not steady-state. 1) Use simpleFoam! Why do you say "simpleFoam is not working at all for the case that running"? SimpleFoam is a steady state solver. 2) Use GAMG solver for pressure. 3) "Linear" discretization doesn't converge very well. You can try some more dissipative scheme (upwind, linearUpwind,...).
__________________
The skeleton ran out of shampoo in the shower. |
|
October 15, 2013, 04:59 |
|
#7 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
i already did all that with simpleFoam.. But after 300 timestep my solution crash.. and when i check in paraView, i see my domain as a blueeee one.. ie no velocity has enter... hence why i was soo desperate...
|
|
October 15, 2013, 05:01 |
|
#8 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
Then you did it wrong
Post your simple solver settings and then the residuals.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 15, 2013, 05:04 |
|
#9 | ||
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
simple Solver settings..:
Quote:
Quote:
|
|||
October 15, 2013, 05:26 |
|
#10 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
Can you post the residual plot?
1) What happens, if you set "relTol" for the pressure to 1.0e-3? Do the residuals change? 2) What happens, if you use some gradient limiter? Such as Code:
gradSchemes { default faceLimited edgeCellsLeastSquares 1; } Code:
... div(phi,k) bounded Gauss upwind;
__________________
The skeleton ran out of shampoo in the shower. |
|
October 15, 2013, 15:12 |
|
#11 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
am sorry for late reply.. but for each of the above mentioned points. My solution crash..
Now am worried.... |
|
October 16, 2013, 04:23 |
|
#12 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
Can you send the whole log-output? So we can try to find the spot...
__________________
The skeleton ran out of shampoo in the shower. |
|
October 17, 2013, 13:59 |
|
#13 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
hi..afte changing the fv solution and fv schemes.. I obtain a good simulation which i checked..
.. when arriving at 1760 iteration the solution crashed.. and when i checked in paraView.. I obtain a blue domain.. Why such a nice simulation suddenly crash ? |
|
October 18, 2013, 02:05 |
|
#14 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
You have to share all relevant data, otherwise no one will be able to help you.
1) log output 2) boundary condition files 3) screenshot of your domain with grid. Additionally: It seems you use the k-epsilon model. In your fvSolution file you set relaxation factors, but not for k-epsilon but for k-omega. This could be the reason.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 18, 2013, 03:26 |
|
#15 |
New Member
Danesh S
Join Date: Jul 2013
Location: Bochum, Germany
Posts: 27
Rep Power: 12 |
Hi all,
I have a question which is close to the topic. Niels said above, that pisoFoam does not check for residualControls. Does that mean, that when running a transient turbulent simulation on pisoFoam, the residual output does not indicate the state of convergence of my simulation? I have the problem at the moment with my simulation. The residual is not dropping anymore, so I have no convergence. (It is LES of Taylor Couette Flow). I use backward time scheme and gauß upwind for U divscheme. My schemes should be fine. After reading this thread I am just worrying, that the solver is not able to produce what I want. Can anybody comment on this? Thx! Danesh |
|
October 18, 2013, 03:38 |
|
#16 |
Senior Member
Join Date: Dec 2011
Posts: 111
Rep Power: 19 |
You are correct. pisoFoam does not obey the residual controls. This is because the solution is time-accurate, i.e. every step is a valid solution of the transient problem. Hence, each step is solved until the specified tolerance level in fvSolution, and not further. Then the time is advances and a new solution is found. The value of the time step is hence important, as the PISO-algorithm cannot handle large time steps.
Remember my earlier comments on fluid flows that generally are transient by nature. I do not feel that you have clearly out-ruled this issue yet. |
|
October 18, 2013, 03:49 |
|
#17 |
New Member
Danesh S
Join Date: Jul 2013
Location: Bochum, Germany
Posts: 27
Rep Power: 12 |
I understand what you mean Haakon. Of course the Taylor Couette Flow (in my case) will have a steady state solution at some point, e.g. turbulent taylor vortices. I am pretty sure, that it should work with pisoFoam. My time step is actually large. It is 0,05, which should be ok, looking at the courant number (alway < 0,45).
|
|
October 18, 2013, 08:46 |
|
#18 | ||
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
helloo
I am sorry for late reply.. But finally My solution with simpleFoam converge.. I used a fv schemes and fv solution as below.. and attached is my converged results.. As we can all see its not good at all!... I nEED HELP BADLY Quote:
Quote:
Last edited by izna; October 22, 2013 at 10:46. |
|||
October 18, 2013, 09:08 |
|
#19 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
The log output is still missing.
You really can not expect this to converge. You set everything to linear, gradients have no limiters and so on. You need to get a stable, robust setting and then you can try to make it numerically more accurat. But don't start with this second order low diffusion stuff.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 18, 2013, 09:36 |
|
#20 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12 |
look can you please post for me a fv scheme and fv solution fiting for this? ANd i assure you it converged..
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 13:12 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 22:40 |
PisoFoam case terminating | Solo Sails | OpenFOAM Running, Solving & CFD | 3 | November 29, 2011 07:04 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 04:35 |