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

runTimeModifiable

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Djub

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2012, 05:10
Default runTimeModifiable
  #1
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13
Djub is on a distinguished road
Hi everybody,
runTimeModifiable seems to not work.
I am running pimpleFoam, and my calculation was running since a week with a maxCo of 10.
I changed it slightly (to 11). Then it started to do bad things. For example, my probes file are bad: at the midification time, the line is incorrect (the line is interrupted by another, and a nother, and another... and then it is OK again). And my fields start to be ugly, and illogical: before the run time modification, my maxCo was 10, with a deltaT=0,08 s. and my computer was needing 40 minutes to calculate one second signal. And after the modification (allowing maxCo to be 15), deltaT was 0,09s and time speed about 2H by second!

runTimeModifiable doesnot work in my case. Or I did bad things?
Djub is offline   Reply With Quote

Old   November 12, 2012, 07:38
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Does the case behave any better if you start with maxCo 15? I'd guess not, and that maxCo 10 is the best you can do for your case.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 12, 2012, 08:45
Default
  #3
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13
Djub is on a distinguished road
hi akidess,
I just started the same calculation, from the point when I tried to runTime modify my controldict.
And strating again, it works fine, with maxCo=15. thus, it is not a problem of maxCo, but a problem of modifying on run time the dictionnaries.
Djub is offline   Reply With Quote

Old   December 13, 2012, 10:27
Default
  #4
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 13
Djub is on a distinguished road
OK I've got it!
In fact, I was doing really bad things: I was running something like
mpirun -n 6 pimpleFoam
instead of
mpirun -n 6 pimpleFoam -parallel

The first line is completely idiot: it launches 6 times the same calculations! BUT working on the same files ! Thus, when I was changing the controlDict, the different processes didnot read it at the same time so it make horrible things. But I was not because of runtimeModifiable ; it was because of the strange behavior of MPIrun lauched on the non-parallelized pimpleFoam application...

Thanks for help!
vonedelmann likes this.
Djub 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
RunTimeModifiable did not work maka OpenFOAM Running, Solving & CFD 5 July 26, 2021 16:56
runTimeModifiable directories daniquefintelman OpenFOAM Running, Solving & CFD 0 August 23, 2012 04:55


All times are GMT -4. The time now is 17:42.