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

pimpleFoam, rhoPimpleFoam unstable at small Courant numbers (time-steps)

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By peob
  • 3 Post By peob

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 24, 2016, 14:57
Default pimpleFoam, rhoPimpleFoam unstable at small Courant numbers (time-steps)
  #1
New Member
 
Phil
Join Date: Mar 2011
Location: West Des Moines, Iowa, U.S.A.
Posts: 17
Rep Power: 15
peob is on a distinguished road
I am encountering a peculiar problem in a number of my simulations with pimpleFoam and rhoPimpleFoam. When I run my cases at reasonably large Courant numbers (maxCo from 50 to 10000, say) they are nicely stable, but I don't have the time-accuracy I would like. So I lower the maxCo down to something on the order of 1 or smaller (e.g. 0.3) to improve my time-accuracy, however, my solution then goes unstable. This is the exact opposite behavior from what I would expect: stable at small maxCo and unstable at large maxCo.

Attached is an example pimpleFoam case that demonstrates the behavior. Unfortunately I cannot include the grid, because it exceeds the file size limitations. However, if you happen to have cfMesh on your system, all the files are set up for you to simply run "cartesianMesh" and you should then be able to generate the grid. NOTE... you will also have to scale the grid from millimeters to meters before running the case. Simply execute the command: transformPoints -scale '(0.001 0.001 0.001)'. Boundary conditions and all of the other settings are already there; no need to change them.

If you set the maxCo to a large value (say 100) then the solution converges just fine. However, if you set the maxCo to a small value (try 1.0, or 0.5 or smaller) the solution goes unstable. It may take a few hundred iterations to see the instability grow, but as the solution continues to run, the instability worsens. I have defined a couple of animation slices (y and z-direction) where you can plot the progression of the instability in the U-field.

I'm running OpenFOAM version 3.0.1 on Ubuntu 14.04 LTS. In the attached case, I used cfMesh to generate the cartesian mesh. CheckMesh indicates that I have a good quality mesh.

Has anyone else encountered this problem? I welcome any thoughts or suggestions.

Thanks.
Phil
Attached Files
File Type: gz OFv301_instability.tar.gz (42.0 KB, 37 views)
toboto likes this.
peob is offline   Reply With Quote

 

Tags
courant number, gradschemes, pimplefoam, unstable behaviour


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
negative min.(alpha1) value interFoam Arjun Jayakumar OpenFOAM 11 December 21, 2019 10:59
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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