[Updated June 2012, Kevin Colburn]
For users of Fluent version 14, there is now an export capability within Fluent14 to export particle data straight to our EnSight Measured data format. Fluent automatically updates a new .encas file with the new Measured information, and users can read this straight into EnSight. The steps within Fluent 14:
1. File -- > Export -- > Solution data. Choose the EnSight Format. This will write EnSight format files for the continuous phase (no particles).
2. File -- > Export -- > Particle History Data. Choose the EnSight Format, and the desired particle variables. Make sure that the .encas file from step 1 is selected (that is what is going to be modified for the new measured data information).
A screencast of this new capability is here : http://www.ceisoftware.com/wp-content/uploads/screencasts/Fluent14_Export_Particle_Data/Fluent14_Export_Particle_Data.html
Further tests are being carried out on this process, but initially it looks fairly solid, and a suggested method if users are using Fluent14.
The current recommended process for importing Fluent particle tracks into EnSight is as follows.
STEADY STATE DATA to fluent particle file
a. Load the .cas and .dat files into Fluent
b. Go to Display>Particle Tracks
c. Select report type to step by step
Report to: file
Select the injections
Select write at the bottom of the window and a Fluent Particle (file.part) will be written out
STEADY STATE DATA to EnSight measured data (chapter 25.20.2 Fluent Users Guide)
a. In Fluent GUI: "Solve/Particle History/Export Particle Data".
b. Select EnSight under "Type"
If you plan to export particle data to EnSight, you should first verify that
you have already written the files associated with the EnSight Case Gold
file type by using the File/Export... menu option
c. Select an appropriate category and variable under Export Variables.
d. Select a predefined injection under Injections.
e. Specify the Particle File name / directory for the exported data, using
the Browse... button.
f. If you selected EnSight under Type, you will need to specify the Encas
File name. Use the Browse... button to select the .encas file that was
created when you exported the file with the File/Export... menu option. The
selected file will be modified and renamed as a new file that contains
information about all of the related particle files that are generated
during the export process (including geometry, velocity, scalars, particle
and particle scalar files).
The name of the new file will be the root of the original file with .new
appended to it (e.g. if test.encas is selected, a file named test.new.encas
will be written). It is this new file that should be read into EnSight. If
you do not make a selection under Encas File, then you will need to create
an appropriate .encas file manually.
g. If you selected EnSight under Type, you will need to enter the No. of
Particle Time Steps.
h. Click Write to export the data. If you are exporting to EnSight, data
files will be written in .mpg and .mscl formats at every time step.
a. In Fluent GUI: "Display/Particle Tracks".
b. Select "Current Positions" under "Report Type". (Current positions is only
available for unsteady particle tracking and unsteady flow simulation)
c. Select "File" under "Report to" .
d. Select variable you want to color by and the injection !
e. Click on "Write" . You can save a ".part" file.
IMPORTING FLUENT PART FILE INTO ENSIGHT
a. Translate the file.part file into a measured data file using the
external CEI translator ‘flupart’ which is included in $CEI_HOME/ensight101/translators/fluent/Particles.
See the README for details.
b. Run EnSight, File>Open
Choose reader format Fluent
Choose the .cas file, click on the Set case button
Choose the .dat file, click on the Set data button
Click on the Format options tab
Choose the part.mea file
Click on the Set measured button
Click on Load all to load all parts into EnSight
You will have a Measured data part in EnSight which is all your particles