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

Restarting a CFX simulation from last stop

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

Like Tree3Likes
  • 1 Post By RicochetJ
  • 1 Post By oj.bulmer
  • 1 Post By Lance

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2013, 10:40
Default Restarting a CFX simulation from last stop
  #1
Member
 
Karthick Selvam
Join Date: Oct 2012
Location: Germany
Posts: 48
Rep Power: 4
selvam2487 is on a distinguished road
Send a message via Skype™ to selvam2487
Hi,

I am running a transient simulation in ANSYS CFX with a total time of 15 secs and a time step of 0.001 sec. But the wall clock time allowed in my university cluster is 24 hours after which I have to start the simulation from the point where it stopped. I am new to doing transient simulations and do not know
much as to how to do this. Can any one explain me how to do this?

Thanks in advance.

P.S: I searched this forum for a similar thread, but could not find one. I apologise if the same problem is already present in this forum.

Regards,
Karthick
selvam2487 is offline   Reply With Quote

Old   May 4, 2013, 12:55
Default
  #2
Senior Member
 
RicochetJ's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 290
Rep Power: 6
RicochetJ is on a distinguished road
I don't have cfx open infront of me so I'm trying to remember by memory.


If you want to restart from the last timestep and simulation time then:
- in cfx transient settings leave initial time set to automatic
- remove any global initialisation parameters you have set
- go to the solver and before you run the simulation give the .res file from the previous run as the initial coconditions, and make sure you keep the "continue history" check box on.

That should work.
selvam2487 likes this.
RicochetJ is offline   Reply With Quote

Old   May 5, 2013, 06:41
Default
  #3
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 475
Rep Power: 11
oj.bulmer will become famous soon enough
To add to Ricochet's comment, you can use both "res" and "trn" files to resume your solution.

OJ
selvam2487 likes this.
oj.bulmer is offline   Reply With Quote

Old   May 5, 2013, 07:39
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,832
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Another thing to consider - you can use the cfx5stop command to stop a run in progress. It will shut down the slover and write a complete results file of whereever it got to. If you want to be clever you can set up a timed job (maybe using cron) to execute cfx5stop just before your time is up. Make sure you give it enough time to complete the timestep it is working on and write the results file.
ghorrocks is offline   Reply With Quote

Old   May 6, 2013, 02:42
Default
  #5
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 523
Rep Power: 11
Lance is on a distinguished road
And to add to Glenn's comment there is no need for cfx5stop (and cron) if you use the 'Elapsed Wall Clock Time Control/Maximum Run Time' in Solver Control.
However I've found that it can be a bit unreliable if you are using many CPU cores (>100).
Lance is offline   Reply With Quote

Old   May 27, 2013, 08:04
Default
  #6
New Member
 
Balit
Join Date: May 2013
Posts: 1
Rep Power: 0
oomourad is on a distinguished road
- The first version was released in what year CFX
- What programming language CFX
- What is an advection
- What are the discretization schemes proposed by CFX

Last edited by oomourad; May 29, 2013 at 08:45.
oomourad is offline   Reply With Quote

Old   May 27, 2013, 08:17
Default
  #7
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 523
Rep Power: 11
Lance is on a distinguished road
Quote:
Originally Posted by oomourad View Post
what art schem discritisation used by CFX-code
shame on you for breaking almost every forum rule.
Before you post a question please read this
http://www.cfd-online.com/Forums/cfx/announcements.html
Have you even opened the manual?
Mazze[ITA] likes this.
Lance is offline   Reply With Quote

Old   September 5, 2014, 09:09
Default
  #8
Member
 
Lorenzo Mazzei
Join Date: Dec 2010
Posts: 34
Rep Power: 6
Mazze[ITA] is on a distinguished road
Quote:
Originally Posted by RicochetJ View Post
I don't have cfx open infront of me so I'm trying to remember by memory.


If you want to restart from the last timestep and simulation time then:
- in cfx transient settings leave initial time set to automatic
- remove any global initialisation parameters you have set
- go to the solver and before you run the simulation give the .res file from the previous run as the initial coconditions, and make sure you keep the "continue history" check box on.

That should work.
Hi Ricochet,

what is the problem related to the initialisation parameters? Performing a restart the initialisation should be bypassed, right?
Mazze[ITA] is offline   Reply With Quote

Old   September 9, 2014, 10:45
Default
  #9
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 475
Rep Power: 11
oj.bulmer will become famous soon enough
I think when you restart the simulation the default option is to initialize from the current results. If you want to initialize from any other results file, then specify its path. But if it is a completely new run that you are after, then just go to Workbench and "reset" the solution tab. Then the initialization will happen from boundaries, that is, fresh run.
oj.bulmer is offline   Reply With Quote

Old   September 9, 2014, 11:00
Default
  #10
Member
 
Lorenzo Mazzei
Join Date: Dec 2010
Posts: 34
Rep Power: 6
Mazze[ITA] is on a distinguished road
Quote:
Originally Posted by oj.bulmer View Post
I think when you restart the simulation the default option is to initialize from the current results. If you want to initialize from any other results file, then specify its path. But if it is a completely new run that you are after, then just go to Workbench and "reset" the solution tab. Then the initialization will happen from boundaries, that is, fresh run.
I was referring to the standalone version of CFX, sorry if I did not mention it.
Mazze[ITA] is offline   Reply With Quote

Reply

Tags
restart, transient

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Verifying results for a wind turbine blade simulation in ANSYS CFX Joystix CFX 3 April 27, 2012 17:52
nucleate boiling simulation in CFX Anil CFX 3 August 25, 2010 14:18
CFX steady simulation gharek CFX 1 April 7, 2010 18:41
2D simulation - ICEM meshing for CFX question Ben Makhal CFX 5 April 11, 2007 08:44
Simulation of turbine cascade in CFX. Jonas Pedro Caumo CFX 0 December 9, 2006 14:54


All times are GMT -4. The time now is 07:33.