CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Phoenics

Phoenic to Paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By Wikie
  • 1 Post By Ann-Albrecht

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2013, 02:06
Default Phoenic to Paraview
  #1
New Member
 
T.Z
Join Date: Jun 2012
Location: Singapore
Posts: 3
Rep Power: 13
tommychiu is on a distinguished road
Guys,

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!

Tommy
tommychiu is offline   Reply With Quote

Old   May 22, 2013, 09:47
Default
  #2
Member
 
Roman Gobitz-Pfeifer
Join Date: Dec 2009
Location: Stuttgart
Posts: 83
Rep Power: 16
Wikie is on a distinguished road
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)


cheers
wikie


Wikie is offline   Reply With Quote

Old   October 27, 2014, 10:17
Default vtk. file to Paraview
  #3
New Member
 
Ann
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Ann-Albrecht is on a distinguished road
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.
Ann-Albrecht is offline   Reply With Quote

Old   October 27, 2014, 11:40
Default
  #4
Member
 
Roman Gobitz-Pfeifer
Join Date: Dec 2009
Location: Stuttgart
Posts: 83
Rep Power: 16
Wikie is on a distinguished road
Yes, activate the STL output in Phoenics and you can import all objects as stl files in Paraview
Ann-Albrecht likes this.
Wikie is offline   Reply With Quote

Old   October 28, 2014, 03:11
Default
  #5
New Member
 
Ann
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Ann-Albrecht is on a distinguished road
Thank you very much Wikie. I am new in using Phoenics.
Ann-Albrecht is offline   Reply With Quote

Old   October 28, 2014, 06:12
Default
  #6
New Member
 
Ann
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Ann-Albrecht is on a distinguished road
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!
Ann-Albrecht is offline   Reply With Quote

Old   October 28, 2014, 10:38
Default
  #7
Member
 
Roman Gobitz-Pfeifer
Join Date: Dec 2009
Location: Stuttgart
Posts: 83
Rep Power: 16
Wikie is on a distinguished road
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?
Wikie is offline   Reply With Quote

Old   October 28, 2014, 10:53
Default
  #8
New Member
 
Ann
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Ann-Albrecht is on a distinguished road
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:http://www.cham.co.uk/phoenics/d_pol...326/vr-env.htm


thank you all the same!
Wikie likes this.
Ann-Albrecht is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Paraview launch & crash problems dancfd ParaView 3 January 17, 2013 13:04
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 03:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 21:44
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 13:59


All times are GMT -4. The time now is 04:06.