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

How to continue to run previous CFD program using CFX/Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2012, 09:24
Default How to continue to run previous CFD program using CFX/Solver
  #1
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Dear all,

I don't know why CFX-Solver stopped/crashed the running simulation at 256th step (transient state) after 10 days-running. I want to continue to run it until 600th step. If someone knows it, please tell me in detail.

Many thanks in advance!
wangy1767 is offline   Reply With Quote

Old   July 26, 2012, 09:44
Default
  #2
New Member
 
Ismael
Join Date: Nov 2011
Posts: 13
Rep Power: 14
ismael.s is on a distinguished road
If it crashed, theoretically you lost the results right?

If you didn't close the workbench (if you use it), you can open the solver and try to run again using 'current solution'. If the solver don't find the solution to continue, you should look for backups (if you made).

If you don't know where to look the backups, they are in 'name of the project_files/dp0/CFX??/CFX/CFX_00X.dir/XXX.BAK'

If they aren't there, maybe you have a temporary folder for your project, sometimes they are there until you save the project.

.BAK is the type of the backup file.

To use this backup, open the solver again, initial condition, specify initial condition (indicate the .BAK file you want to use).

Hope it helps somehow.
ismael.s is offline   Reply With Quote

Old   July 26, 2012, 10:16
Default
  #3
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Quote:
Originally Posted by ismael.s View Post
If it crashed, theoretically you lost the results right?

If you didn't close the workbench (if you use it), you can open the solver and try to run again using 'current solution'. If the solver don't find the solution to continue, you should look for backups (if you made).

If you don't know where to look the backups, they are in 'name of the project_files/dp0/CFX??/CFX/CFX_00X.dir/XXX.BAK'

If they aren't there, maybe you have a temporary folder for your project, sometimes they are there until you save the project.

.BAK is the type of the backup file.

To use this backup, open the solver again, initial condition, specify initial condition (indicate the .BAK file you want to use).

Hope it helps somehow.

Dear Ismael,
Many thanks for your quick reply!
Although I said "crashed", there are *.trn files until 256th step's trn file in *.dir file. Moreover, Workplace still shows "running".

Where is the option"current solution" in CFX-solver? I can't find it, please tell me detailed position e.g. under "File" or "Edit" etc. I used CFX not Workbench.

I also can't find *.Bak file in involved files, as why I said "crashed". How will I do to continue the simulation until 600th step?

If I find *.bak file, how could I continue this *.bak file after opening CFX-solver? Is it like as follows: File->Define run->select *.bak file in solver input file ->start run?

Many thanks in advance!
wangy1767 is offline   Reply With Quote

Old   July 26, 2012, 10:52
Default
  #4
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Quote:
Originally Posted by ismael.s View Post
If it crashed, theoretically you lost the results right?

If you didn't close the workbench (if you use it), you can open the solver and try to run again using 'current solution'. If the solver don't find the solution to continue, you should look for backups (if you made).

If you don't know where to look the backups, they are in 'name of the project_files/dp0/CFX??/CFX/CFX_00X.dir/XXX.BAK'

If they aren't there, maybe you have a temporary folder for your project, sometimes they are there until you save the project.

.BAK is the type of the backup file.

To use this backup, open the solver again, initial condition, specify initial condition (indicate the .BAK file you want to use).

Hope it helps somehow.

PLUS:
How to continue to run *.Bak file, meanwhile, we can change the previous initial conditions in CFX-Pre e.g. change transient time step from 600 to 1000 etc? If you know, Please tell me in detail.

Many thanks in advance!
wangy1767 is offline   Reply With Quote

Old   July 26, 2012, 11:00
Default
  #5
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I have seen this problem often and ditched Workbench after getting nauseous about its messy handling of transient simulations, especially if you are generating trn files frequently.

If you are simulating the standalone, set the directory.

1) Start CFD Solver, it shows you Define Run dialogue box.
2) Select solver input file as 256.trn
3) Select Initial values specification tick and use 256.trn as file name for the initialization file
4) Start the run

You may not see 256.trn if you are not saving the trn file at each timestep.
In that case, select the trn file with largest number.

You may want to ensure that it has chosen right directory to save new trn files, at the bottom.
oj.bulmer is offline   Reply With Quote

Old   July 26, 2012, 11:07
Default
  #6
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Quote:
Originally Posted by oj.bulmer View Post
I have seen this problem often and ditched Workbench after getting nauseous about its messy handling of transient simulations, especially if you are generating trn files frequently.

If you are simulating the standalone, set the directory.

1) Start CFD Solver, it shows you Define Run dialogue box.
2) Select solver input file as 256.trn
3) Select Initial values specification tick and use 256.trn as file name for the initialization file
4) Start the run

You may not see 256.trn if you are not saving the trn file at each timestep.
In that case, select the trn file with largest number.

You may want to ensure that it has chosen right directory to save new trn files, at the bottom.
Dear Oj.bulmer,

Many thanks for your answer. I have another question as follows:
How to continue to run *.Bak file, meanwhile, we can change the previous initial conditions in CFX-Pre e.g. change transient time step from 600 to 1000 etc? If you know, Please tell me in detail.

Many thanks in advance!
wangy1767 is offline   Reply With Quote

Old   July 26, 2012, 13:27
Default
  #7
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I didn't understand your question clearly, yet I would attempt.

To use *.bak file:
I guess you can use the same sequence as in my earlier post. Just instead of trn file, use bak.

To change time step in transient:
YOu dont need to go to CFX Pre to change the time step. You can do it using Tools>>Edit run in progress in Solver manager during the run.

Just make sure you save and close the dialogue box after you do the changes (time step etc)
oj.bulmer is offline   Reply With Quote

Old   July 26, 2012, 16:46
Default
  #8
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14
Felggv is on a distinguished road
Watch out so the HD doesn't run out of space.
Felggv is offline   Reply With Quote

Old   July 27, 2012, 04:35
Default
  #9
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Quote:
Originally Posted by oj.bulmer View Post
I have seen this problem often and ditched Workbench after getting nauseous about its messy handling of transient simulations, especially if you are generating trn files frequently.

If you are simulating the standalone, set the directory.

1) Start CFD Solver, it shows you Define Run dialogue box.
2) Select solver input file as 256.trn
3) Select Initial values specification tick and use 256.trn as file name for the initialization file
4) Start the run

You may not see 256.trn if you are not saving the trn file at each timestep.
In that case, select the trn file with largest number.

You may want to ensure that it has chosen right directory to save new trn files, at the bottom.
Dear oj.bulmer,

Many thanks!
I followed your processes to continue running it, i.e. solver input file as 256.trn and using 256.trn file as file name for the initialization values 1's settings. But after "Start Run", it shows


+================================================= ===================+
| ****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input and Output |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| REDHDR: locating dataset failed: what=G/NZN where=EVERY |
| |
| |
| |
| |
| |
+================================================= ===================+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX partitioner exited with return code 1. |
+--------------------------------------------------------------------+

Do you know what's reasons for this error?

Many thanks in advance!
wangy1767 is offline   Reply With Quote

Old   July 27, 2012, 04:36
Default
  #10
Member
 
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13
wangy1767 is on a distinguished road
Quote:
Originally Posted by Felggv View Post
Watch out so the HD doesn't run out of space.
Hi!
Thanks! But what do you mean? Especially HD?
wangy1767 is offline   Reply With Quote

Old   July 27, 2012, 06:28
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
HD=hard drive

If you save lots of backup files you will fill your hard drive pretty quickly. And if your hard drives fills then the solver cannot write anything to file and the solver will crash.
ghorrocks is offline   Reply With Quote

Old   July 27, 2012, 08:08
Default
  #12
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Quote:
Originally Posted by wangy1767 View Post
... But after "Start Run", it shows

+================================================= ===================+
| ****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input and Output |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| REDHDR: locating dataset failed: what=G/NZN where=EVERY |
| |
| |
| |
| |
| |
+================================================= ===================+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX partitioner exited with return code 1. |
+--------------------------------------------------------------------+

Do you know what's reasons for this error?...
Haven't heard of it earlier. Is there no other information above or below this error? Often CFX gives hints about where it found hurdles.

Meanwhile, if you are running CFX standalone, check the command prompt window that opens up with CFX standalone, to see a sign of "Out of memory." That is a sign of RAM running out. Also, as Felggv suggests, make sure you have enough space on harddisc. And saving the trn file at every timestep seems overkill, unless you want a fancy animation at the end. I would save trn results by time, typically say 0.5 seconds if my total simulation is lasting for 200 seconds. I can take time average values of last 70 seconds or so. While, even at 0.5 sec, animation is not that bad. But saves a hell of a space.

When I didnt know this, I ended up doing my first transient simulation occupying 173 GB, as I saved trn fiels every timestep!! Now thats ridiculous
oj.bulmer is offline   Reply With Quote

Old   September 6, 2013, 02:33
Default
  #13
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
monkey1 is on a distinguished road
The "locating dataset failed: what=G/NZN where=EVERY" occurred when I wanted to use inital value files where no mesh information was included. Meaning: When you define your .bak and .trn files you can restrict the number of Variables written to limit the use f disk space, but if you do not select "include mesh" for trn files or if you select an other option than "standard" for the bak file, CFX will NOT write out any Mesh information and therefore it will not be able to locate the Values of your variables.

same error will appear if you select for the results file smth else than "standard" and forget to check the option "include mesh". In this case you will see the error when trying to Post-Process...and the only way to get rid of it is to rerun the simulation with correct output options
monkey1 is offline   Reply With Quote

Old   September 6, 2013, 10:21
Default
  #14
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
As a guideline, you should use backup files (.bak) that export everything every now and then (every 100th iteration, every 30 min, you name it) and also use transient files (.trn) limited to only the variables you want, not exporting the mesh with it. Although trn and bak files function in the same way (and are pretty much interchangeable), they are located in different tabs for a reason.

For detailed information at every timestep from a few quantities, use monitor points.

This is the best way to have all the data you need without getting hit by too much disk space usage.
brunoc is offline   Reply With Quote

Old   November 30, 2015, 04:15
Default How to restart simulation in Ansys Fluent?
  #15
New Member
 
parham
Join Date: Oct 2015
Posts: 24
Rep Power: 10
mk091088 is on a distinguished road
Hi all,
I have the same question but in Ansys Fluent. My simulation had run for 3 days, unfortunately it was stopped for obscure reason, thus I have to re-run it again from the last time step. Any help would be appreciated.
mk091088 is offline   Reply With Quote

Old   November 30, 2015, 04:38
Default
  #16
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
Did you get an error message? Maybe try the Fluent forum - you're posting here in the CFX forum...
-Maxim- is offline   Reply With Quote

Reply


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
CFD Salary CFD Main CFD Forum 17 January 3, 2017 17:09
CFD Design...The CFD Future John C. Chien Main CFD Forum 20 November 19, 2015 23:40
EULER-Forward-Method freak Main CFD Forum 4 June 12, 2001 09:19
Is CFD Science or Art ? John C. Chien Main CFD Forum 36 October 5, 1999 12:58
Which is better to develop in-house CFD code or to buy a available CFD package. Tareq Al-shaalan Main CFD Forum 10 June 12, 1999 23:27


All times are GMT -4. The time now is 12:32.