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

post-processing of the .cas.h5 files saved by fluent 2020

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By vinerm
  • 1 Post By piprus
  • 3 Post By basil2
  • 1 Post By kumar.119

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2020, 05:21
Default post-processing of the .cas.h5 files saved by fluent 2020
  #1
Member
 
志新高(Zhixin Gao)
Join Date: Aug 2014
Location: hz.China
Posts: 30
Rep Power: 12
zhixin is on a distinguished road
Hi,

I did some transient work using fluent 2020, and the format of the autosave files was .cas.h5.
When I planed to do some post-processing work using CFDpost, I found that the .cas.h5 files could not be opened. I also tested Tecplot, it could not open the file either.
So I was wondering how can I do the post-process work (Besides save the file as .cas).
Any help will be great.

Thanks.
zhixin is offline   Reply With Quote

Old   June 2, 2020, 09:42
Default Case File
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Case file only contains mesh and setup. Results are in data files. CFDPost may or may not be able to load HDF, but I'd expect Ansys to have made it possible. Else, write data file as dat.gz or export cdat from Fluent.
Niicho 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   June 5, 2020, 01:54
Default
  #3
Member
 
志新高(Zhixin Gao)
Join Date: Aug 2014
Location: hz.China
Posts: 30
Rep Power: 12
zhixin is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Case file only contains mesh and setup. Results are in data files. CFDPost may or may not be able to load HDF, but I'd expect Ansys to have made it possible. Else, write data file as dat.gz or export cdat from Fluent.
Thanks for your reply. Now I have saved new files as the older format. Just wonder why Cfdpost does not support .dat.h5 format.
zhixin is offline   Reply With Quote

Old   September 15, 2020, 14:43
Default
  #4
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
It's because EnSight does the job instead of CFDPost.
CFD-Post is coming to its end I believe, EnSight was bought just to fill this gap.
daku likes this.
piprus is offline   Reply With Quote

Old   September 15, 2020, 21:55
Default
  #5
New Member
 
Dico Nico
Join Date: Oct 2018
Posts: 12
Rep Power: 7
Diconico is on a distinguished road
I've faced the same problem. So, that I know, you have two options, if your simulations don't take too long to finish, do them again and create a report for CFD post, or, you can load them in fluent and save in .cas, manually, wich is painfully boring.
Diconico is offline   Reply With Quote

Old   March 28, 2021, 00:59
Default
  #6
New Member
 
Alexander
Join Date: Dec 2020
Posts: 8
Rep Power: 5
Alexander00 is on a distinguished road
Quote:
Originally Posted by Diconico View Post
I've faced the same problem. So, that I know, you have two options, if your simulations don't take too long to finish, do them again and create a report for CFD post, or, you can load them in fluent and save in .cas, manually, wich is painfully boring.
I'm facing the same problem in Ansys 2021 R1 and i want to view result files in techplot but it is not supporting .h5 cas and dat files.
Is there a way to save the result files in simple cas and data files?
please help.
Alexander00 is offline   Reply With Quote

Old   April 13, 2021, 21:00
Default
  #7
New Member
 
Basil Hunter
Join Date: Apr 2021
Posts: 1
Rep Power: 0
basil2 is on a distinguished road
Go to the File->Preferences in the “general” section, change the “Default Format for I/O” from “CFF” to “Legacy”

And then when you write the .cas and .dat files make sure to select the “.cas and .dat” option, and not the CFF format with .cas.h5 and .dat.h5
usr0830, gangadhar and zemfahs like this.
basil2 is offline   Reply With Quote

Old   April 20, 2021, 14:56
Default
  #8
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 120
Rep Power: 17
wsfowler is on a distinguished road
At Tecplot we've just released our Tecplot 360 2021 R1 Beta which includes support for the Ansys Fluent CFF (.cas.h5/.dat.h5) format. The official release should happen by mid-May 2021.

Visit www.tecplot.com and go to the "My Tecplot" link to download the Beta. This requires a portal account, which is free.

Let me know how the loader works for you!

Thanks,
Scott Fowler
Tecplot 360 Product Manager
wsfowler is offline   Reply With Quote

Old   June 29, 2021, 06:50
Default This is the solution to the problem.
  #9
New Member
 
ROBIN
Join Date: Nov 2019
Posts: 5
Rep Power: 6
kumar.119 is on a distinguished road
Quote:
Originally Posted by basil2 View Post
Go to the File->Preferences in the “general” section, change the “Default Format for I/O” from “CFF” to “Legacy”

And then when you write the .cas and .dat files make sure to select the “.cas and .dat” option, and not the CFF format with .cas.h5 and .dat.h5


This is the solution to the problem.
Thank you very much!
jiez likes this.
kumar.119 is offline   Reply With Quote

Old   September 24, 2022, 07:41
Default
  #10
New Member
 
Shrutika
Join Date: Sep 2022
Posts: 1
Rep Power: 0
shruts is on a distinguished road
Where can I find file--> preferences to change the default format?
Is it in the fluent?
shruts is offline   Reply With Quote

Old   September 24, 2022, 07:53
Smile Go to my video on this
  #11
New Member
 
ROBIN
Join Date: Nov 2019
Posts: 5
Rep Power: 6
kumar.119 is on a distinguished road
Here is a link to do so. The same I created to tackle this issue.


https://www.youtube.com/watch?v=uN09vQgkslI&t=81s
kumar.119 is offline   Reply With Quote

Old   September 24, 2022, 07:55
Default
  #12
New Member
 
