[Fluent Inc. Logo] return to home search
next up previous contents index

25.20.2 Importing and Exporting Particle History Data

FLUENT allows you to export particle history data as your solution progresses, and allows you to import particle history data for display purposes.



Exporting Particle History Data


Particle history data can be exported for steady and unsteady flow solutions by selecting the Export Particle Data... option under the Solve/Particle History menu.

Solve $\rightarrow$ Particle History $\rightarrow$ Export Particle Data...

This displays the Export Particle Data panel (Figure  25.20.4).

Figure 25.20.4: The Export Particle Data Panel
figure

Steady Flow Solutions

After you have run a steady flow solution and acquired particle history data, export the data by performing the following steps in the Export Particle Data panel:

1.   Choose the Type of file you want to export by selecting

one of the following:

  • Standard for FIELDVIEW format

  • EnSight format (not available when Unsteady Particle Tracking is enabled under the Define/Models/Discrete Phase... menu option)

  • Geometry for .ibl format

figure   

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 (see Section  4.12.9).

2.   Select an appropriate category and variable under Export Variables.

3.   Select a predefined injection under Injections.

4.   Specify the Particle File name / directory for the exported data, using the Browse... button.

5.   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.

6.   If you selected EnSight under Type, you will need to enter the No. of Particle Time Steps.

7.   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.

8.   Click Close to close the panel.

Unsteady Flow Solutions

Before you have run an unsteady flow solution, you can set up the solver to export particle history data as it iterates by performing the following steps in the Export Particle Data panel:

1.   Choose the Type of file you want to export by selecting one of the following:

  • Standard for FIELDVIEW format

  • EnSight format

figure   

If you plan to export particle data to EnSight, you should first verify that you have already written the files associated with EnSight Case Gold file type by using the File/Export... menu option (see Section  4.12.9).

2.   Select an appropriate category and variable under Export Variables.

3.   Specify an appropriate number under Frequency.

4.   Select a predefined injection under Injections.

5.   Specify the Particle File name / directory for the exported data, using the Browse... button.

6.   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 after every time step 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.

7.   Click Apply to save the settings.

8.   Click Close to close the panel.

You may then run the solution using the Solve/Iterate... menu option. The particle data will be exported as it is generated. If you are exporting to EnSight, data files will be written in .mpg and .mscl formats at every time step.



Importing Particle History Data


To import particle history data in order to display the data in the graphics window, select the Import Particle Data... option under the Solve/Particle History menu.

Solve $\rightarrow$ Particle History $\rightarrow$ Import Particle Data...

This displays the Import Particle Data panel (Figure  25.20.5).

Figure 25.20.5: The Import Particle Data Panel
figure

1.   Click Read... to display a file selection dialog box where you can enter a file name and a directory that contains the imported data.

2.   Choose from the available import options by selecting Auto Range and/or Draw Grid under Options. If you prefer to restrict the range of the scalar field, turn off the Auto Range option (under Options) and set the Min and Max values manually beneath the Color by list.

3.   Choose to color the particle pathlines by any of the scalar fields in the Color by list.

4.   Select a pathline style under Style. To set pathline style attributes, click the Style Attributes... button. For more information about the pathline style types, see Section  28.1.4.

5.   The value of Steps sets the maximum number of steps a particle can advance. A particle will stop when it has traveled this number of steps or when it leaves the domain.

6.   If your pathline plot is difficult to understand because there are too many paths displayed, you can "thin out'' the pathlines by changing the Skip value.

7.   Click the Display button to draw the pathlines, or click the Pulse button to animate the particle positions. The Pulse button will become the Stop ! button during the animation, and you must click Stop ! to stop the pulsing.

8.   Click Close to close the panel.


next up previous contents index Previous: 25.20.1 Animating the Solution
Up: 25.20 Additional Options in
Next: 25.20.3 Managing Acoustic Signal
© Fluent Inc. 2006-09-20