|
[Sponsors] |
Change writecontrol from "runTime" to"timesteo" after certain time automatically |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 26, 2016, 08:54 |
Change writecontrol from "runTime" to"timesteo" after certain time automatically
|
#1 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Hello
I would like to run simulation for rumtime with data saved at bigger time interval and I am using runTime for that.. After certain time I would like to store it at much smaller intervals at each timestep. Would it be possible to switch from "runtime" to"timesteo" automatically with some if statements in controldict I want something like: writecontrol==runTime; if ( time> 100) writecontrol=timestep end How to do it in OF and is it possible to be done in controldict as the number "100" may vary with cases and its a bad idea to update it in the.C file
__________________
Regards Manu |
|
July 26, 2016, 13:08 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
take a look here:
http://openfoam.org/release/2-0-0/ru...e-compilation/ the first one seems to be what you want to do |
|
July 27, 2016, 04:58 |
|
#3 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Thanks Mahdi..I will try it
__________________
Regards Manu |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 16, 2019 23:12 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 07:09 |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 13:52 |