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

Visualize Mesh with foamToVTK

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2009, 09:35
Default Visualize Mesh with foamToVTK
  #1
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
I'm justing foamToVTK here, since I didn't get paraFoam working. I would like to visualize a simple mesh, which I created using blockMeshDict and blockMesh.

I want to do this before actually computing anything so the only files created are:
constant/polyMesh/blockMeshDict
system/controlDict (blockMesh required this)

So far foamToVTK fails complaining that system/fvSchemes is missing. Any ideas? Could it be done by using the parallel reader?
andrewryan is offline   Reply With Quote

Old   October 4, 2009, 03:42
Default
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Andrew,
Yes the parallel reader can do it, but copying the missing files from any one of the tutorials may be a lot easier solution (besides they are required for running simulations anyway).

Takuya
7islands is offline   Reply With Quote

Old   October 5, 2009, 03:44
Default
  #3
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
Created the files and it worked. However I'm wondering if there is a way to display the patches from blockMeshDict in paraview. Also I wonder whether there is a difference between foamToVTK and paraFOAM. If I just use foamToVTK will it omit some things or do a see exactly the same as when using paraFoam?

Btw: I managed to get paraview compiled with the parallel reader on a Linux machine. I also have a Mac and wonder whether there are any binary plugins for the paraview version from paraview.org (I don't want to compile it again)
andrewryan is offline   Reply With Quote

Old   October 5, 2009, 10:42
Default
  #4
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Hi Andrew,

using foamToVTK, il will create vtk files for internalField and others for patches. If you want to visualize patches in paraview, you have to open yourpachname_timestep.vtk into the pipeline browser in Paraview.

using paraFoam, you can (under linux) select what part of your mesh (internal/patches) and what variables you want to compute. It doesn't really bring more than foamToVTK, except it's faster.

From my experience, I use paraFoam to visualize the results when alone, but foamToVTK when I want to show results in a presentation.

Anyway, I don't know if it's just on my computer, but paraview seems faster when using it on windows instead of linux (BUT it force you to use foamToVTK)

Hoping it's helping you,

Regards
Schag is offline   Reply With Quote

Reply

Tags
foamtovtk, paraview


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
virtual geometry richard FLUENT 4 January 7, 2009 06:16
how to extend FSI 2D codes to 3D, need advises abouziar Main CFD Forum 1 May 30, 2008 05:08
basic of mesh refinement arya CFX 4 June 19, 2007 13:21
How to do Geometry from 3D mesh in ICEM San24 Main CFD Forum 4 August 8, 2005 03:49
General questions on grid-based computing Adrin Gharakhani Main CFD Forum 21 June 5, 2000 14:47


All times are GMT -4. The time now is 17:37.