CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

How to visualize cellset region in OF?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   March 16, 2014, 20:19
Question How to visualize cellset region in OF?
  #1
New Member
 
jingjing cao
Join Date: Dec 2013
Posts: 9
Rep Power: 6
CjjJoy is on a distinguished road
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!
CjjJoy is offline   Reply With Quote

Old   March 23, 2014, 17:47
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,036
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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
Attached Images
File Type: jpg Screenshot from 2014-03-23 21:45:57.jpg (37.2 KB, 163 views)
t.oliveira likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 25, 2014, 14:50
Default
  #3
New Member
 
jingjing cao
Join Date: Dec 2013
Posts: 9
Rep Power: 6
CjjJoy is on a distinguished road
Thank you so much. Problem is solved now.
Quote:
Originally Posted by wyldckat View Post
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 is offline   Reply With Quote

Old   December 20, 2016, 23:42
Default
  #4
Member
 
Francis
Join Date: Jan 2014
Location: Toronto
Posts: 50
Rep Power: 5
afrotimy is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
afrotimy is offline   Reply With Quote

Old   December 22, 2016, 11:10
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,036
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quote:
Originally Posted by afrotimy View Post
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).
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 06:07
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 14:12
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


All times are GMT -4. The time now is 23:06.