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

How to restart from past time step, data disappears

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

Like Tree3Likes
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2020, 09:26
Question How to restart from past time step, data disappears
  #1
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
I would like to start my transient simulation from a given time step. I figured out that it works with File > Import > Data, but then all saved data of the time steps before disappear and I can't see the past results anymore. The files are even gone from the project folder. I save the data with autosave every time step (without saving the case file). Please help me, what am I doing wrong? How can I keep the data?
melona is offline   Reply With Quote

Old   March 9, 2020, 18:41
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,556
Rep Power: 21
AlexanderZ will become famous soon enough
To store data you can use autosave (which you did) or manually
file ->write -> data
to read data use
file -> read -> data (not import)

I've never heard, that data files could disappear from working directory
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   March 10, 2020, 15:10
Default
  #3
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
There is no Read > Data. Under Read there is only Profile, Scheme and Journal and some greyed out options (PDF, ISAT Table, DTRM Rays, View Factors). None of the available options show the desired FFF...dat.gz files. I'm using Workbench 2019 R2.

???

And yes, they really disappear. First, they are moved to the backup folder and after saving, they are deleted. I tried to copy them back into the folder but the project cant read them any more. I even asked a programmer to manipulate the project file to read them but that only leads to several errors and there must be a better way.

Thank you for your reply!
melona is offline   Reply With Quote

Old   March 10, 2020, 16:18
Default Import
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 32
vinerm will become famous soon enough
Some of the menus in Fluent change while used within WB. Options that usually appear in Read move to Import. As far as disappearance is concerned, that is the expected behavior if you start Fluent from setup cell. If the objective is to continue from a previous point, solution is to start from Solution cell.

No code is required to maintain files. Those can be easily copied anywhere. However, if procedure is followed correctly, this would not be required.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 10, 2020, 19:16
Default
  #5
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 375
Rep Power: 10
Светлана is on a distinguished road
Hi melona. If the files disappear from the working directory, I would suggest to create a simple test case. I.e. flow in a pipe with constant velocity at inlet and outlet. Make it run as transient. Enable auto-save. If the auto-save results still disappear in this simple case, please post the .cas file here. --Svetlana
Светлана is offline   Reply With Quote

Old   March 11, 2020, 08:20
Default
  #6
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
Hi Vinerm,
I know, I did start Fluent from Solution cell. I actually didn't even close the fluent window after calculation. But there is only the import option for data.


I guess the only way that's left is to just save the project in between and just close without saving when there is divergence. I'll loose some hours but the calculation takes weeks anyway. (Luckily I had a backup!)
Maybe it's a version bug or it's because it's an university license (not the student one, its a full version but not for commercial purpose)?



Can someone tell me if they actually have the File > Read > Data option in the Workbench 2019 R2 version?
melona is offline   Reply With Quote

Old   March 11, 2020, 08:30
Default Options in WB
  #7
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 32
vinerm will become famous soon enough
Within WB, it will always be File > Import > Data. If there is no specific requirement to run the cases in WB, I'd recommend running all Fluent simulations outside WB. User does not have much control in WB.
melona likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 11, 2020, 09:28
Default
  #8
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
How can I run it outside WB? Does that mean I have to create it with the old interface Mechanical ADPL? I can't open my WB project there.
melona is offline   Reply With Quote

Old   March 11, 2020, 09:33
Default Fsi?
  #9
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 32
vinerm will become famous soon enough
Are you running an FSI problem? If that is the case, then you better use WB. If not, then Mechanical or APDL have got nothing to do with it. Just start Fluent from the terminal, if using Linux, or from Start Menu, if using Windows. Load the case file that would already be existing in WB directories and run the simulation. Then, you will also have option to read case and data files under File > Read and not under File > Import.
melona likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 11, 2020, 10:02
Default
  #10
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
Okay, now I got it. It really works only within the fluent application outside workbench. Is there any way to import all of the results back into WB? I would love to work with the WB results cell.

Why didn't they implement it into WB??!!!

Thank you very much for your help!
melona is offline   Reply With Quote

Old   March 11, 2020, 10:10
Default Result Cell
  #11
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 32
vinerm will become famous soon enough
Result Cell is nothing by CFDPost. You can start CFDPost also outside WB and load .dat(.gz) files from Fluent. You can also export CFDPost specific .cdat files from Fluent using File > Export. These files are much smaller in size.
melona likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 11, 2020, 11:04
Default
  #12
New Member
 
Join Date: Mar 2020
Posts: 7
Rep Power: 2
melona is on a distinguished road
Thank you! That works well!

For anyone facing the same hussle, thats what I figured out further:
In CFD-post its file > load results, then find the FFF > Fluent folder and choose the last generated .dat.gz file. It will load all previous time steps, too. But only if you used the Read option in the Fluent application (without using workbench) like written above. It doesn't work with pasted files. Somehow CFD-Post can't put the data together again after they onces got deleted due to importing.
melona is offline   Reply With Quote

Old   March 11, 2020, 11:09
Default Putting data together
  #13
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 32
vinerm will become famous soon enough
CFDPost can put the data together only if the data file has list of previous files in it. If case quits in between, e.g., crashes due to divergence, the list is reset.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
autosave, data

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 39 July 1, 2020 10:13
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores puneet336 OpenFOAM Running, Solving & CFD 11 April 7, 2019 01:58
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


All times are GMT -4. The time now is 11:05.