|
[Sponsors] |
October 25, 2017, 09:17 |
Reset Time Step
|
#1 |
Senior Member
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17 |
For a transient problem, I would like to use the solution of previous simulation as initialization. That works, aparat from that I have the time from the previous solution. How can I resest the time step to zero?
Here is the solution: In the TUI type with brackets: (rpsetvar 'flow-time 0) query current time step (rpsetvar 'flow-time) |
|
September 21, 2018, 12:36 |
|
#2 |
New Member
Peter Gasparovic
Join Date: Nov 2014
Location: Kosice, Slovak Republic
Posts: 1
Rep Power: 0 |
Both values should be reset:
(rpsetvar 'flow-time 0) (rpsetvar 'time-step 0) (their value is stored in .dat file) To query their values: (rpgetvar 'flow-time) (rpgetvar 'time-step) |
|
Tags |
time step, transient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |