|
[Sponsors] |
August 9, 2017, 10:06 |
Slow running time
|
#1 |
New Member
zhangxiaolin
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
Hi.I am using CONVERGE to simulate the combustion in cylinder. The maximum number of the cell is set below 600k and the simulation time is very long (a few days)with 16CPUs. The time-step is mostly limited by dt_spray or piso at around dt=2e-007. Sometime "dt= 1.515837606e-007,time-step limited by 2*max_piso reached, recovering ......"
(1)I try to reduce the maximum number of the cell in AMR to 400k but the simulation time didn't change.I don't know why. (2)I try to enlarge the "mult_dt_spray" and the simulation time also didn't change.The time step is mostly limited by dt_grow or dt_piso. There are many lines in the detailed run.log such as "Line 547206: time-step limit =dt_piso Line 547207: time-step limit =dt_grow Line 547208: time-step limit =dt_spray Line 547209: time-step limit =dt_grow Line 547210: time-step limit =dt_grow Line 547211: time-step limit =dt_piso Line 547212: time-step limit =dt_grow" I doubt if this will result in the long running time. (3) I try to enlarge the Maximum number of PISO iterations to avoid the time-step limit =dt_piso, but the simulation time is still the same and there are many lines in run.log such as " ncyc= 8001,dt= 3.969803126e-007, time-step limit =dt_grow ncyc= 8002,dt= 4.962253908e-007, time-step limit =dt_grow ncyc= 8003,dt= 6.202817385e-007, time-step limit =dt_grow ncyc= 8004,dt= 3.876760865e-007, time-step limit =dt_grow" I doubt if this will result in the long running time. Thank you for your attention! |
|
August 10, 2017, 04:03 |
|
#2 |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
Your simulation time looks normal to me if for "few days" you are considering 2 days and you are simulating the whole engine cycle... In any case "dtgrow" means that the time step is increasing, therefore there was something limiting the time step in previous steps and that's where you should look. Dtpiso as you intented is obtained when Piso scheme reached its iteration limit which is 9 by default, you can try to increase it a little bit but this doesn't guarantee that your simulation time will be less...the time step will be higher but will also tale longer to solve because an higher number of piso iterarion will be required, in "critical" condition.
In any case 600k cells for in cylinder combustion is a low Cell count in my opinion, even for a RANS simulation. What is your application? What are your engine dimensions? Sent from my HUAWEI TAG-L01 using CFD Online Forum mobile app |
|
August 10, 2017, 04:09 |
|
#3 |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
I would add that probably the Cell distribution is not optimal because 600k cells is your maximum cell count but you have 16 cores...what is your base grid size, AMR settings and base grid cell count?
Sent from my HUAWEI TAG-L01 using CFD Online Forum mobile app |
|
August 10, 2017, 04:37 |
|
#4 | |
Senior Member
Tobias
Join Date: May 2016
Location: Germany
Posts: 264
Rep Power: 10 |
Quote:
During inflow and injection the cell count is higher of course. But other than that, i also stay below 1 million. However, time step sizes of x.xxe-7 usually occur only at valve closing events, injection or ignition. |
||
August 10, 2017, 09:41 |
|
#5 |
New Member
zhangxiaolin
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
It is a 3D single cylinder diesel engine and the simulation is a sector which is only 1/8 of the cylinder (bore=0.1m,stroke=0.12m).The base grid size is 2mm, minimum size is 0.125mm.
Now,the simulation time is about a week , I think it is too long but I have no way to reduce the simulation time. Thank you for your help. |
|
August 10, 2017, 09:43 |
|
#6 | |
New Member
zhangxiaolin
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
Quote:
Now,the simulation time is about a week , I think it is too long but I have no way to reduce the simulation time. Thank you for your help. |
||
August 10, 2017, 09:47 |
|
#7 | |
New Member
zhangxiaolin
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
Quote:
Thank you! |
||
August 10, 2017, 10:54 |
|
#8 | |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
Quote:
In intake stroke simulation, with injection for a pfi engine, I easily reach 1.5-1.6e6 cells All this, however, is for a partial load case and low rpm. Sent from my HUAWEI TAG-L01 using CFD Online Forum mobile app |
||
August 10, 2017, 10:57 |
|
#9 | |
Senior Member
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17 |
Quote:
Sent from my HUAWEI TAG-L01 using CFD Online Forum mobile app |
||
August 10, 2017, 12:39 |
|
#10 |
Senior Member
Sameera Wijeyakulasuriya
Join Date: Jan 2016
Location: Convergent Science, Madison WI
Posts: 117
Rep Power: 10 |
Send your case files to support@convergecfd.com and we will review the files and make some suggestions to run faster. Please use your official email address for all communications with Convergent Science.
Thanks, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 13:40 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 07:09 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |