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

[OpenFOAM] Visualising CellLevels in Paraview

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2016, 05:32
Question Visualising CellLevels in Paraview
  #1
New Member
 
Martin
Join Date: Oct 2013
Location: Newcastle
Posts: 21
Rep Power: 11
mahtin360 is on a distinguished road
Hello,

I've had a look around the forum but cant find anything on how to show the visualise the refinement levels of the mesh in Paraview.

I use snappyHexmesh with many refinement levels and would like to show levels (hence cell size/volumes) in paraview.

Does anyone know a good way of achieving this?

Many thanks,
Martin
mahtin360 is offline   Reply With Quote

Old   March 7, 2023, 16:31
Default Visualizing Mesh Refinement Levels after Parallel Decomposition
  #2
New Member
 
Join Date: Jun 2019
Location: United States
Posts: 14
Rep Power: 5
ryanc6 is on a distinguished road
Martin,



Hello! I hope all is well. It seems this is a late reply, but hopefully this response can help any future individuals who have the same question.



I typically run snappyHexMesh in parallel, and then reconstruct with the reconstructParMesh command. I also run reconstructPar afterwards and that should reconstruct the mesh fields. You can then open the mesh in paraview and visualize the cell levels as you would any other field value such as p, U, etc.



Below is typically what I run when creating a mesh. I hope this helps!



Code:
mpiexec_mpt -n 1 surfaceFeatureExtract |tee surface.out
mpiexec_mpt -n 1 blockMesh |tee blockMesh.out
mpiexec_mpt -n 1 decomposePar -force |tee decomposePar.out
mpiexec_mpt -n 36 snappyHexMesh -parallel |tee shm.out
mpiexec_mpt -n 1 reconstructParMesh -constant -fullMatch |tee reconstructParMesh.out
mpiexec_mpt -n 1 reconstructPar -constant |tee reconstructPar.out
mpiexec_mpt -n 1 checkMesh |tee checkMesh.out
ryanc6 is offline   Reply With Quote

Reply

Tags
celllevel, paraview, snappyhexmesh 3d

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
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 00:56
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release FJSJ OpenFOAM Installation 2 July 23, 2017 05:48
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 02:32
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


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