CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Gambit meshing error (

jx October 11, 2003 18:21

Gambit meshing error

I am trying to meshing a simple cubic geometry with a solid block in the middle. The solid part is a short cylinder with round edges, see here for a show,

I have no problem in creating both volumes (I created the solid volume and a big cubic volume first, then substracted the solid volume from the big one, with both volumes retained, and finally deleted the redundant the big cubic volume). The problem cames when I tried to mesh the volumes after edge meshing.

Meshing the solid volume went fine. Only meshing the surrounding fluid volume got problem. I understand that some edges and faces are physically only one but are used twice in the database for building up the two volumes, and am sure that I meshed all edges correct.

The problem seems that a face to make up the fluid volume is broken during meshing it. See and for a idea of my description, and,,,, furher show the details about the problematic face.

I really don't know how the face broke. It was fine when I made up volumes.

Any idea that I can fix it?


jx October 11, 2003 18:24

Re: Gambit meshing error
Forgot to mention that I am using GAMBIT v2.04, not the newest v2.1. Thanks.

calogero October 14, 2003 03:32

Re: Gambit meshing error
Hi Jx! what is the error message you get from GAMBIT?

jx October 16, 2003 15:56

Re: Gambit meshing error
Calogero, thanks for your input.

The error message in Gambit reads:

ERROR: TG_Mesh_Domain failed with error code 1. ERROR: Tetrahedral meshing has failed for volume FluidArea. This is usually caused by problems in the face meshes. Check the skewnesses of your face meshes and make sure the face mesh sizes are not too large in areas of samll gaps

Thanks for further suggestions!

jh October 17, 2003 04:01

Re: Gambit meshing error
Looks that the spheric face is almost tangent to the block face. This is a problem even if you write codes to generate mesh for this kind of geometry.

You should do some modification and make the angle between 2 faces at least a few degrees.

Good luck.

venugopal October 18, 2003 01:49

Re: Gambit meshing error
Haai, I have one idea, if you want you can proceed by this way. After substracting the two volumes by retaining them, first you connect the faces which are common, I mean connect the face at the interface of the solid and fluid regions. After doing this you give edge mesh. I think it will not give problem. Send me reply if it is working. Venu gopal IIT Madras Chennai

jx October 21, 2003 07:05

Re: Gambit meshing error
Thank you, Venugopal,

I now can mesh the volumes after linking the interfacial faces as you suggested.

However, a new problem comes up, which is not quite related to this meshing difficulty: I could not couple the interfacial faces in FLUENT as they are physical two sets of faces.

In my previous experience, I created volumes by stitching surrounding faces in GAMBIT. Then after import the mesh to FLUENT, I got shadowed boundaries. I could couple the original boundaries and their shadowed ones as thermal conditions.

While in this case, I created the volumes by substracting two relevant volumes (with retain option). This physically leaves two sets of faces at interfacial surfaces. From FLUENT GUI, I see I have to set seperate thermal boundary conditions for them, which is not appropriate for my case.

What should I do? Thanks for further suggestions.

caloggero October 22, 2003 07:28

Re: Gambit meshing error
Hi jx! I'm not sure i've understoud what you've said. bt anyway, It happens to me when i DIDN'T link the doubled faces (resultting from substracting volumes) that when i specify the boundaries for the meshed faces in GAMBIT. this latter doesn't tak ein account the doubles faces!!! and it gives me bad import in FLUENT. so, if this is your case, i advise you to link all the faces, or delete the doubled faces (with the unused (unmeshed) volumes. then you specify the boundary type for each face and/or volume. wish it could help :)

jx October 22, 2003 10:52

Re: Gambit meshing error
Hi, Caloggero,

Thanks for your time.

Yes, I *did* link the faces at the interfacial area before I meshed the volumes. I could see if I did not link them, I would have different face meshing within those faces; and the face meshing turned to be identical on both faces comprised of the solid volume and ones comprised of the fluid volume, only if I linked two sets of faces.

I'd address again that this way I had physically two sets of faces at the common area: one set is part of solid volume surface and the other is part of fluid volume surface. They are different boundaries after being imported into FLUENT, and I can *not* couple them as thermal conditions

The attempt to directly delete one set of the faces will fail because it complains there exist "upper" geometrical components. Aactually a solid or fluid volume is built up on top of them.

What I did to work around this problem is to remove one of the volumes in GAMBIT, say, the fluid volume. This removed all entities that made up the fluid volume, including vertices, edges, outer faces and one set of interfical faces. I then regenerated some vertices, edges, outer faces. Finally I stitched the outer faces and the remained interfacial faces to form the fluid volume again. The geometry now only contains one common set of faces shared by both volumes. FLUENT created shadowed faces accordingly while importing the mesh.

Obviously you see the work around is inconvenient, especially if the surfaces of the volume other than the common faces are also geometrically complicated.

Therefore the prefered solution would be joining the two sets of faces into one and keeping the volumes, either in GAMBIT before mesh export, or in FLUENT after mesh import. But I don't know how to do this. I'll apprecate if someone has a better idea.

Thanks again.

cfdproject April 3, 2009 19:17

I am trying to mesh the continuum between fins..However every time I do it I get error saying perturb nodes and try again.Can Anybody help me

esicia May 21, 2009 08:27

Volume Mesh in Gambit
I also have similar problems when meshing a volume in Gambit. I modified the gemoetry and reduce the maximum skewness to 0.54 but the Gambit still doesn't accept the Volume mesh, I realy get confused by this problem.

TG_Mesh_Domain failed error code 1

at tha last I have to divide the volume in two part( inside the chamber, outside the chamber) but i encounter to new problem when I export the mesh file and check the grid in Fluent. I want to model the flow coducting through the outside of the chamber and I can not connect this two part continuously.

is there any suggestion? thanks for your Help.

Have a good time

kdrbrk May 26, 2009 10:35

Same problem
A have the same problem, please help !
I am sure that mesh size is not the reason because I am meshing a 20 metre boat with 25mm mesh size. The boat is almost completely yellow because of mesh.
Only thing that I suspect is, there is a very very small face that gambit recognizes, lets say 0.1mm wide and 100mm long, rectangular face.

Can it be the problem?
Edit: I found the problem:

There is a very little surface, which was previously generated in catia in order to close a little opening. after editing in catia and removing that surface, problem resolved.

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