|
[Sponsors] |
How to compute contours in oepnFOAM using VTK |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2005, 00:35 |
In the code of my solver(not f
|
#1 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
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. |
|
April 19, 2005, 08:50 |
Hi,everybody.
How can I ac
|
#2 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
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. |
|
April 19, 2005, 09:00 |
foamToVTK?
If you want to i
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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!) |
|
April 19, 2005, 09:56 |
Btw, the utility 'paraFoam' is
|
#4 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
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? |
|
April 19, 2005, 10:24 |
I think you will find it much
|
#5 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
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.
|
|
April 19, 2005, 10:43 |
Hi,Eugene de Villiers and ever
|
#6 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
Hi,Eugene de Villiers and everyone. What is the easy way to meet my demand?
|
|
April 19, 2005, 12:12 |
I didnt say easy, I said easie
|
#7 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
I didnt say easy, I said easier.
What exactly do you want to accomplish by calculating the contours of the flow field anyway? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to compute non zero in fem | ztdep | Main CFD Forum | 7 | September 27, 2008 11:27 |
how to compute this? | phsieh2005 | Main CFD Forum | 3 | September 25, 2007 09:25 |
Contours | Sangeeta | FLUENT | 11 | January 31, 2007 01:16 |
How to compute this! | ztdep | Main CFD Forum | 1 | June 25, 2006 22:33 |
Compute From | co2 | FLUENT | 3 | December 28, 2003 10:51 |