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

interFoam crashes after "FOAM Warning: increased timePrecision..."

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2015, 03:46
Default interFoam crashes after "FOAM Warning: increased timePrecision..."
  #1
New Member
 
anonymous
Join Date: Jun 2015
Posts: 2
Rep Power: 0
marivold is on a distinguished road
Hi

I am making a spillway tutorial for students, based on this case http://www.hpc.ntnu.no/display/hpc/O...singinParaview, but modified to make the weir look like a proper one.

I forgot to make sure that the initial alpha values were correct (setFieldsDict), which resulted in a weird looking block of water hanging in the air at the downstream side of the weir at time step 0, but it splashed down nicely and did not affect the simulation. However since it looked amateurish, I wanted to change it so the water would be contained upstream of the weir at the initial stage.

Sadly, interFoam crashes every time now. First I get several warnings like this:

--> FOAM Warning :
From function Time: : operator++()
in file db/Time/Time.C at line 1055
Increased the timePrecision from 11631 to 11632 to distinguish between timeNames at time 1.456270037
Time = 1.456270036763853248373834503581747412681579589843 75

I have tried increasing timePrecision in controlDict and many other different things, but so far I have failed. I do not have a lot of experience using OpenFOAM, so help would be very much appreciated!

Does anyone have an idea of why I get these warnings and what I can do to fix it? Files attached, let me know if there is something missing that is of interest.
Attached Files
File Type: txt controlDict.txt (1.3 KB, 14 views)
File Type: txt setFieldsDict.txt (1.1 KB, 4 views)
File Type: txt snappyHexMeshDict.txt (10.8 KB, 3 views)
marivold is offline   Reply With Quote

Old   July 6, 2015, 15:12
Default
  #2
MSF
New Member
 
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12
MSF is on a distinguished road
Hello,

your time step is set so your max Co-Number is lower than 0.5 (see Control Dict), if you have some error and your velocity u grows fast delta t is also reduced fast. In your case the time step is way too small. To distinguish between two time steps OpenFoam increases timePrecision. But this is just a syndrome and not your error. Further increasing timePrecision wont help - the error is somewhere else.

Greetings
MSF is offline   Reply With Quote

Old   November 23, 2015, 05:53
Default
  #3
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 196
Rep Power: 17
vatavuk is on a distinguished road
Hi Marivold,

The spillway tutorial was developed for version 2.1. In version 2.3, there were several modifications to interFoam. I spent some time to make the tutorial run in version 2.3.

If anyone is interested, the file is attached below.

Best Regards,
Paulo
Attached Files
File Type: zip spillway_m.zip (20.3 KB, 19 views)
vatavuk 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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 18:13.