Icepak - file exchange options between Icepak and FLUENT
This solution provides guidelines and procedures to create a FLUENT case file in Icepak and postprocessing data files for Icepak within FLUENT.
This will summarize all the possible ways one can use the files written by the two products (Icepak and FLUENT) and how to use them.
o How Icepak saves the files:-
Please note that, Icepak always creates a directory (also known as project directory) where, it stores all the files. Thus, the files for a particular problem are encapulated/stored in a unique directory. When Icepak starts the iterations, it writes *.cas , *.dat and *.fdat files in the above directory. These are the FLUENT case and data files that one can read in FLUENT (externally).
CREATING THE FLUENT CASE FILE FROM ICEPAK:
Build and mesh the model in Icepak, and then go to Solution/Solve and select the don't start solver option.
This will create a file in the Icepak job directory called solution_id.cas - or similar.
Basically a file with an extension of ".cas" and name given by the solution id in the solve panel.
This file can then be read into Fluent, and you can make modifications to the turbulence model etc... This is due to the fact that, some icepak models may not be available in FLUENT. Thus, one may need to do some modifications, if required.
You can then initialize and run the model in FLUENT, and have the option to either post-process it in Fluent, or write out data that Icepak can use to post-process (this is only possible if the grid has not been modified).
RECREATING THE POST_PROCESSING FILES FOR ICEPAK:
To do this in the text interface of Fluent type
When prompted for a ICEM Domain file Name you need to type in
where solution_id is the name of the solution.
If I created a job called test in icepak, and started a solution with id test00 then this would create a file called test00.cas (known as the case file)
I could then read this into Fluent, and run a solution - save this as a .dat file (data file)
If I wanted to look at this in Icepak, I would type in the text window:
it would prompt me for the name of ICEM file - I would enter test00.resd
ICEM Domain file name [ ] test00.resd
Wrote 0 triangles.
Wrote 855 quads.
Writing face results...
Wrote Heat Flow Rate on 855 faces.
Wrote Heat Flux on 855 faces.
Wrote Temperature on 855 faces.
Wrote Mass Flux on 855 faces.
Writing node results...
Writing ICEM domain scalar "Pressure"
Wrote Pressure on 2160 nodes.
Writing ICEM domain scalar "Temperature"
Wrote Temperature on 2160 nodes.
Writing ICEM domain scalar "X Velocity"
Wrote X Velocity on 2160 nodes.
Writing ICEM domain scalar "Y Velocity"
Wrote Y Velocity on 2160 nodes.
Writing ICEM domain scalar "Z Velocity"
Wrote Z Velocity on 2160 nodes.
You can now go back to Icepak and post-process here if you wish.
HOW TO READ THE DATA FILE WRITTEN BY ICEPAK IN FLUENT?
The following is the procedure:
* Open the model in Icepak and mesh it
* Go to Solve--Run Solution and switch on "Don't start solver". Click "Start Solution".
* Icepak will write the .cas and udf (if necessary) file in the Icepak project directory which one can read in fluent
* If the solution is run for few iterations, then Icepak will generate ".dat" and ".fdat" file along with the" .cas" file. If you want to read the data file, you need to read "*.fdat" file in fluent and not the "*.dat" file.