ROBIN
Join Date: Nov 2019
Posts: 5
Rep Power: 6
kumar.119 is on a distinguished road
Quote:
Originally Posted by shruts View Post
Where can I find file--> preferences to change the default format?
Is it in the fluent?
Use this link to solve your issue:
https://www.youtube.com/watch?v=uN09vQgkslI&t=81s
kumar.119 is offline   Reply With Quote

Old   October 13, 2022, 05:47
Default [Fluent]convert .h5 to .dat, postprocessing using CFD-POST
  #13
New Member
 
Hsingtzu Wu
Join Date: Feb 2011
Posts: 24
Rep Power: 15
hsingtzu is on a distinguished road
I found a way to convert .h5 to .dat, which is accepted by CFD-POST.
I will explain with an example, say there are two files, FFF.gz.cas.h5 and FFF.gz.1.dat.h5.

1. Open “FFF.gz.cas.h5” using Fluent
2. File>Read>Data, choose “FFF.gz.1.dat.h5”
3. File>Write>Case and Data, choose where you like to save the files and click “OK”
4. Repeat 2. and 3. as needed
5. Open CFD-POST
6. Load Results file, choose either “FFF.gz.1.dat” or “FFF.gz.1.cat” to do postprocessing
hsingtzu is offline   Reply With Quote

Old   December 30, 2022, 14:38
Default Fluent 2020-R2 mesh type error, Tecplot
  #14
New Member
 
Join Date: Dec 2022
Posts: 4
Rep Power: 3
zemfahs is on a distinguished road
Quote:
Originally Posted by kumar.119 View Post
Here is a link to do so. The same I created to tackle this issue.


https://www.youtube.com/watch?v=uN09vQgkslI&t=81s
Thanks for this information. I watched this video but Ansys Fluent 2020 R2 doesn't have "default format for I/O" (only this option is absent).
When I export the data as Tecplot it gives an error as "Zone ID 18 in file "file.cas" has no nodes." I used Watertight Geometry mesh type in 3D. I couldn't get any images from the Tecplot. I've tried to save it with all kind of formats (including Ensight), however generally it gives an error about the mesh type "polyhexcore".

Has anyone encountered this error?
zemfahs is offline   Reply With Quote

Old   January 3, 2023, 12:49
Default
  #15
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 120
Rep Power: 17
wsfowler is on a distinguished road
zemfahs,

Are you able to use Tecplot 360's Fluent CFF (*.h5) data loader to load cas.h5/dat.h5 files directly? This data loader was introduced in Tecplot 360 2021 R1 (May 2021)

Thanks,
Scott
wsfowler is offline   Reply With Quote

Old   January 8, 2023, 15:10
Default
  #16
New Member
 
Join Date: Dec 2022
Posts: 4
Rep Power: 3
zemfahs is on a distinguished road
Thanks for answering wsfowler,
My fluent (2020 R2) doesn't save as .cas.h5 or dat.h5. It saves as .cas and .dat.
I also tried Tecplot 2022 version but it didn't work.

I have a 3D model in ANSYS 2020 R2. I ran it and got my results which were correct. But when I save my analysis as TEC file and try to open it with Tecplot 360 it looks like 2D. Then when I select 3D Cartesian it opens but this time Iso-Surfaces is passive. As far as I understand, the program assumes that my file is 2D. Because the program only sees the models sides, top, bottom, inlet and outlet. it can not see interior.

Then as a second way, I saved the data as .cas and .dat to open the file in Tecplot. However this time in Tecplot there is another error message for me 'Zone ID 44 in file "file.cas" has no nodes.'
zemfahs is offline   Reply With Quote

Old   January 11, 2023, 18:24
Default
  #17
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 120
Rep Power: 17
wsfowler is on a distinguished road
My understanding is that Ansys Fluent only exports the surface data when writing to Tecplot format. Tecplot 360 will load this data in 2D mode since there are no volume elements in the dataset. You can flip to a 3D view using the Plot Type control at the top-left of the user interface.

I'm concerned though that Tecplot 360 is having problems loading your .cas and .dat files. We should be able to load these files. If you're able to share your data with our support staff, that would be ideal - perhaps there's an issue with our data loader. Please contact support@tecplot.com.

Thanks,
Scott
wsfowler is offline   Reply With Quote

Old   June 7, 2023, 02:18
Default
  #18
New Member
 
Abbas Dorri
Join Date: Nov 2022
Posts: 7
Rep Power: 3
Abbas Dorri is on a distinguished road
very nice. My problem was also solved.
Abbas Dorri is offline   Reply With Quote

Old   August 18, 2023, 05:25
Default loading transient saved .dat.h5 to cfd-post
  #19
New Member
 
sai
Join Date: Aug 2023
Posts: 2
Rep Power: 0
saideh is on a distinguished road
I have a problem with loading the saved sequences all to the cfd post to have the evolution in time... it doesn't load it as all saved data files and keeps them all seperated. also, i chose the option to keep it as single case
saideh 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
How can I get a variable as output parameter from A UDF for post processing in fluent Oula Fluent UDF and Scheme Programming 9 November 2, 2018 05:35
post processing with Fluent Ema40 Fluent Multiphase 0 October 14, 2015 12:47
Post processing slice files for periodic pipe flow Dan1788 Tecplot 3 December 16, 2014 19:26
Need help in post processing of Slurry flow in Ansys Fluent jatin1990 FLUENT 0 November 5, 2014 14:11
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01


All times are GMT -4. The time now is 21:19.