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

feature or bug - deltaT issue

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 9, 2012, 12:11
Default
  #21
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
You can open another bug report with a feature request
wyldckat is offline   Reply With Quote

Old   January 9, 2012, 18:11
Default
  #22
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
You can re-open the bug report I think (scroll down the page).
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   January 10, 2012, 04:38
Default
  #23
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by alberto View Post
You can re-open the bug report I think (scroll down the page).
Nope, only the original poster can re-open his/her own bug report. And I've reported before about this and... see for yourself: http://www.openfoam.com/mantisbt/view.php?id=228
wyldckat is offline   Reply With Quote

Old   January 10, 2012, 09:51
Default
  #24
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Nope, only the original poster can re-open his/her own bug report. And I've reported before about this and... see for yourself: http://www.openfoam.com/mantisbt/view.php?id=228
Hmm. I add this as a reason to prefer bugzilla to mantis ;-)
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   January 25, 2012, 19:57
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Alberto and Daniel,

Quote:
Originally Posted by alberto View Post
Hmm. I add this as a reason to prefer bugzilla to mantis ;-)
I think mantis has an option for this... but I'm not 100% certain about this

By the way, to close the loop on this thread, a proper solution has been implemented for the issue that lead to the creation of this thread! Seen here: http://www.openfoam.com/mantisbt/view.php?id=382#c950 - the aforementioned commit is this one: https://github.com/OpenFOAM/OpenFOAM...e6cf8aa2c9bf39

Apparently the solution was a lot simpler than I first deduced... I thought there would be far more logical/cyclic issues with these variables, but I didn't look deep enough into an actual solution

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 25, 2012, 20:19
Default
  #26
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
It's good to see Henry's revision.

Code:
    if (timeDict.readIfPresent("deltaT", deltaT_))

    // Read and set the deltaT only if timestep adjustment is active

    // otherwise use the deltaT from the controlDict

    if (controlDict_.lookupOrDefault<Switch>("adjustTimeStep", false))

     {
        deltaTSave_ = deltaT_;
        deltaT0_ = deltaT_;

        if (timeDict.readIfPresent("deltaT", deltaT_))
        {
            deltaTSave_ = deltaT_;
            deltaT0_ = deltaT_;
        }
     }
To change deltaT, "Go to controlDict" is a user's most natural selection.
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   November 1, 2012, 03:19
Default What would be the reason for this
  #27
Member
 
Suranga Dharmarathne
Join Date: Jan 2011
Location: TX, USA
Posts: 39
Rep Power: 6
sdharmar is on a distinguished road
Hi Bruno, Daniel, Albreto and others,

I created tempPimpleFoam solver adding T field into basic pimpleFoam. And I tested it for pitzDaily tutorial case. But when I run the actual case it gave me the following error massage after running few iterations.

deltaT = 1.58835e-65
--> FOAM Warning :
From function Time:erator++()
in file db/Time/Time.C at line 1010
Increased the timePrecision from 145 to 146 to distinguish between timeNames at time 0.00166302
Time = 0.001663021666070488464861387711835050140507519245 147705078125



I could see that deltaT is keep on reducing and timePrecision value was adjusting in every timestep.

Sorry I can not attach the test case since the forum file size is very small.

Any idea would be appreciated.
Best regards,
Suranga.
sdharmar is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature Capture Problem brunob ANSYS Meshing & Geometry 0 July 21, 2011 04:17
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 08:27
for developers: bug or feature? akarak CD-adapco 0 October 22, 2009 02:47
Maybe a bug in CFX12.0 BETA? frank CFX 4 November 26, 2008 19:08
Bug or a feature of OF15 rafal OpenFOAM Bugs 5 July 25, 2008 05:25


All times are GMT -4. The time now is 23:21.