|
[Sponsors] |
Transient run continues from last time (when startover is desired) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 21, 2015, 13:12 |
Transient run continues from last time (when startover is desired)
|
#1 |
Member
NC
Join Date: Jan 2015
Posts: 49
Rep Power: 11 |
Although I am fairly new to Ansys, I have done many dozens of transient runs before. Every time, if a the CFX-Pre setup is modified and a run executed, the run restarts as expected from the specified initial time and ends at the specified duration. The monitors plot is reset and there's no evidence of continuance from the last run.
My latest run, however, appears to continue from last completed run even though I didn't do tell it to. The simulation time adds on that of the last run, the monitors plot continues, and the run quickly terminates because the duration is reached (duh!). How can I force the solver to restart at the initial time? Here's the relevant code from the .out file. The initial time is still 0, although I shortened the duration to 0.02225 [s] from 0.89 [s] in the previous run. Code:
ANALYSIS TYPE: Option = Transient EXTERNAL SOLVER COUPLING: Option = None END INITIAL TIME: Option = Automatic with Value Time = 0 [s] END TIME DURATION: Option = Total Time Total Time = 0.02225 [s] END TIME STEPS: Timesteps = 0.00445 [s] Option = Timesteps END END The simulation time is unexpectedly the sum of current time step to the last time step of the previous run. Code:
CFD Solver started: Sat Mar 21 12:20:25 2015 +--------------------------------------------------------------------+ | Convergence History | +--------------------------------------------------------------------+ ====================================================================== | Timestepping Information | ---------------------------------------------------------------------- | Timestep | RMS Courant Number | Max Courant Number | +----------------------+----------------------+----------------------+ | 4.4500E-03 | 7.32 | 43.20 | ---------------------------------------------------------------------- ====================================================================== TIME STEP = 201 SIMULATION TIME = 8.9445E-01 CPU SECONDS = 8.057E+04 (THIS RUN: 1 4.4500E-03 2.256E+01) ---------------------------------------------------------------------- COEFFICIENT LOOP ITERATION = 1 CPU SECONDS = 2.256E+01 ---------------------------------------------------------------------- | Equation | Rate | RMS Res | Max Res | Linear Solution | +----------------------+------+---------+---------+------------------+ | U-Mom | 1.00 | 4.1E-05 | 7.6E-04 | 1.9E-01 ok| | V-Mom | 1.00 | 3.7E-05 | 7.6E-04 | 1.9E-01 ok| | W-Mom | 0.98 | 3.8E-04 | 1.0E-02 | 7.6E-03 OK| | P-Mass | 0.68 | 6.9E-05 | 3.4E-03 | 8.6 9.7E-02 OK| When the first time step is solved, the solver terminates. Code:
CFD Solver finished: Sat Mar 21 12:21:56 2015 CFD Solver wall clock seconds: 9.0774E+01 ====================================================================== Termination and Interrupt Condition Summary ====================================================================== CFD Solver: Run duration reached (Maximum simulation time) |
|
March 21, 2015, 17:34 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33 |
Try the following (note the change of option for initial time)
Code:
ANALYSIS TYPE: Option = Transient EXTERNAL SOLVER COUPLING: Option = None END INITIAL TIME: Option = Value Time = 0 [s] END TIME DURATION: Option = Total Time Total Time = 0.02225 [s] END TIME STEPS: Timesteps = 0.00445 [s] Option = Timesteps END END |
|
March 23, 2015, 00:05 |
|
#3 |
Member
NC
Join Date: Jan 2015
Posts: 49
Rep Power: 11 |
Ah, that makes sense. Many thanks, Opaque.
|
|
Tags |
transient analysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
Transient run taking too long time | Alexander Tham Keat Fu | CFX | 3 | June 20, 2012 07:53 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |