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

Snappyhexmesh is created but in paraview I can only see the blockmesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By aadicfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2023, 18:54
Default Snappyhexmesh is created but in paraview I can only see the blockmesh
  #1
New Member
 
Atefeh T
Join Date: Jan 2023
Posts: 6
Rep Power: 3
Atefeh T is on a distinguished road
Hey guys,
I managed to successfully create the blockmesh and snappyhexmesh. I also checked the mesh using the command checkmesh afterwards, but when I want to see the mesh in paraview using the commands, paraview or paraFoam I get this error : patch type 'patch' not constraint type 'empty' for patch frontAndBack of field p_rgh in file "/opt/Mycases/CaseTestV3/0/p_rgh"
but when I use this command: paraview -builtin the paraview opens but it only shows me the blockmesh created and not the snappyhexmesh.
Please if anybody can help tell me how can I see my 3D mesh in paraview?

p.s. for one the surfaces in blockmeshdict I put the type "patch" but for the same surface in folder 0 in constant the type is "empty" because I dont want to do the CFD on that direction. I dont know if that is the cause of the problem!
Atefeh T is offline   Reply With Quote

Old   February 5, 2023, 13:02
Default
  #2
New Member
 
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5
aadicfd is on a distinguished road
Make sure that the blockMesh encloses the object/model/volume completely.

I am facing similar problem, Earlier I could not see snappyHexMesh at all, but then I re-created the whole setup again and made sure the reference point was inside the correct region. It did show the snappyHexMesh but now it is in the wrong region. I have posted the question here last month but I am still waiting for reply.

One thing that I noted was that Paraview works on different units as compared to the CAD softwares, so to verify that your object is indeed inside blockMesh, open the .stl file of volume and the block mesh and confirm that blockMesh encloses the volume completely.

And if someone knows the issue with my case, please let me know as well. You can find the issue here snappyHexMesh and blockMesh not creating mesh in correct region.


I hope this helps.



Cheers!
Atefeh T likes this.
aadicfd is offline   Reply With Quote

Old   February 8, 2023, 09:45
Default something silly
  #3
New Member
 
Javier
Join Date: Nov 2022
Posts: 7
Rep Power: 3
joco is on a distinguished road
Hi!
Since I'm a newbie, this might sounds silly. When I open parafoam I only see the background mesh. If I want to see the finer mesh, I select "Clip", which is like cutting the background, this allows me to se the "inside" of the mesh, and I can see the finner mesh.

I mention this just in case.
Best wishes
/Joc
joco is offline   Reply With Quote

Old   February 11, 2023, 05:11
Default
  #4
New Member
 
Matteo
Join Date: Feb 2022
Location: Italy
Posts: 4
Rep Power: 4
Teus_po is on a distinguished road
Quote:
Originally Posted by Atefeh T View Post
p.s. for one the surfaces in blockmeshdict I put the type "patch" but for the same surface in folder 0 in constant the type is "empty" because I dont want to do the CFD on that direction. I dont know if that is the cause of the problem!
Hi Atefeh, I think this is exactly your problem, if the type of the patch is "patch", as you put in the blockMesh, it cannot have a "empty" boundary condition in the 0 folder
Teus_po is offline   Reply With Quote

Reply

Tags
openfoam, paraview, snappy hex mesh


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
snappyHexMesh not removing desired portion of blockMesh siefer92 OpenFOAM 2 July 18, 2019 14:26
[Gmsh] gMsh instead of blockMesh for base mesh, then snappyHexMesh sazabi2001 OpenFOAM Meshing & Mesh Conversion 0 February 23, 2017 12:00
[blockMesh] blockMesh from scratch - how to visualize it on Paraview? Lisandro Maders OpenFOAM Meshing & Mesh Conversion 3 September 11, 2015 09:34
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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