CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] How to visualize cellset region in OF? (https://www.cfd-online.com/Forums/paraview/131526-how-visualize-cellset-region.html)

CjjJoy March 16, 2014 19:19

How to visualize cellset region in OF?
 
Hello,Foamers,
I'm now using the snappyHexMesh in OF2.3.0.In the checkMesh log, there shows:
<<writing region information to "0.3/cellToRegion"
<<writing region 0 with 1437789 cells to cellset region0
<<writing region 1 with 1 cells to cellset region1
.
.
(folder 0.3 is the mesh with the layer added mesh.)There is a cellToRegion file in the 0.3 fold.
could anyone tell me how to visualize these cellset region?
Thank you so much!

wyldckat March 23, 2014 16:47

1 Attachment(s)
Greetings CjjJoy,

Either use foamToVTK:
Code:

foamToVTK -cellSet region0
where "region0" is the name of the desired cellSet. Then open the respective file located somewhere inside the folder "VTK".

Or use the "Include sets" option and select the desired sets from the "Mesh parts", as partially shown in the attached image.

Best regards,
Bruno

CjjJoy March 25, 2014 13:50

Thank you so much. Problem is solved now.:D
Quote:

Originally Posted by wyldckat (Post 481653)
Greetings CjjJoy,

Either use foamToVTK:
Code:

foamToVTK -cellSet region0
where "region0" is the name of the desired cellSet. Then open the respective file located somewhere inside the folder "VTK".

Or use the "Include sets" option and select the desired sets from the "Mesh parts", as partially shown in the attached image.

Best regards,
Bruno


afrotimy December 20, 2016 22:42

Quote:

Originally Posted by wyldckat (Post 481653)
Greetings CjjJoy,

Either use foamToVTK:
Code:

foamToVTK -cellSet region0
where "region0" is the name of the desired cellSet. Then open the respective file located somewhere inside the folder "VTK".

Or use the "Include sets" option and select the desired sets from the "Mesh parts", as partially shown in the attached image.

Best regards,
Bruno

Hi,

Please what version of Paraview has this function ? I noticed that this function is not available in all version.

wyldckat December 22, 2016 10:10

Quote:

Originally Posted by afrotimy (Post 630664)
Please what version of Paraview has this function ? I noticed that this function is not available in all version.

Quick answer: If you're using the native/built-in reader that ParaView has got (opens with the file extension ".foam"), it does not have this feature. It only works with 'zones', not with 'sets'.

If you use the reader that OpenFOAM or foam-extend build for ParaView (opens with file extension ".OpenFOAM"), then you should see that option since at least OpenFOAM 1.5 and the same for the respective foam-extend fork (back then named OpenFOAM 1.5-dev).


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