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

paraview not from openfoam's thirdparty

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2013, 15:54
Question paraview not from openfoam's thirdparty
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
hz283 is on a distinguished road
Hi All,

If I did not use the paraview installed from theirdparty (cannot do it through paraFoam command), instead of the local computer's one, I always first convert the Openfoam results to VTK results (foamToVTK) and then open them through the VTK format. However, I found that this is not a good method because if the openfoam data are large, it will take a long time to convert. Is there better method to open the openfoam results using the local computer's paraview? Thank you very much.
hz283 is offline   Reply With Quote

Old   April 11, 2013, 16:04
Default
  #2
New Member
 
Abdulhaq
Join Date: Oct 2012
Posts: 27
Rep Power: 13
aljazari is on a distinguished road
Quote:
Originally Posted by hz283 View Post
Hi All,

If I did not use the paraview installed from theirdparty (cannot do it through paraFoam command), instead of the local computer's one, I always first convert the Openfoam results to VTK results (foamToVTK) and then open them through the VTK format. However, I found that this is not a good method because if the openfoam data are large, it will take a long time to convert. Is there better method to open the openfoam results using the local computer's paraview? Thank you very much.
You can run the following:

Quote:
paraFoam -builtin
This will use the built-in OpenFOAM reader in ParaView.

If however, you are using a new version (say 3.98), you can run the following:

Quote:
paraFoam -builtin -touch
This will create a .foam file which you can open in a newer ParaView version.
aljazari is offline   Reply With Quote

Old   April 12, 2013, 11:53
Default
  #3
New Member
 
Emanuele Leggio
Join Date: May 2009
Posts: 11
Rep Power: 16
nanes is on a distinguished road
ParaFoam is a bash script, the main operations that does paraFoam is to create an empty file with ".foam" extension and than run paraview --data=file.foam.

From this my very simple tip is to create an empty file in the folder of openfoam's case with the extension ".foam", the name in not important (e.g. foo.foam; pippo.foam) and than open this file with paraview.
Paraview can read reconstructed case and decomposed case. This last thing is very important!!
nanes is offline   Reply With Quote

Old   April 12, 2013, 12:10
Default
  #4
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
hz283 is on a distinguished road
Aha, Your suggestions work well! Thank you so much!

Quote:
Originally Posted by nanes View Post
ParaFoam is a bash script, the main operations that does paraFoam is to create an empty file with ".foam" extension and than run paraview --data=file.foam.

From this my very simple tip is to create an empty file in the folder of openfoam's case with the extension ".foam", the name in not important (e.g. foo.foam; pippo.foam) and than open this file with paraview.
Paraview can read reconstructed case and decomposed case. This last thing is very important!!
hz283 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
how to disable paraview in ThirdParty phsieh2005 OpenFOAM Installation 2 March 27, 2013 20:36
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 03:32
[OpenFOAM] Distributed ParaView and PV3FoamReader micalil ParaView 4 July 1, 2010 06:09
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 12:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 19:41.