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

Courant no. suddenly increases & simulation stops with NO ERROR

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2021, 14:50
Unhappy 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
Jay22kar is on a distinguished road
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%
Attached Images
File Type: jpg screenshot of maxCourant and stopping solution.JPG (129.4 KB, 15 views)
Jay22kar is offline   Reply With Quote

Old   April 23, 2021, 14:14
Default An update -
  #2
New Member
 
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5
Jay22kar is on a distinguished road
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?
Jay22kar is offline   Reply With Quote

Old   April 23, 2021, 14:49
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Hi,

Could you please open a bug ticket, if possible?

Thank you!
HPE is offline   Reply With Quote

Old   April 24, 2021, 11:13
Default
  #4
New Member
 
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5
Jay22kar is on a distinguished road
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
Jay22kar is offline   Reply With Quote

Old   April 26, 2021, 09:14
Default
  #5
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
how come that your intial residuals are zero?
geth03 is offline   Reply With Quote

Old   April 27, 2021, 14:20
Default
  #6
New Member
 
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5
Jay22kar is on a distinguished road
@geth

Hello, I guess, it ha something to do with diagonal solver.
Its the same when running a tutorial case.
Jay22kar is offline   Reply With Quote

Reply

Tags
courant number increasing, rhocentralfoam


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
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


All times are GMT -4. The time now is 10:19.