CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How can view a separated mesh after separation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2017, 01:07
Default How can view a separated mesh after separation
  #1
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello everybody!

I hope that I am asking my question in the right place...

Well, I have a simulation with large number of cells and I want to calculate my simulation in parallel.

Steps made are:

- blockMesh
- snappyMesh
- decomposePar (lets say on 2 processors)
- paraFoam: for viewing the mesh

My challange is how to view the cells that belong to every processor separately in paraView?

I want to see which cells belong to which processor!

Is that possible at all?

paraFoam reads the mesh generated by snappyMesh as one block and ignores the separation.

Any suggestions?

Thanks for every help

Peter

Last edited by peterhess; November 24, 2017 at 17:35.
peterhess is offline   Reply With Quote

Old   November 24, 2017, 16:35
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

After decomposition, in general you have processor* folders, which contain mesh and fields for given processor (i.e. partial case). So you can do something like:

Code:
$ for i in processor*; do cd $i && touch $i.foam && cd ..; done
Then open these files in paraview and use different colours for every file.
alexeym is offline   Reply With Quote

Old   November 24, 2017, 17:44
Default
  #3
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello alexeym!

Thanks a lot for the Answer.

That is exactly what I want.

It works.

Regards

Peter
peterhess is offline   Reply With Quote

Reply


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
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 15:15
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 07:05
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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