CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Transient run continues from last time (when startover is desired)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2015, 12:12
Default Transient run continues from last time (when startover is desired)
  #1
Member
 
NC
Join Date: Jan 2015
Posts: 49
Rep Power: 11
bongbang is on a distinguished road
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)
Thank you!
bongbang is offline   Reply With Quote

Old   March 21, 2015, 16:34
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
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
Opaque is offline   Reply With Quote

Old   March 22, 2015, 23:05
Default
  #3
Member
 
NC
Join Date: Jan 2015
Posts: 49
Rep Power: 11
bongbang is on a distinguished road
Ah, that makes sense. Many thanks, Opaque.
bongbang is offline   Reply With Quote

Reply

Tags
transient analysis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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 11:08
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
Transient run taking too long time Alexander Tham Keat Fu CFX 3 June 20, 2012 06:53
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 21:20.