|
[Sponsors] |
How to continue to run previous CFD program using CFX/Solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 26, 2012, 09:24 |
How to continue to run previous CFD program using CFX/Solver
|
#1 |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
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! |
|
July 26, 2012, 09:44 |
|
#2 |
New Member
Ismael
Join Date: Nov 2011
Posts: 13
Rep Power: 14 |
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. |
|
July 26, 2012, 10:16 |
|
#3 | |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
Quote:
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! |
||
July 26, 2012, 10:52 |
|
#4 | |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
Quote:
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! |
||
July 26, 2012, 11:00 |
|
#5 |
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20 |
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. |
|
July 26, 2012, 11:07 |
|
#6 | |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
Quote:
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! |
||
July 26, 2012, 13:27 |
|
#7 |
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20 |
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) |
|
July 26, 2012, 16:46 |
|
#8 |
Member
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14 |
Watch out so the HD doesn't run out of space.
|
|
July 27, 2012, 04:35 |
|
#9 | |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
Quote:
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! |
||
July 27, 2012, 04:36 |
|
#10 |
Member
yang
Join Date: Jun 2012
Posts: 39
Rep Power: 13 |
||
July 27, 2012, 06:28 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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. |
|
July 27, 2012, 08:08 |
|
#12 | |
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20 |
Quote:
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 |
||
September 6, 2013, 02:33 |
|
#13 |
Senior Member
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14 |
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 |
|
September 6, 2013, 10:21 |
|
#14 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
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. |
|
November 30, 2015, 04:15 |
How to restart simulation in Ansys Fluent?
|
#15 |
New Member
parham
Join Date: Oct 2015
Posts: 24
Rep Power: 10 |
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. |
|
November 30, 2015, 04:38 |
|
#16 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12 |
Did you get an error message? Maybe try the Fluent forum - you're posting here in the CFX forum...
|
|
|
|
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 |