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

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: 5
Rep Power: 3
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: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 32 views)
wyldckat is offline   Reply With Quote

Old   March 25, 2014, 14:50
Default
  #3
New Member
 
jingjing cao
Join Date: Dec 2013
Posts: 5
Rep Power: 3
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

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 65 August 16, 2015 14:34
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 10:55.