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

adjustTimeStep in rhoPimpleFoam seems to calculate inappropriate time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2012, 20:07
Default adjustTimeStep in rhoPimpleFoam seems to calculate inappropriate time step
  #1
New Member
 
Jeff Freeman
Join Date: Mar 2012
Posts: 9
Rep Power: 14
jeff.freeman is on a distinguished road
I just attempted to run a case using adjustTimeStep = "on" with maxCo = 0.3. The alarming thing about this case is that it recommended a time step of roughly 5e-10 even though I was able to manually set the time step to 5e-7 and get Courant numbers of roughly 0.5. Has anybody experienced this sort of behavior before?


More detail of the situation:
I am attempting a grid refinement study of a rudimentary converging-diverging nozzle using laminar viscosity and rhoPimpleFoam as the solver. I am using two blocks, one for converging and the other for diverging. The case is 2D planar and I am only modeling one half of the nozzle. All of the cases prior to the problem case had adjustTimeStep = "on" and didn't seem to be misbehaving.

The only changes I made when progressing to the problem case was doubling the number of cells in both the x and y directions (z is empty) and changing the grading from simpleGrading(1 1 1) to simpleGrading(1 0.25 1) to give a tighter mesh near the wall.

The solver claimed that the Courant number was around 0.3 and it needed a time step of 5e-10 to achieve this. After 1.5 hours of getting nowhere, I understood this to be inappropriate. I then turned off adjustTimeStep and hard-coded the time step to be 5e-7 to achieve a Courant number of ~0.5.

Best regards,
Jeff
jeff.freeman is offline   Reply With Quote

Reply

Tags
adjusttimestep, rhopimplefoam


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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 22:51
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 10:08
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 06:55
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32


All times are GMT -4. The time now is 16:00.