Visualize Mesh with foamToVTK
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:
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?
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).
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)
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,
|All times are GMT -4. The time now is 05:21.|