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

[snappyHexMesh] "no base point for face xxx - produces a valid tet decomposition"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2011, 12:57
Default "no base point for face xxx - produces a valid tet decomposition"
  #1
New Member
 
Eugene Katsevman
Join Date: Jun 2011
Posts: 1
Rep Power: 0
eugene.katsevman is on a distinguished road
Hello!
I'm pretty new to OpenFOAM. Now I'm trying to use dsmc solver. Now I'm getting a bunch of dsmcInitialize warnings like that:

--> FOAM Warning :
From function Foam::List<Foam::FixedList<Foam::label, 4> >Foam::Cloud<ParticleType>::faceTetIndices(label fI, label cI) const
in file meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C at line 561
No base point for face 25085, 3(3298 2596 2567), produces a valid tet decomposition.


I've tried to google it, but have no success. Where should I look and what's wrong exactly?

Thanks in advance.
eugene.katsevman is offline   Reply With Quote

Old   February 27, 2012, 00:54
Default
  #2
New Member
 
John Smith
Join Date: Feb 2012
Posts: 4
Rep Power: 14
johnsmith332 is on a distinguished road
I've been having the same problem trying to run dsmc with snappyHexMesh. Has anyone figured this out?
johnsmith332 is offline   Reply With Quote

Old   February 27, 2012, 10:09
Default
  #3
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Hi everybody

Same here with the uncoupledKinematicparcelFoam. I found out that it was very sensitive to the mesh quality at the surface.
I succeed in avoiding the problem with basic meshes. But if your mesh is a bit complex it crashes every time a particle enter a cell whose shape is not so nice. So I don't know what to do.
The problem is that it is crashing the whole calculation, ,not only the individual particle.

Sylvain
Sylvain is offline   Reply With Quote

Old   February 27, 2012, 11:47
Default
  #4
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
I tried to comment the part of the code that makes the code crash in the src/lagrangian/basic.particleI.H

As a result, the calculation doesn't crash any longer, but the code seemed to be caught in infinite loop and the calculation is stuck to one time step.

Means that this piece of code as a purpose after all!!!

Anyone as a solution?

Sylvain
Sylvain is offline   Reply With Quote

Old   February 28, 2012, 02:35
Default
  #5
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Hello John,

I'm trying to figure out why some of my meshes are working well, and why some others not.

I have tried 3 meshes generated with harpoon:

-1 with BL => it crashes, checkMesh told me that there was few cell with skewness but not a big deal
-1 whithout BL but with zero-thickness surfaces => it crashes => checkMesh told me about non-manifold points
-1 wihtout BL and whithout zero-thicknesse => it works => chekmesh reports few celles with skewness

I never had any problem with meshes generated with snappy before. Now I thinking about the zero-thicknesses surfaces which might be a problem (the particles don't know if it hits the above or below of the face?)

Do your mesh contains such surfaces, baffles, or weird BLs
Sylvain is offline   Reply With Quote

Old   February 28, 2012, 15:59
Default
  #6
New Member
 
John Smith
Join Date: Feb 2012
Posts: 4
Rep Power: 14
johnsmith332 is on a distinguished road
The geometry I used was pretty simple: a 3 inch bolt with no thread, so just an extruded hexagon and a cylinder. I've tried changing the mergeTolerance in snappyHexMesh, but nothing happened. I have no idea which tolerance the error is referring to. The only thing I really wrote myself was the snappyHexMeshdict, but then your having the same problem without snappy..
johnsmith332 is offline   Reply With Quote

Old   February 29, 2012, 02:35
Default
  #7
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
hello John,

Thank you for your message. What did checkMesh say when you ran it on your mesh?

I'm pretty convinced that it has something to do with the mesh.
Yesterday I tried to get rid of all the non manifold points on may baffles using mergeOrSplitBaffle utility. But it only delayed the problem to another face.

So I don't know why it is working fine sometimes and not I other cases.

i'm going on with my investigations.
Sylvain is offline   Reply With Quote

Old   February 29, 2012, 11:12
Default
  #8
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Ok, last update!
i ran a calculation on a mesh made by a colleague with snappy. the mesh is far more than ugly, but well, it's working without any problem. So I don't understand.
Sylvain is offline   Reply With Quote

Old   March 2, 2012, 13:40
Default
  #9
New Member
 
John Smith
Join Date: Feb 2012
Posts: 4
Rep Power: 14
johnsmith332 is on a distinguished road
When I run checkMesh is gives me a bunch of ok's with no errors or warnings. However, in the final mesh, checkMesh lists the number of cells of each type, and there are a bunch of each type except tetrahedral, of which there is only 1 which seems strange. Also, in the source code where the error is, it mentions variables like tetFacel_ and tetBasePtI which I assume refers to tetrahedral cells, so perhaps this 1 cell is causing problems.
johnsmith332 is offline   Reply With Quote

Old   March 7, 2012, 12:00
Default
  #10
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Hello John,

i got the problem again today. something weird: the face which makes the run crash belongs to perfect hexa cell located far away from the particles.

I'm puzzled. For all my experiments, the problem arises with meshes from harpoon. Would be my conclusion except from the fact you have problem with snappy also... still I'm not yet confident with meshes from harpoon to OF



Anyone else had this issue before?
Sylvain is offline   Reply With Quote

Old   June 12, 2012, 00:22
Default
  #11
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Helllo,

I also got same error mentioned in first post.

OpenFOAM release notes for 2.0.0 mention that polymesh used must pass test
checkMesh -allGeometry by giving message "Face tets OK" to run the particle case.

You can try running this check on your mesh and check if it fails.

Regards,
-Yogesh

ybapat is offline   Reply With Quote

Old   June 12, 2012, 01:57
Default
  #12
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Thanks Yogesh for your message!

I have checked this morning on my previous case mentioned above. The "Face tets OK" indeed failed on the mesh which was not working. The test is good on the mesh which works.

Conclusion: adding this -allGeometry option allows to anticipate if your Mesh going to crash on Lagrangian simulations.

Thank you very much again Yogesh!
Sylvain is offline   Reply With Quote

Old   June 14, 2015, 23:21
Default
  #13
Member
 
luchen
Join Date: Jul 2011
Posts: 44
Rep Power: 14
luchen2408 is on a distinguished road
hello, sylvain, your conclusion for lagrangian simulation is :
checkMesh -allGeometry before start the simulation, right?
but how can I solve the problem if the fact tets failed? is there any optimization? Thanks
luchen2408 is offline   Reply With Quote

Old   December 10, 2015, 16:41
Default
  #14
New Member
 
Túlio Abreu Cardinal
Join Date: Oct 2015
Location: RS, Brazil
Posts: 3
Rep Power: 10
ThuliumC is on a distinguished road
Hello

I have had a very similar issue when trying to use snappyHexMesh, where I got lot of warnings similar to the ones described and then a warning that further warnings would be suppressed.

By using checkMesh on the base mesh that I generated using blockMesh, I discovered that this base mesh was the issue ("Failed 5 mesh checks."). So I corrected the edges describing the boundary faces in constant/polyMesh/blockMeshDict and checkMesh reported a perfect mesh and snappyHexMesh ran perfectly.


Here is the code I used for running checkMesh. It checks the blockMesh generated mesh, completely, as recommended by Sylvain, and records the output on a text file checkMesh.log:
Code:
checkMesh -constant -allGeometry -allTopology | tee checkMesh.log
Here are the two last warnings by snappyHexMesh just before it was terminated:
Code:
--> FOAM Warning : 
    From function Foam::List<Foam::tetIndices> Foam::polyMeshTetDecomposition::faceTetIndices(const polyMesh&, label, label)
    in file meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C at line 570
    No base point for face 444410, 4(15 16 11025 11024), produces a valid tet decomposition.
--> FOAM Warning : Suppressing any further warnings.
Here is the part of the constant/polyMesh/blockMeshDict that describes the faces:
Code:
boundary
(
    allBoundary
    {
        type patch;
        faces
        (
            (3 7 6 2)
            (0 4 7 3)
            (2 6 5 1)
            (1 5 4 0)
            (0 3 2 1)
            (4 5 6 7)
        );
    }
);
Running OpenFOAM version 2.2.2

Túlio A. C.
ThuliumC 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
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
[snappyHexMesh] crash sHM H25E OpenFOAM Meshing & Mesh Conversion 11 November 10, 2014 11:27
rhoSImplecFoam still having issues! mihaipruna OpenFOAM Running, Solving & CFD 10 August 12, 2012 10:30
interFoam & decomposition method: scotch MacGyver OpenFOAM Running, Solving & CFD 2 May 23, 2012 07:00
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43


All times are GMT -4. The time now is 07:20.