|
[Sponsors] |
controlDict endTime not updated using runTimeModifiable |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2014, 07:07 |
controlDict endTime not updated using runTimeModifiable
|
#1 |
Senior Member
|
Hi,
I am having a slightly troubling problem. I am trying to update the simulation endTime in the controlDict during the simulation, but the updated controlDict file is not read... solver: simpleFoam openFoam: 2.2.1 (downloaded binaries) Linux/ubuntu I am running on amazon EC2, which I think may probably be the reason behind the issue. I tried looking at the fileModificationChecking parameter as per http://www.openfoam.org/docs/user/co...plications.php. I could try timeStamp and timeStampMaster to no better effect, but could not try inotify (the binaries are not compiled with it). Any idea? Thanks in advance. Julien
__________________
--- Julien de Charentenay |
|
January 18, 2014, 13:42 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Julien,
A few questions:
Bruno
__________________
|
|
January 19, 2014, 02:34 |
|
#3 | ||
Senior Member
|
Thanks for replying.
Quote:
Yes. There is plenty of time between the update to the controlDict and the simulation end - this being considered I was stopping the simulation manually (Ctrl-C) before the simulation end when I was seeing that the simulation should have stopped... I did check the date using "ls -l", which showed that the date of the file was changing. But I was not sure if there may not be a better utility. Quote:
__________________
--- Julien de Charentenay |
|||
January 19, 2014, 12:11 |
|
#4 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Julien,
Quote:
I thought about this possibility due to a very recent commit: https://github.com/OpenFOAM/OpenFOAM...70ffb4ac7429a3 - which has the comment: Quote:
Code:
regIOobject::fileModificationSkew Best regards, Bruno
__________________
|
|||
December 8, 2023, 00:12 |
|
#5 | |
New Member
Boris
Join Date: Jan 2017
Posts: 26
Rep Power: 9 |
Quote:
Sorry for the deter of the post, but this just helped me a ton and wanted to post here in case someone has the same issue. I was quickly modifying my controlDict file but the changes never were registered. It turns out setting the skew to 0 allowed that! Thanks! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RunTimeModifiable did not work | maka | OpenFOAM Running, Solving & CFD | 5 | July 26, 2021 17:56 |
No Wall pressure from OpenFOAM 2.2.0 | musahossein | OpenFOAM Post-Processing | 11 | October 1, 2013 15:08 |
controlDict in interFOAM | amin66 | OpenFOAM Pre-Processing | 1 | July 10, 2012 12:08 |
Forces not calculated when including a library in controlDict | fusij | OpenFOAM | 2 | May 13, 2011 08:25 |
writing controlDict as otherfields | ubaid | OpenFOAM | 5 | September 29, 2010 08:28 |