|
[Sponsors] |
Courant no. suddenly increases & simulation stops with NO ERROR |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2021, 14:50 |
Courant no. suddenly increases & simulation stops with NO ERROR
|
#1 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
Hello guys, I am doing a simulation using rhoCentralFoam solver.
The automatic time-step-adjustment is on & max Courant no is set to 0.5. Here's the controlDictfile - application rhoCentralFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 1; deltaT 0.005; writeControl adjustable; writeInterval 0.25; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo 0.5; maxDeltaT 1; The simulation stopped at 0.77s with max Courant no. of 1.29 - Mean and max Courant Numbers = 0.367752 1.29425 deltaT = 0.000507891 Time = 0.775512 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0 ExecutionTime = 19.85 s ClockTime = 21 s Can anyone please help me, I don't know what's going on here? PS - Earlier, I set the max Courant no. to 0.9 in controlDict & the simulation stopped at 0.008s with showing max courant no. as 14.5 I guess, as I decrease the maxCourant in controlDict, it solves more timestep but never 100% |
|
April 23, 2021, 14:14 |
An update -
|
#2 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
Same thing is happening with the default tutorial provided by OpenFOAM.
If you run compressible/rhoCentralFoam/forwardstep tutorial just by changing the maxCo to 0.9, the simulation stops after few iterations. Is the solution converging? Is that why is it stopping without any error? Can anyone please explain what's exactly happening behind the lines? |
|
April 23, 2021, 14:49 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
Could you please open a bug ticket, if possible? Thank you!
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
April 24, 2021, 11:13 |
|
#4 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
Hello HPE,
I am quite new to OpenFOAM. So I don't exactly understand what "opening a bug ticket" means. Also, do you think, it's a bug? I think it has just something to residuals, timestep or Courant number.. Thanks for replying |
|
April 26, 2021, 09:14 |
|
#5 |
Senior Member
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8 |
how come that your intial residuals are zero?
|
|
April 27, 2021, 14:20 |
|
#6 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
@geth
Hello, I guess, it ha something to do with diagonal solver. Its the same when running a tutorial case. |
|
Tags |
courant number increasing, rhocentralfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |