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

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

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

Reply
 
LinkBack Thread Tools 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: 5
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: 5
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: 5
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: 5
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: 475
Rep Power: 11
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: 5
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: 475
Rep Power: 11
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: 5
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: 5
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: 5
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: 10,658
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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: 475
Rep Power: 11
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: 120
Rep Power: 5
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: 236
Rep Power: 12
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

Reply

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
EULER-Forward-Method freak Main CFD Forum 4 June 12, 2001 09:19
CFD Design...The CFD Future John C. Chien Main CFD Forum 19 October 6, 1999 11:57
Is CFD Science or Art ? John C. Chien Main CFD Forum 36 October 5, 1999 12:58
CFD Salary CFD Main CFD Forum 15 September 4, 1999 14:04
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 02:21.