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

runTimeModifiable

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 12, 2012, 06:10
Default runTimeModifiable
  #1
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 153
Rep Power: 5
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, 08:38
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
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.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   November 12, 2012, 09:45
Default
  #3
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 153
Rep Power: 5
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, 11:27
Default
  #4
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 153
Rep Power: 5
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!
Djub 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
runTimeModifiable directories daniquefintelman OpenFOAM Running, Solving & CFD 0 August 23, 2012 04:55
RunTimeModifiable did not work maka OpenFOAM Running, Solving & CFD 4 November 18, 2008 09:05


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