|
[Sponsors] |
how to decrease time step based on previous result in openfoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2013, 06:35 |
how to decrease time step based on previous result in openfoam
|
#1 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Hi
how to decrease time step based on previous result in openfoam? for example, at first, I set deltaT=0.1, and runed to 10, then I want to change deltaT to 0.01, and begin from time 10, what should I do? I changed the deltaT to 0.01 in system/controlDIC, but find it just ran 10 times 10.01,not from 10.01 to 10.10. Is that correct? What should I do? Thank. |
|
September 25, 2013, 07:31 |
|
#2 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
It seems because of time precision. I am wondering if there are any files except the uniform/time in the output folder would record time precision? I successfully change the deltaT in the same folder, but failed to do so by cp previous result from another folder. I am not sure the reason.
|
|
September 26, 2013, 05:21 |
|
#3 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Please post your system/controlDict. The relevant parameters are startFrom, startTime, stopAt, endTime, deltaT, writeControl and writeInterval. Perhaps also adjustTimeStep.
|
|
September 26, 2013, 07:34 |
|
#4 | |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Quote:
startTime 0.0; stopAt endTime; endTime 2000.0; deltaT 0.00001; writeControl runTime; writeInterval 10; cycleWrite 1; writeFormat ascii; writeCompression uncompressed; timeFormat general; timePrecision 8; |
||
September 26, 2013, 18:17 |
|
#5 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
I do not know what cycleWrite means. Otherwise you might want to start from the tutorials, e.g. simpleFoam/motorBike:
Code:
startFrom latestTime; startTime 0.0; stopAt endTime; endTime 10.1; deltaT 0.01; writeControl timeStep; writeInterval 1; |
|
September 27, 2013, 17:56 |
|
#6 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Have you tried before?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 04:41 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |