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

decomposePar -cellDist: Display cellDecomposition in ParaView

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By simrego

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2019, 16:02
Default decomposePar -cellDist: Display cellDecomposition in ParaView
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
I'm just wondering how to import the cellDecomposition file into ParaView.
I want to visualize the decomposition of my fluid domain so I'm using decomposePar -cellDist.

Thanks
Sean95 is offline   Reply With Quote

Old   January 24, 2019, 09:54
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Just open the reconstructed(original) mesh after decomposition. It should be there as a field.
simrego is offline   Reply With Quote

Old   January 24, 2019, 11:45
Default
  #3
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
Hi

When I open ParaView the cellDist field isnt there, reconstructPar gives me this:

Code:
Reconstructing FV fields

    Reconstructing volScalarFields

        p
        nut
        k
        epsilon

    Reconstructing volVectorFields

        U

    Reconstructing surfaceScalarFields

        phi

Reconstructing point fields

No point fields

No lagrangian fields
Sean95 is offline   Reply With Quote

Old   January 24, 2019, 11:51
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Nono. You don't need reconstructPar.
When you decompose with -cellDist, it'll write the cell distribution into the constant folder (maybe 0, I'm not 100% sure but I think into constant). But this list is for the original mesh (not decomposed). So after decomposition you just have to open the original mesh (you don't have to reconstruct), and don't skip the zero time!!! This is important!!! So uncheck this box in paraview. Then you can choose the cellDist in paraview.


And of course you won't see the field during reconstruction because this field is for the reconstructed mesh. So it is already reconstructed (actually it was never decomposed, but i hope you understand what i mean ).
simrego is offline   Reply With Quote

Old   January 24, 2019, 11:56
Default
  #5
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
Ahhh it's working now, I was scratching my head wondering why it wouldn't work.

Thanks
Sean95 is offline   Reply With Quote

Old   November 6, 2021, 01:31
Default
  #6
Member
 
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11
ansab_sindhu is on a distinguished road
Quote:
Originally Posted by Sean95 View Post
I'm just wondering how to import the cellDecomposition file into ParaView.
I want to visualize the decomposition of my fluid domain so I'm using decomposePar -cellDist.

Thanks
How to generate cellDecomposition file in openfoam, I have blockMesh File
ansab_sindhu 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
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 01:56
[OpenFOAM] Paraview display problem jiejie ParaView 4 October 13, 2013 22:29
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 14:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 08:43
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 01:47.