CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Phoenics (
-   -   Phoenic to Paraview (

tommychiu January 5, 2013 02:06

Phoenic to Paraview

Have you used Paraview to view Phoenics computed results?

I've tried last week. It seems work fine when you use unstructured grid in Phoencis.

However, it cannot generate VTK format PHI files when I use structure grid to compute. FYI, I've enable additional VTK interface and STL object before compute.

Appreciated your advice. Cheers!


Wikie May 22, 2013 08:47

Did you run the simulation on parallel solver? Which phoenics version did you use? I also had this problem with an older version of phoenics. In my case the built-in vtk output only worked in sequential mode. I had to start the vtk translator and translate the file by my self. The executable can be found in \phoenics\d_utils\d_windf\d_exes\pho2vtk.exe. The command-line arguments for this program are:

! Command line:
! pho2vtk.exe [-phi:<File>] [-pbcl:<File>] [-b] [-dbg] [-tra] [-i:a/v]
! -phi: - name of PHI file (default = PHI)
! -pbcl: - name of pbcl.dat (default = "pbcl.dat", for Transient - "pbc<phi>")
! -t: - used text format of vtk file (default - binary format)
! -cv: - add cell values to vtk file (default - no)
! -tra[nsient] - work with group files: <phi>* and ctcl*
! -dbg:* - dubug information for all cut cell
! -dbg:X - dubug information for cut cell with IXYZ = X
! -i:a - arithmetical average,
! -i:v - volumetric average (default value)


Ann-Albrecht October 27, 2014 10:17

vtk. file to Paraview
Is it possible to transfer all the objects from Phoenics into Paraview, not only the CFD results, the flow field. i mean such as fan, other equipments and blockages. Thank you for your answer. :)

Wikie October 27, 2014 11:40

Yes, activate the STL output in Phoenics and you can import all objects as stl files in Paraview

Ann-Albrecht October 28, 2014 03:11

Thank you very much Wikie. I am new in using Phoenics. :)

Ann-Albrecht October 28, 2014 06:12

one more question, when i switched on the additional interfaces option, i always got two .vtk files, namely .vtk1 and .vtk2. and the results from them are different. what are the differences between vtk1 and vtk2? which one is more accurate? Thanks! :)

Wikie October 28, 2014 10:38

I'm sorry, I used this output a while ago and it produced just one vtk file for me.
Are you using single or parallel mode?

Ann-Albrecht October 28, 2014 10:53

i found the answer.
In total, two files are involved.
  • vtkcentre.vtk (sometimes as .vtk1)
  • vtkvertex.vtk (sometimes as .vtk2)
Vtkcentre.vtk contains a grid located at the PHOENICS cell centres. The data is the 'raw' PHOENICS data, apart from the velocities which have been averaged from the cell faces to the cell centres. For PARSOL cut cells, the cell centre locations are the centres of the fluid cells. This zone is suitable for plotting vectors, as the vector tails will be in the same location as in the Viewer.

Vtkvertex.vtk contains a grid located at the PHOENICS cell corners. The data has been averaged from the surrounding cell centres for scalars, or cell faces for vector quantities. The values in PARSOL cut cells are those from the fluid cells. Contours plotted from this zone will fill to the edge of the domain as in the Viewer.

detailed info please check out this link:

thank you all the same!

All times are GMT -4. The time now is 23:25.