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

rhoPisoFoam and time step issue: small dt INcreases INstability

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2010, 10:29
Default rhoPisoFoam and time step issue: small dt INcreases INstability
  #1
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17
francescomarra is on a distinguished road
Dear Foamers,

I would ask for your help to understand what I am doing stupid.
My experience, everybody should be able to quickly reproduce, start with the tutorial in $FOAM_TUTORIALS/compressible/rhoPisoFoam/les/pitzDaily (I am actually running version 1.7.1 from CentFOAM).

The solution obtained with the set-up already fixed in the tutorial gives non-physical results. Looking into the log it is immediately discovered that a too large Courant number is reached. A physically reasonable results is obtained changing the time step control to:
adjustTimeStep yes;
(you can stop the simulation very early, say endTime = 0.05).

Now, if you newly fix the time step to a constant value less than the minimum time step of the previous simulation, so that the max Courant number should remains within the stable range, the results appear to be newly non-physical. Actually velocity increases so much that Courant newly increases above the stability limit.

Therefore it seems that I am unable to increase the accuracy of the time discretization by decreasing the time step.

Please help me to elucidate this behaviour.

Kindest regards,

Franco
francescomarra is offline   Reply With Quote

Old   October 15, 2010, 00:18
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I ran the tutorial "as is" in OpenFOAM 1.7.x until t = 0.06s and I did not notice high values of Co, which stays under 0.5 from what I can see.

Should Co become very high also in the tutorial?

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   October 15, 2010, 12:05
Default
  #3
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17
francescomarra is on a distinguished road
Hi Alberto !

thank you for your answer. I made a little mistake in my previous post as larger Courant numbers in the "as is" simulation are reached a little bit later. To report more precisely the issue, please look at the attached pictures.

Picture Courant.png compares the Courant number (Co) for three simulation with different choice of time step.
- v01 is a time step contrained to satisfy Co<= 0.5;
- v02 is a time step fixed to 5e-6 < of the minimum time step of v01;
- AsIs is the time step adopted by the simulation "as is".

Pictures U_0.05.png and Uv02_0.05.png compare the UX velocity component for the "as is" simulation and v02 simulation (both will show too large Courant numbers) at the same time = 0.05. While the latter is clearly unstable, the former looks reasonable. However by looking at the temperature fields, it is discovered that also the "asis" simulation is starting to have too large temperature variations that will blow up thereafter.
I made also some other simulations by further decreasing the fixed time step of the simulation but I only delayed the problem.

Therefore I concluded that the problem occurs taking the time step constant.

Best regards,

Franco
Attached Images
File Type: png Courant.png (6.9 KB, 27 views)
File Type: png T_0.05.png (27.0 KB, 24 views)
File Type: png Tv02_0.05.png (32.9 KB, 22 views)
File Type: png U_0.05.png (25.0 KB, 12 views)
File Type: png Uv02_0.05.png (31.2 KB, 13 views)
francescomarra is offline   Reply With Quote

Reply


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
rhoPisoFoam stability problems at low Mach ivan_cozza OpenFOAM 1 October 1, 2010 11:03


All times are GMT -4. The time now is 22:55.