CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] How to visualize cellset region in OF?

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

Like Tree15Likes
  • 8 Post By wyldckat
  • 1 Post By CjjJoy
  • 6 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
Rep Power: 12
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 1113 views)
saadat66, Rojj, t.oliveira and 5 others like this.
__________________
wyldckat is offline   Reply With Quote

Old   March 25, 2014, 14:50
Default
  #3
New Member
 
jingjing cao
Join Date: Dec 2013
Posts: 15
Rep Power: 12
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
SHANRU likes this.
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: 12
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 07:51
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 05:10.