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

restart simulation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2009, 06:52
Default restart simulation
  #1
New Member
 
Andrej Hoyningen
Join Date: Jul 2009
Posts: 22
Rep Power: 8
darookie is on a distinguished road
Hello everybody,

I am doing a steady state simulation with a batch file.
After a 1800 iterations the solver did not give any new results out.
The solver did not stopped or crashed, so no .bak or .res file has been created.
My questions are:
  1. Can I use any file like the mon, .out, .trk or .rg2 file to restart the simulation?
  2. How can I stop a batch run, because the prompt window does not accept any input?
Thanks for your help,

Andrej
darookie is offline   Reply With Quote

Old   November 18, 2009, 10:37
Default stop a calculation to have a results file
  #2
New Member
 
Bruyère
Join Date: Oct 2009
Posts: 9
Rep Power: 7
nellio75 is on a distinguished road
Hello,

I think you cannot use the .mon files and so on. Moreover, if you use a windows OS, you can do "ctrl alt supp" and choose for the task manager, in the processes menu, order your processes by increasing CPU time and you will find your calculation (.exe). But if you kill your calculation there will be no results file.
With Linux use the command "kill -9 'number for your process calculation' ": you have the list of your processes with the command "top".

In other way your calculation seems to have an error if you can't visualise your results. Maybe you have to review your boundary conditions

I hope I answer your question.

Bye
nellio75
nellio75 is offline   Reply With Quote

Old   November 18, 2009, 12:04
Default
  #3
New Member
 
Andrej Hoyningen
Join Date: Jul 2009
Posts: 22
Rep Power: 8
darookie is on a distinguished road
Thank you nellio. So i have to run it again. I am running the simulations under windows operation system.

I looked at the task manager and the programm solver-hpimpi.exe had just 0% of cpu use and just occupied disk space. How can this happen
darookie is offline   Reply With Quote

Old   November 18, 2009, 18:02
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Quote:
Can I use any file like the mon, .out, .trk or .rg2 file to restart the simulation?
No. The only files which can contain the information required for a restart are .def, .res, .trn, .bak.

Quote:
How can I stop a batch run, because the prompt window does not accept any input?
The nicest way to stop a running simulation is to run the cfx5stop command. You can also do this by loading up the run in solver manager and pressing stop. This will nicely exit all tasks and shut down properly.

Sometimes you need to kill the job with the task manager (in Windows) or kill -9 (in Linux). Be aware that you will then have to manually remove the tasks off all nodes (if parallel) and probably some sub-tasks.

Quote:
solver-hpimpi.exe had just 0% of cpu use
This means you are doing a hp-mpi simulation but it is locked up. Sometimes it unlocks itself and continues, sometimes not. It can lock for lots of reasons:
1) It is trying to grab more memory than is available on the machine so is starting to use swap (disk) RAM. This is very slow and means the CPU load fades to almost zero but the hard drive will be flogging itself.
2) Some problem in your parallel setup has stuffed the job.
3) Some problem in your simulation setup has stuffed the job.
ghorrocks is offline   Reply With Quote

Old   November 19, 2009, 05:37
Default
  #5
New Member
 
Andrej Hoyningen
Join Date: Jul 2009
Posts: 22
Rep Power: 8
darookie is on a distinguished road
Thank you very much Glenn, now I understand what has happened
darookie is offline   Reply With Quote

Old   November 19, 2009, 05:57
Thumbs up restart
  #6
New Member
 
Bruyère
Join Date: Oct 2009
Posts: 9
Rep Power: 7
nellio75 is on a distinguished road
well done ghorrocks, I haven't thought about the file locking.

bye everybody
nellio75 is offline   Reply With Quote

Old   January 13, 2013, 07:44
Default how to restart after power failure
  #7
New Member
 
suman
Join Date: Jan 2013
Posts: 6
Rep Power: 4
smnaryal is on a distinguished road
hello guys

Due to power failure, my pc shut down and the simulation was interrupted. Till now it has return 8 '.trn' files; and it is at 205th time step.

Is there any possibility that i could continue the simulation from the above timestep?

Suman
smnaryal is offline   Reply With Quote

Old   January 13, 2013, 19:46
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
If these trn files contain enough variables to initialise the run and include the mesh then yes. If not, then no.

Please start a new thread for a new question in future.
ghorrocks is offline   Reply With Quote

Old   January 14, 2013, 03:18
Default
  #9
New Member
 
suman
Join Date: Jan 2013
Posts: 6
Rep Power: 4
smnaryal is on a distinguished road
Thank u Glenn and your advice is appreciated. Will keep that in mind.
smnaryal is offline   Reply With Quote

Reply

Tags
restart

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
Error when restart simulation zebu83 OpenFOAM 0 October 20, 2009 04:30
Restart Deforming Mesh Calculation Tristan CFX 0 June 22, 2009 18:34
Simulation Time in restart runs Elina CFX 3 January 21, 2009 04:57
Restart Simulation MAB FLOW-3D 1 October 31, 2008 11:26
Restart of FSI simulation V. Kumar CFX 3 July 20, 2006 13:23


All times are GMT -4. The time now is 15:39.