In the code of my solver(not f
In the code of my solver(not for postprocessing), I want to compute the contours of the flow field(e.g. pressure or velocity). I knew that VTK has vtkContourFilter and vtkMarchingCube for contour computing. How can I do it with these two classes?
Thank all. |
Hi,everybody.
How can I ac
Hi,everybody.
How can I achieve the special mesh and field values needed by VTK? I want to use them for further contour computing using VTK. Thanks. |
foamToVTK?
If you want to i
foamToVTK?
If you want to interface directly to VTK have a look at the Paraview reader module $FOAM_UTILITIES/postProcessing/graphics/PVFoamReader/vtkFoam/ (not trivial though!) |
Btw, the utility 'paraFoam' is
Btw, the utility 'paraFoam' is only a simple script which can be found in 'OpenFOAM-1.1\bin'.
Then in which way are the mesh and flow field convered to the datatype needed by paraView? |
I think you will find it much
I think you will find it much easier to add whatever functionality you need to foam instead of trying to use non-native vtk libraries. There is allready some isoSurface stuff hidden in the OpenFOAM source, you just need to dig it up.
|
Hi,Eugene de Villiers and ever
Hi,Eugene de Villiers and everyone. What is the easy way to meet my demand?
|
I didnt say easy, I said easie
I didnt say easy, I said easier.
What exactly do you want to accomplish by calculating the contours of the flow field anyway? |
All times are GMT -4. The time now is 17:37. |