|
[Sponsors] |
March 14, 2012, 02:00 |
gmshToFoam warning messages
|
#1 |
Member
Join Date: Feb 2012
Posts: 57
Rep Power: 14 |
Hi guys,
I have just generated my own mesh to use in the bubbleFoam, bubbleColumn tutorial in OF2.0.1. I wanted to try and play around with the geometry in the tute so that I can get some preliminary 2d results from which to build a model.. I have generated the mesh in gmsh and copied it into the case directory. I then ran gmshToFoam from the case directory to convert the mesh to OpenFOAM and I get the following 2 warning messages: --> FOAM Warning : From function polyMesh:: polyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 614 Found 3041 undefined faces in mesh; adding to default patch. Finding faces of patch 0 Can someone please shed some light on the possible causes of such an error? Kind Regards Matt |
|
March 14, 2012, 04:55 |
|
#2 |
Member
Join Date: Feb 2012
Posts: 57
Rep Power: 14 |
I had a look at the statistics for the mesh generated in gmsh, the .msh file and the foam terminal output..
I can see that the .msh file has 4456 elements listed under the $Elements tag yet in stats there are only 1448 prisms... What other elements does the $Elements tag include?? It is clear that this is where the error is coming from ie the 3008 (4456-1448=3008) undefined faces!!!! Can someone shed some light on this?? Thanks Matt |
|
March 14, 2012, 06:03 |
|
#3 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
EDIT: I just saw your screenshot with the extra information and removed my previous answer to avoid misleading you, sorry :-)
Out of curiosity, have you visualized these defaultFaces in paraFoam? what do they look like? do they really belong to your boundary? Also, I think that the 2D elements (i.e. faces of each 3D element) such as the triangles and quads are also counted in 4456, right? |
|
March 14, 2012, 07:13 |
|
#4 |
Member
Join Date: Feb 2012
Posts: 57
Rep Power: 14 |
Yes I think the 4456 elements listed in the .msh file under the $Elements tag includes 2d elements ie triangles and quadrangles (2896 and 112 respectively) ie it is these faces that are not being defined... It seems that the gmshToFoam utility is reading the element faces which are listed in the .msh file as well as the 3d elements.
I have visualized the resultant foam mesh in parafoam and it seems ok to me.. I run the solver on the mesh and everything seems fine it's just that the error blows up and the solver crashes prior to finishing for all time steps set in controlDict.. I don't think so but maybe the mesh is having something to do with this? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 10:05 |
Caffa 3D code | Waliur Rahman | Main CFD Forum | 0 | May 29, 2018 00:53 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 10:20 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |