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!
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)
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. :)
Yes, activate the STL output in Phoenics and you can import all objects as stl files in Paraview
Thank you very much Wikie. I am new in using Phoenics. :)
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! :)
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?
i found the answer.
In total, two files are involved.
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:http://www.cham.co.uk/phoenics/d_pol...326/vr-env.htm
thank you all the same!
|All times are GMT -4. The time now is 10:50.|