CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Problem in gmsh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 13, 2013, 18:12
Smile Problem in gmsh
  #1
Member
 
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 4
DineshramBalaji is on a distinguished road
Hi,

I am trying to convert the gmesh file to foam file. But i am getting the following statement.


--> FOAM Warning : Not using gmsh face 4(154822 28524 28525 154823) since zero vertex is not on boundary of polyMesh

Can someone tell, how to correct it?
DineshramBalaji is offline   Reply With Quote

Old   June 15, 2013, 11:31
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Dinesh,

According to the warning message, it looks like there is a face on the original mesh that is not on the boundary mesh (i.e. surface mesh). It's possible that you have a zero-thickness cell somewhere in your mesh and OpenFOAM does not like that.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 16, 2013, 15:12
Default
  #3
Member
 
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 4
DineshramBalaji is on a distinguished road
Hi bruno,

Thanks for responding. Is there some way to check the zero thickness spot and rectify it?
DineshramBalaji is offline   Reply With Quote

Old   June 16, 2013, 15:17
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Dinesh,

Doesn't Gmsh have a mesh inspection capability? Try reloading the mesh in Gmsh and search for the point IDs in the list you've gotten:
Quote:
154822 28524 28525 154823
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 16, 2013, 15:28
Default
  #5
Member
 
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 4
DineshramBalaji is on a distinguished road
hi bruno,

Thanks again. But there are two problems.

1. this is just a one warning of nearly 115 warnings I got. So instead of locating the cells, is it better to do something before meshing ?

2. should i modify something in the geo file or should I do something else in the gmesh window?
DineshramBalaji is offline   Reply With Quote

Old   June 16, 2013, 15:32
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Dinesh,

I'm not very familiar with how Gmsh works, but I would suggest that you check the first warning, at least to get an idea of what the problem might be.
Because after that problem is solved, it might solve all of the others or some of them.

Have you checked what Gmsh tells you about the mesh you have? Does it give any warnings on its own?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 16, 2013, 15:36
Default
  #7
Member
 
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 4
DineshramBalaji is on a distinguished road
No. The gmesh works perfectly fine. after I converted it to foam file, I checked the mesh and it says mesh ok.
DineshramBalaji is offline   Reply With Quote

Old   June 16, 2013, 15:40
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
What does the full OpenFOAM checkMesh give you?
Code:
checkMesh -allTopology -allGeometry -constant
If it doesn't give you any problems, I still suggest that you visually check the first face for the given warning in Gmsh and then check in ParaView the OpenFOAM mesh for the same location.

Because if there is no difference between the two, then I guess the warning can be ignored?!
wyldckat is offline   Reply With Quote

Old   June 16, 2013, 15:47
Default
  #9
Member
 
Dinesh Balaji
Join Date: Oct 2012
Posts: 43
Rep Power: 4
DineshramBalaji is on a distinguished road
Hi,

Thanks. Will try that and let u know.
DineshramBalaji is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Problem with geometry. Andrea_85 Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 January 6, 2011 09:34
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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